Releases: LemonUIbyLemon/LemonUI
Releases · LemonUIbyLemon/LemonUI
1.8
- NEW: The
Process()
andRecalculate()
functions ofNativeMenu
are now virtual, making them overridable - NEW: Added
BackgroundColor
andForegroundColor
properties to change the colors of the bars used in theNativeStatsPanel
- NEW: Added
MenuModified
event toNativeMenu
s that is triggered when an item is added or removed from a menu - NEW: Added
SubtitleBehavior
property toNativeMenu
s to customize the behavior of the subtitle and it's background - FIX: Fixed "System.InvalidOperationException: Collection was modified; enumeration operation may not execute." when changing the different items of an ObjectPool
- FIX: Hovered items are no longer shown as such if the player has mouse controls disabled
- FIX: The
SelectedItem
property ofNativeListItem<T>
now correctly sets the item index
1.7
- NEW: Added LemonUI.RageMP.cs file for RageMP Developers
- NEW: Added SliderColor property to set the color of a slider item
- NEW: You can now override the Add function in a NativeMenu (useful to perform Item checks before adding them)
- NEW: Added Fade Out for Big Messages via the FadeOut method
- NEW: Added Pop-up Scaleform (used for Warnings)
- NEW: Added IsHovered property to Items to check when the mouse cursor is over them
- FIX: Added missing background when hovering the menu items
- FIX: Setting the Y value in a grid now works correctly
- FIX: Fixed exception when setting a weapon in a Big Message
1.6
WARNING: This update removes support for ScriptHookVDotNet 2. If you want to keep using LemonUI, please update to ScriptHookVDotNet 3 or continue using version 1.5.2 or older.
- NEW: Added support for RageMP (requires using the classes manually)
- NEW: Added custom color backgrounds for
NativeItem
s - NEW: The
DrawFullScreen
,Draw
andProcess
functions in scaleforms are now virtual - NEW: You can now get and set the Weapon Hash in a
BigMessage
as auint
- FIX: Slidable Arrows now show the correct color from the
ColorSet
associated to it - FIX: Added missing native calls for RPH in
NativeMenu
,BaseScaleform
,InstructionalButtons
andTimerBarCollection
- DEP: Removed support for ScriptHookVDotNet 2
1.5.2
- FIX: The documentation of the Alignment enum is now grammatically correct
- FIX: Descriptions are now correctly updated when the item is hovered
- FIX:
NativeSubmenuItem.Description
now gets correctly updated when theNativeMenu.Description
is changed - OBS: The
BaseScaleform.scaleform
field is now obsolete and it will throw an error when trying to use it
1.5.1
1.5
- NEW: Added extra constructor for NativeSubmenuItem that allows you to set a custom AltText instead of the default >>>
- NEW: Added text font accessors for NativeItem (TitleFont, AltTitleFont) and NativeMenu (TitleFont, SubtitleFont, DescriptionFont, ItemCountFont)
- NEW: Submenus are no longer opened in the next tick
- NEW: Added DrawSpecific(PointF, PointF) function for drawing the specific part of a ScaledTexture
- NEW: Added dynamic Badge support for all items via the BadgeSet class
- NEW: Added dynamic Color support for all items via the ColorSet class
- NEW: Added UpdateColors() function for items, override it if you wish to use the ColorSet via the Colors property
- NEW: Added Clickeable property for Panels, clickable Panels will not be closed when clicked
- NEW: Added NativeGridPanel (the Panel used for selecting facial features in GTA Online)
- NEW: Added "hold down" navigation (allows you to navigate the NativeMenu's by holding the Up or Down keys/buttons)
- FIX: The NativeMenu controls are no longer processed if the user is using the text input prompt
- OBS: The Open() and Close() NativeMenu functions are now obsolete, use NativeMenu.Visible = true|false instead
1.4
- NEW: Ported LemonUI to RagePluginHook, read the Wiki for more information
- NEW: Added BruteForce Hack Scaleform
- NEW: Added functions to BaseScaleform for fetching return values (IsValueReady and GetValue)
- FIX: Menus now check that the index is not under zero (raises exception if inserted manually)
- FIX: The Menus are no longer Recalculated if the Alignment is set to the same value
- FIX: The Alignment of menus can no longer be set to values other than Left and Right
- DEP: The scaleform field of BaseScaleform is deprecated, use the Handle property and manual native calls instead
1.3
- NEW: Added property to completely skip the control disabling procedure (DisableControls)
- NEW: Added list to add controls that are required for the menu operation (RequiredControls)
- NEW: Added event to detect when an item is selected at the menu level (ItemActivated)
- FIX: Fixed Rockstar Editor recordings being stopped when a menu is opened by changing the Whitelist of controls to a Blacklist
- FIX: Some controls required by the game now stay enabled when the menus are open
- FIX: The constructor of SelectedEventArgs is now public instead of internal, this allows users to implement it
1.2
- NEW: Added Dynamic Item (list-like item that allows you to change the object dynamically)
- NEW: The List Item now reports the direction of the item (going either Left or Right, Unknown if neither)
- NEW: Added Tag property for the items (has the same uses as System.Windows.Forms.Control.Tag)
- NEW: Added Statistics panel (the same one used in LSC and Ammu-Nation)
- NEW: Added support for hiding Panels without having to remove them
- NEW: There is now an option to Enable or Disable the behavior of closing the menu when clicking outside of the items
1.1.1
- FIX: Clicking in Menus now behaves correctly like the Interaction Menu (clicking items will Activate or Select them, anywhere else will close the menu)
- FIX: The Left Arrow is now usable for navigating slidable items
- FIX: Added missing setter for the SelectedItem property of NativeMenu