Releases: Limekys/LimeUI
Releases · Limekys/LimeUI
LimeUI 2024.07.09 [ALPHA]
- 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
LimeUI 2024.06.10 [ALPHA]
- Added optimization of interaction with the elements on the grid
- Added checkbox sprites to styles
- Added sprites and colors for ProgressBar and Slider to styles
- Added color for textbox to styles
- Added color for checkbox and checkbox border to styles
- Added checkbox_pin_margin to styles
- Added scroll_surface_offset to styles (array with boundaries to cut off surface)
- Added create() method (Called after adding somewhere)
- Added method pre_draw() (Called before the main drawing)
- Added on_content_update() method (Called every time elements are added)
- Added method clean_up() (Called after the destroy function call)
- Added on_mouse_left() method
- Added on_mouse_left_pressed() method
- Added on_mouse_left_released() method
- Added on_position_update() method
- Added render_content_enabled variable
- Changed LuiScrollPanel renderer to make the code more correct
- Changed logic of adding elements and assigning styles to them
- Changed display of debugging information
- Fixed checkbox drawing
- Fixed tab size calculation
- Fixed drawing of sprites
- Fixed auto addition of elements in a row
- Fixed adding tabs to TabGroup
- Removed color_slider variable in styles (replaced with color_progress_bar_value)
- Optimized code
LimeUI 2024.06.04 [ALPHA]
LimeUI 2024.06.03 [ALPHA]
Fix with visible logic
LimeUI 2024.05.25 [ALPHA]
Update README.md