A set of modules that help you make an extensible set of UI controls for LÖVE.
[CHANGED] Utf8 going third-party (utf8.lua)
[ADDED] focused property :bool true if control is focused
[ADDED] isFocused return focused property :bool
[ADDED] getId: returns control id.
[ADDED] Label: can be set by the dev for debug purposes.
[BUG] Fixed assets issue in Control when extending from a Control sub_class.
ADDED[Manager][Control] Ability for a control to notify the parent when *Any event.
[FIXED] Bug in assert when we create a Control instance.
* commit: c179e9f
[ADDED][Manager][Control] floats up a control when clicked && when makeTopWhenClicked flag is true.
* funcs : setMakeTopWhenClicked | getMakeTopWhenClicked | makeTop | rollBackDepth
* Note : if for some reason you don't want to set the flag and let the Manager handle the depth
you can call makeTop where needed but make sure to call rollBackDepth on the control when unfocused.
* commit: e2f926b
[ADDED][Manager][Control]
* issue : The Frame is not focused when created.
* solution :
- focusEnabled: flag to turn off/on the UI_FOCUS event for a control.
* We set focusEnabled to false for the button control that intialts the Frame in its onClick cb.
* We force the frame to focus using UI_ON_ADD event cb.
MeowUI.manager\setFocus(@) @onFocus! -- To switch the toolbar Color
[FIXED][Manager][Control]
* issue : When we notify the parent that teh child has dispatched an event we dispatch the parent event also
and that caused some problems. For example when the child is Focused the parent dispatch the same event
since it gets notifyed and it becomes the focused ctrl instead of the child.
* solution :
ALPHA -> commit: 77f0c70
STILL NEEDS TESTS.