This changes TextInputNode to work similarly to GD.
Notable additions:
Added delegates
I just guessed how it worked so it probably works differently on GD.
Changed how text input is displayed
Instead of directly displaying the text field, it's contents are now mirrored on a label. The label is only added if a non-empty string is provided for the font parameter in the create function, which can be useful for layers that use other means to display the contents.
This changes TextInputNode to work similarly to GD.
Notable additions:
Added delegates I just guessed how it worked so it probably works differently on GD.
Changed how text input is displayed Instead of directly displaying the text field, it's contents are now mirrored on a label. The label is only added if a non-empty string is provided for the
font
parameter in the create function, which can be useful for layers that use other means to display the contents.Added cursor