Skip to content

Releases: LemonUIbyLemon/LemonUI

1.8

25 Jun 12:51
53b549d
Compare
Choose a tag to compare
1.8
  • NEW: The Process() and Recalculate() functions of NativeMenu are now virtual, making them overridable
  • NEW: Added BackgroundColor and ForegroundColor properties to change the colors of the bars used in the NativeStatsPanel
  • NEW: Added MenuModified event to NativeMenus that is triggered when an item is added or removed from a menu
  • NEW: Added SubtitleBehavior property to NativeMenus 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 of NativeListItem<T> now correctly sets the item index

1.7

25 Mar 05:40
3652962
Compare
Choose a tag to compare
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

25 Dec 07:04
7132abd
Compare
Choose a tag to compare
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 NativeItems
  • NEW: The DrawFullScreen, Draw and Process functions in scaleforms are now virtual
  • NEW: You can now get and set the Weapon Hash in a BigMessage as a uint
  • 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 and TimerBarCollection
  • DEP: Removed support for ScriptHookVDotNet 2

1.5.2

04 Dec 17:10
03a79a1
Compare
Choose a tag to compare
  • 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 the NativeMenu.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

05 Sep 18:19
c4e6db0
Compare
Choose a tag to compare
  • FIX: Added missing methods in NativeListItem<T> (#40)

1.5

29 Aug 21:09
deaddc4
Compare
Choose a tag to compare
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

23 Apr 06:31
3f70311
Compare
Choose a tag to compare
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

26 Mar 17:30
7d0bbaf
Compare
Choose a tag to compare
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

14 Nov 05:37
65e9419
Compare
Choose a tag to compare
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

10 Nov 07:31
adb2719
Compare
Choose a tag to compare
  • 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