Commit Graph

5 Commits

Author SHA1 Message Date
rozenmad
edab2be4c7 Added grid span feature, fixes
- Grid span feature
- Added offset from parent to update each element (for correct positioning relative to each parent)
- OnClick event rework
- Multichoice: new function GetChoiceIndex
- Added positioning of items in the grid using the align parameter in AddItem
- Correct positioning of multichoice-arrow image
- Fixed stencil test for list
- Fixed a bug that can trigger OnClick events again, even if the mouse cursor is not already hovering over the object
- Fixed a bug where "backspace" leads to an incorrect positioning of the entry if the text is overflowed 'textinput' element
2021-09-05 20:46:49 +03:00
Centauri Soldier
5e86bbb0b6 Added State Change Callback Functions
Each state now has an OnOpen and OnClose callback function. These are available to be set by the client but not required. If not set, they will be ignored.
2021-04-07 12:52:43 -07:00
João Lopes
cde31673a1 String functions len, sub, gsub, find replaced with utf8 versions 2020-04-28 17:55:30 +01:00
Kristopher Neidecker
58b61b6f71 Removed "lmeta" "rmeta" check for keyboard in utils which crashed MacOS
There is no "lmeta" and "rmeta" constants I can find in Love2D (https://love2d.org/wiki/KeyConstant) and the check for those keys caused the gui to crash on MacOS. Simply checking for lgui and rgui is enough for MacOS Command key.
2019-03-17 13:05:58 -04:00
João Lopes
bdb8b6c606 Prepare 11.2 2019-03-06 23:19:58 +00:00