Skip to content

Releases: LemonUIbyLemon/LemonUI

1.9

25 Oct 08:18
dff6030

Choose a tag to compare

1.9
  • NEW: Added function to wait until the result of a Scaleform is ready and fetch it (#82)
  • NEW: Added alternative PlayFrontend(bool) function to control if the Audio ID should be automatically released (#81)
  • NEW: Added function to Stop() a Sound at any time (#81)
  • NEW: Added Offset property for the TimerBarCollection
  • NEW: Implemented IEnumerable for NativeColorPanel, NativeListItem, NativeMenu, NativeStatsPanel and ObjectPool
  • FIX: Rewritten recalculation code for NativeStatsPanel, so it doesn't slides around on aspect ratios other than 16:9
  • FIX: The badges will not be recalculated if they are set to the same exact badge
  • FIX: Badges are now removed when a BadgeSet is removed
  • FIX: RageMP now uses the custom CancelEventHandler and CancelEventArgs due to System.ComponentModel not being available ()
  • FIX: Iterators for NativeColorPanel, NativeMenu, ObjectPool and TimerBarCollection now use indexes instead of foreach (#87)
  • FIX: Added missing Handle parameter when drawing Scaleforms on RageMP (#91)
  • FIX: ScaledText now calls the correct native when drawing the text (#95)
  • FIX: The Sound class now properly keeps track of the Audio ID (#81)

1.8

25 Jun 12:51
53b549d

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

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

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

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

Choose a tag to compare

  • FIX: Added missing methods in NativeListItem<T> (#40)

1.5

29 Aug 21:09
deaddc4

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

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

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

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