1129 Commits

Author SHA1 Message Date
Lieven Petersen
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
Arnold
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
kolunmi
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
63f0b86a80 REVIEWED: Update examples UI styles to latest version, including Latin-1 charset #354 2024-01-14 17:42:51 +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
e30a826909 Update copyright year to 2024 2024-01-03 14:16:44 +01:00
Ray
22ad8f642a Update copyright year 2024-01-02 21:01:38 +01:00
veins1
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
Karl Zylinski
dc10371543
Fix for incorrect build instructions on MSVC (#352) 2023-12-04 17:03:46 +01:00
Andre
141ae0cd31
Implemented new function DrawSplineSegmentBezierCubic, since the one being used had been deprecated (#350) 2023-11-16 12:59:35 +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
RadsammyT
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
krüpitskas
c59bacb1bc
Added animation_curve to the examples in CMake (#336) 2023-09-25 13:22:09 +02:00
Ray
aada7c6a42 Update animation_curve.c 2023-09-23 22:48:02 +02:00
Ray
48bf2008fa
Update README.md 2023-09-18 19:45:57 +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
25c8c65a6e
Update README.md 4.0 2023-09-12 00:24:31 +02:00
Ray
268d8bfedd
Update README.md 2023-09-12 00:23:23 +02:00
Ray
d0e7a05f9a Update raygui.h 2023-09-11 23:41:59 +02:00
Ray
db466282f8 REVIEWED: ALL styles to support ISO-8859-15 charset (as much as possible) 2023-09-11 20:53:06 +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
d2b4c917a9 Update styles README info 2023-09-11 18:52:54 +02:00
Ray
3f4c84b731 Update README.md 2023-09-11 18:52:39 +02:00
Ray
617dc15209 Support loading custom charset from external file 2023-09-11 18:52:24 +02:00
Ray
ac342b9ce8 Updated style: ashes 2023-09-11 17:50:26 +02:00
Ray
aadd9bd3b3 Merge branch 'master' of https://github.com/raysan5/raygui 2023-09-11 13:12:50 +02:00
Ray
72f61056bf Update style: Lavanda 2023-09-11 13:12:40 +02:00
Ray
ec688eced3
Update README.md 2023-09-11 12:54:10 +02:00
Ray
38839e4aa1
Update README.md 2023-09-11 12:51:37 +02:00
Ray
405e71f524 Update style_jungle.png 2023-09-11 12:45:15 +02:00
Ray
b1b46932fb Update screenshot.png 2023-09-11 12:45:12 +02:00
Ray
854351a42a Update style_selector.c 2023-09-11 12:41:35 +02:00
Ray
07a80c6828 Update style_jungle.h 2023-09-11 12:41:31 +02:00
Ray
5a1be66c8a REVIEWED: GuiToggleSlider() focus on mouse-hover 2023-09-11 12:41:14 +02:00
Ray
84f2588a4f Updated projects to include resources 2023-09-11 12:40:51 +02:00
Ray
c37013e10b Update controls_test_suite.c 2023-09-11 12:40:21 +02:00
Ray
44d8a6ac55 Create style_jungle.old.rgs 2023-09-11 11:00:58 +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