Update 2024.07.09


  • Added LuiMain to separate logic, fix bugs and memory leaks. Now when creating a UI, LuiMain should be created initially instead of LuiBase.
  • Added main surface of the entire ui, updated as needed
  • Added setName() function to set a unique name for an element
  • Added getElement(_name) function to get an element by its unique name
  • Added name arguments for LuiButton, LuiCheckbox, LuiDropDown, LuiDropDownItem, LuiProgressBar, LuiSlider, LuiSprite, LuiSpriteButton, LuiTab, LuiText, LuiTextbox
  • Added isInteracting() function for the main UI element (Returns true if the UI is mouse-over or keyboard input is used).
  • Added isInteractingMouse() function
  • Added isInteractingKeyboard() function
  • Added onFocusSet() method
  • Added onFocusRemove() method
  • Added onMouseWheel() method
  • Added onKeyboardInput() method
  • Added onKeyboardRelease() method
  • Added onMouseEnter() method
  • Added onMouseLeave() method
  • Added onValueUpdate() method
  • Added onShow() method
  • Added onHide() method
  • Added scale_to_fit argument for LuiText
  • Added default_min_width and default_min_height to styles
  • Added sprite_dropdown_item, sprite_dropdown_item_border, sprite_dropdown_arrow and color_dropdown_arrow to styles
  • Changed LuiDropDown view
  • Changed the order of arguments in LuiTabGroup
  • Changed the order of arguments for all elements so that the beginning of arguments is always x,y,width,height,name,...
  • Changed DEMO project
  • Renamed all functions to camelCase type
  • Renamed variable global.LUI_DEBUG_MODE to global.lui_debug_mode
  • Removed get_absolute_x and get_absolute_y functions, x y values of the element are now used instead
  • Removed other unused code
  • Fixes
  • Optimization

Get Lime.UI

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.