Commit Graph

660 Commits

Author SHA1 Message Date
Ray
df543bafad Reviewed text drawing inside bounds issue 2023-08-28 21:17:14 +02:00
Ray
1ad1907dc1 REVIEWED: GuiDrawText(), support word-wrap (read-only text) 2023-08-28 20:27:02 +02:00
Ray
da377d736d Update raygui.h 2023-08-18 21:05:20 +02:00
Ray
e830109d52 Update raygui.h 2023-08-14 10:18:13 +02:00
9bf3ef57a5 made cube icons better (#322) 2023-08-12 18:04:19 +02:00
Ray
a589af0a67 REVIEWED: GuiToggleSlider() new control 2023-08-07 19:41:53 +02:00
2b4d558d31 Add Toggle Slider (#305) (#307)
* Add Toggle Slider (#305)

* Style Toggle Slider

* Add GuiToggleSliderGroup

* Minimize API for GuiToggleSlider
2023-08-07 19:03:47 +02:00
96278a4d08 minor fix, removed unnecessary float cast for textOffsetY (#320)
Co-authored-by: jobat <jobat@toolbelt-games.com>
2023-08-06 20:07:56 +02:00
f8966405ac Fixed incorrect position of the GuiWindowBox closing icon with the defined RAYGUI_NO_ICONS macro. (#318)
In the absence of the added check, and disabled icons, the closing icon of the Gui Window Box was to the left of the center, although it should be strictly centered.
2023-08-04 12:37:23 +02:00
3d20f06bf2 Update raygui.h (#317) 2023-07-30 09:19:12 +02:00
Ray
eca6b1a7ff Added a reference word-wrap implementation to be applied to current GuiDrawText() 2023-07-29 19:30:52 +02:00
050249b2e5 fix c++ build errors (#314) 2023-07-29 10:18:31 +02:00
36365199b1 Fix GuiScrollBar dragging taking slider behavior (#313) 2023-07-28 19:55:37 +02:00
Ray
1d5e69fc42 WARNING: REDESIGN: Move alpha to GuiDrawRectangle() and GuiDrawText()
Global alpha is not applied on those two functions instead of being individually applied inside every control.
Still, some functions like `DrawRectangleGradient*()` require it but those functions should be moved to raygui custom implementations.
2023-07-25 16:27:56 +02:00
f62241d5d1 Fix progressbar border (#303) (#306)
* Fix progressbar border (#303)

* Fix ProgressBar visuals
2023-07-22 21:49:08 +02:00
Ray
ccc9b55e82 WARNING: RENAMED: GuiFade() to GuiSetAlpha() 2023-07-21 19:32:43 +02:00
848569ce33 Fix window result and pedantic error (#302)
* Fix result for close button in WindowBox

* Fix pedantic error, void* cast
2023-07-12 16:23:45 +02:00
Ray
89f9d94c6b Update raygui.h 2023-07-12 16:05:14 +02:00
Ray
d54103a1c9 Update raygui.h 2023-07-12 16:02:20 +02:00
b850edc733 Update raygui.h (#301)
Cast malloc to unsigned char* for C++
2023-07-12 16:00:37 +02:00
Ray
8041f9d3d7 Update raygui.h 2023-07-09 09:39:53 +02:00
Ray
9a3ba8ba1f Update raygui.h 2023-07-09 09:34:30 +02:00
Ray
7373f3677d Update raygui.h 2023-07-09 09:32:26 +02:00
Ray
6111ae9ac1 Update raygui.h 2023-07-09 09:32:15 +02:00
Ray
328f46649b Update raygui.h 2023-07-07 20:03:10 +02:00
Ray
a234fab333 Update raygui.h 2023-07-06 14:57:12 +02:00
Ray
c480013f73 Reviewed C++ compilation (compound literals) 2023-07-06 14:14:47 +02:00
Ray
e7518232eb REVIEWED: GuiProgressBar() disabled state 2023-07-05 18:36:37 +02:00
Ray
9a2605d461 Update raygui.h 2023-07-05 16:48:10 +02:00
Ray
d6f3cdc15c REDESIGNED: GuiProgressBar(), more visual 2023-07-04 18:57:31 +02:00
fa1c93cdcc Added GuiColorPickerHSV() and GuiColorPanelHSV() (#293) 2023-06-21 23:51:37 +02:00
Ray
1902a2b2e5 Update raygui.h 2023-06-17 19:47:54 +02:00
Ray
e6860d2e06 REVIEWED: Code formating 2023-06-17 16:47:51 +02:00
Ray
df65b05208 ADDED: Support custom line spacing style property TEXT_LINE_SPACING 2023-06-15 17:11:29 +02:00
Ray
812408c828 REVIEWED: Sliders/scrollbar dragging state 2023-06-15 13:12:07 +02:00
Ray
83e6cae9e4 Update raygui.h 2023-06-01 22:50:10 +02:00
Ray
3c5b5121bc Update raygui.h 2023-05-31 18:47:49 +02:00
Ray
37deba27a8 Update raygui.h 2023-05-31 18:14:04 +02:00
Ray
2648c771e7 Avoid control crash on NULL pointers 2023-05-27 20:39:10 +02:00
Ray
1af9a3960a Integrated 4.0-dev branch (#288)
* WARNING: Library redesign to support return result values

REVIEWED: All example projects

* REVIEWED: Cast values to improve Zig interconnection (#286)

* Update version and header info

* REVIEWED: `GuiListView()`, parameter order bug

* Update raygui.h

* REVIEWED: `GuiTabBar()` toggle logic

* Update raygui.h

* Update raygui.h
2023-05-27 11:34:45 +02:00
Ray
78ad65365e REVIEWED: Cast values to improve Zig interconnection 2023-05-19 18:47:55 +02:00
Ray
aa81c167f1 Review description for raygui 3.6 release! 2023-05-10 00:12:20 +02:00
Ray
37992af28a REVIEWED: Support slider movement out-of-bounds 2023-05-09 21:01:03 +02:00
9cf37c5e51 Fix for sliders (#282)
A fix for sliders not dragging outside of bounds.
2023-05-09 20:54:47 +02:00
Ray
60e216283d Update raygui.h 2023-05-09 20:09:52 +02:00
7f46aa5929 GuiTextBox improvements (#281)
Adds support for HOME, END, and DELETE keys to GuiTextBox.
2023-05-09 16:51:06 +02:00
Ray
b54733ec12 Minor tweaks 2023-05-08 18:57:19 +02:00
Ray
1c7ceb6fda Fixed #277 2023-05-08 18:43:22 +02:00
80e802b18d Fix for #277 (#280)
Fixes incorrect comment from issue #277
2023-05-07 21:28:36 +02:00
6fc9337cd8 Update raygui.h (#279)
fix for #278
2023-05-07 20:25:41 +02:00