Commit Graph

660 Commits

Author SHA1 Message Date
623bc61f29 Add new icons to enum (#381) 2024-03-09 09:27:37 +01:00
Ray
b5693d0c41 ADDED: New icons 2024-03-07 22:52:39 +01:00
Ray
d3152f4a56 ADDED: Icon: WARNING 2024-03-07 13:07:27 +01:00
Ray
bc67f42209 Update raygui.h 2024-02-18 11:58:55 +01:00
77891affb3 added documentation on Hue control issues with GuiColorPicker (#373)
* added documentation on Hue control issues with GuiColorPicker

* Moved Color Picker doc from function signature to definition
2024-02-15 22:46:55 +01:00
Ray
a3bbc8408b Update raygui.h 2024-02-15 16:21:57 +01:00
Ray
7a5f4320bc RENAMED: guiSliderDragging -> guiControlExclusiveMode
Now this variables could serve to a wider purpose to multiple controls, to allow the excusive mode usage and to identify the current control rectangle with a "unique" id.
2024-02-15 15:45:48 +01:00
58411f4cce Commonise GuiColorPanelHSV and GuiColorPanel logic and behavior (#370)
* transferred dragging GuiColorPanel outside bounds (#366) to GuiColorPanelHSV

* call GuiColorPanelHSV from inside GuiColorPanel, to eliminate code duplication

* comply with naming convention inside GuiColorPanel
2024-01-28 15:01:00 +01:00
db90a39ecf Fix GuiDrawText() sometimes drawing out of bounds (#367)
* Fix `GuiDrawText()` drawing out of bounds when icon is used

* Fix glyphWidth not being set when text wrap is off

* Fixed text sometimes drawing out of bounds when middle or right aligned

This changes textSizeX to have a maximum equal to the bounds width,
preventing the text x-position being set left of the bounds.

textSizeX is unchanged if only an icon is provided, so that lone icons
can always be middle aligned.

* Show ellipsis at the end of text when it gets cut off
2024-01-28 13:28:38 +01:00
jon
b2829289f6 Slider now centers correctly and general UX improvements (#368)
* Slider now centers correctly and general UX improvements

* Typo
2024-01-28 13:24:31 +01:00
45e7f967e6 fixed dragging GuiColorPanel outside of bounds (#366) 2024-01-20 20:49:27 +01:00
Ray
dd36bff888 REVIEWED: Controls description, return values changes! #345 2024-01-14 17:54:38 +01:00
Ray
df8ee3e91b REVIEWED: GuiTextBox(), reverted label format change 2024-01-14 17:41:46 +01:00
Ray
6e43ad1d67 REVIEWED: GuiScrollPanel(), allow configurable border, using LISTVIEW property 2024-01-14 17:41:15 +01:00
Ray
22ad8f642a Update copyright year 2024-01-02 21:01:38 +01:00
2ea84a11ac Fix Checkbox using text color from Label (#357) 2024-01-02 13:14:11 +01:00
Ray
2c8dc854d4 Update raygui.h 2023-12-15 19:38:51 +01:00
Ray
e765801006 Update raygui.h 2023-11-14 20:41:17 +01:00
Ray
d60885cd49 REVIEWED: Long words proper word-wrap 2023-11-13 16:14:07 +01:00
Ray
a2726c8600 Update raygui.h 2023-11-08 19:35:05 +01:00
Ray
95c0065bd8 Update raygui.h 2023-11-02 18:23:15 +01:00
499e8bf7b1 GuiSliderPro() returns 1/true if control value changed (#346) 2023-10-13 11:10:34 +02:00
Ray
dd67a47afb Update raygui.h 2023-10-09 09:58:21 +02:00
Ray
85a5c104f5 REVIEWED: GuiGrid() to support STATE_DISABLED 2023-10-03 15:34:12 +02:00
Ray
cfb9191775 Remove trail spaces 2023-09-26 12:54:36 +02:00
Ray
1c3305031d REVIEWED: GuiCheckBox() #330
return internal-state: 1->Value changed in the control
2023-09-12 14:42:05 +02:00
Ray
d0e7a05f9a Update raygui.h 2023-09-11 23:41:59 +02:00
Ray
d5e9323ba9 Update raygui.h 2023-09-11 20:25:49 +02:00
Ray
9907803626 Update raygui.h 2023-09-11 18:54:10 +02:00
Ray
617dc15209 Support loading custom charset from external file 2023-09-11 18:52:24 +02:00
Ray
5a1be66c8a REVIEWED: GuiToggleSlider() focus on mouse-hover 2023-09-11 12:41:14 +02:00
Ray
ed545e4d7b Update raygui.h 2023-09-11 11:00:29 +02:00
Ray
7746bf39a0 Review default styles 2023-09-10 20:32:40 +02:00
Ray
b9c28b4a3c REVIEWED: White rectangle assignment 2023-09-10 19:57:49 +02:00
Ray
0fccdc61fb Update raygui.h 2023-09-08 23:26:31 +02:00
Ray
d6c317f719 Reviewed header information 2023-09-08 21:03:41 +02:00
25ffd1fe0b commented out unused vars (#329) 2023-09-08 21:01:34 +02:00
Ray
1af7a875fc Update raygui.h 2023-09-07 22:00:34 +02:00
Ray
e97226cd04 tweaks for Zig 2023-09-07 21:59:58 +02:00
Ray
33f43fee2c Update raygui.h 2023-09-07 17:26:08 +02:00
Ray
6f9a8088f2 Update raygui.h 2023-09-06 09:59:05 +02:00
Ray
718b5830d3 Update raygui.h 2023-09-04 18:10:07 +02:00
Ray
8d9a4b537f REVIEWED: GuiTextBox(), support cursor positioning with mouse 2023-09-03 22:17:50 +02:00
Ray
12fc56e5e1 Update raygui.h 2023-09-01 20:57:33 +02:00
Ray
0938f9219c Update raygui.h 2023-09-01 20:29:14 +02:00
Ray
35df0d3d28 REVIEWED: GuiScrollPanel() to avoid smallish scroll-bars 2023-09-01 19:58:17 +02:00
Ray
bced15ec96 REVIEWED: Text-styling properties reorganized
Right now some text-styling properties are defined per control or global for all controls. I'm considering unifying this but there are multiple concerns about it...

ADDED: Some enums for text-styling convenience and comments
2023-09-01 19:57:44 +02:00
3b8164216b Fix warnings in MSVC (#324) 2023-08-29 09:44:14 +02:00
1a786bc9b7 Update raygui.h (#323)
* Update raygui.h

Add pointers for correctness

* Update raygui.h

Move star to match raygui coding style
2023-08-29 00:53:10 +02:00
Ray
d7eb8a7ec5 Update raygui.h 2023-08-28 23:57:15 +02:00