Skip to content

raygui v5.0

Latest

Choose a tag to compare

@raysan5 raysan5 released this 20 Jul 22:08
raygui_50

After almost 3 years since last official release, here it is raygui 5.0. Main changes of new release:

  • ADDED: Support up to 512 icons
  • ADDED: Support icons baking into font atlas image
  • ADDED: New 6 gui styles: Genesis, Wisteria, Brick, Pocket, Advance, Turbo
  • ADDED: Control result return values: 1-RESULT_PRESSED, 2-RESULT_CHANGED, >2-<CONTROL_CUSTOM>
  • ADDED: New control: GuiValueBoxFloat()
  • ADDED: New control: GuiTabBar()
  • ADDED: guiControlExclusiveMode and guiControlExclusiveRec for exclusive modes
  • ADDED: GuiDropdonwBox() properties: DROPDOWN_ARROW_HIDDEN, DROPDOWN_ROLL_UP
  • ADDED: GuiListView() property: LIST_ITEMS_BORDER_WIDTH
  • ADDED: GuiLoadIconsFromMemory(), used by GuiLoadIcons()
  • ADDED: Macros for inputs customization, raylib decoupling
  • REMOVED: GuiSpinner() from controls list, using BUTTON + VALUEBOX properties
  • REMOVED: GuiSliderPro(), functionality was redundant
  • REMOVED: TextSplit() raylib function requirement on RAYGUI_STANDALONE
  • REDESIGNED: WARNING: TEXT_LINE_SPACING does not consider text height, only lines spacing
  • REDESIGNED: WARNING: GuiMessageBox(), added parameter for btn return, unify result
  • REDESIGNED: WARNING: GuiTextInputBox(), added parameter for btn return, unify result
  • REDESIGNED: GuiLoadStyleFromMemory() to support icons baking into font atlas
  • REDESIGNED: GuiToggleGroup() to process rows/cols with no need for GuiTextSplit()
  • REDESIGNED: GuiColorPanel(), improved HSV <-> RGBA convertion
  • REVIEWED: GuiLoadIconsFromMemory(), fixed memory issues
  • REVIEWED: Controls using text labels to use LABEL properties
  • REVIEWED: Replaced sprintf() by snprintf() for more safety
  • REVIEWED: GuiTabBar(), close tab with mouse middle button
  • REVIEWED: GuiScrollPanel(), scroll speed proportional to content
  • REVIEWED: GuiDropdownBox(), support roll up and hidden arrow
  • REVIEWED: GuiTextBox(), cursor position initialization
  • REVIEWED: GuiSliderPro(), control value change check
  • REVIEWED: GuiGrid(), simplified implementation
  • REVIEWED: GuiIconText(), increase buffer size and reviewed padding
  • REVIEWED: GuiDrawText(), improved wrap mode drawing
  • REVIEWED: GuiScrollBar(), minor tweaks
  • REVIEWED: GuiProgressBar(), improved borders computing
  • REVIEWED: GuiTextBox(), multiple improvements: autocursor and more
  • REVIEWED: Functions descriptions, removed wrong return value reference

All raylibtech tools will be updated soon to support this version.

Enjoy raygui 5.0!

WARNING: An issue has been detected with GuiColorPicker() (Hue Bar disappearing), already fixed on master branch. A patcheed version will be released soon.