1140 Commits

Author SHA1 Message Date
aiafrasinei
b3fea57382
Fix compilation error and remove warnings from examples (#380) 2024-02-29 11:45:31 +01:00
Ray
bc67f42209 Update raygui.h 2024-02-18 11:58:55 +01:00
Ray
a9e5e90058 Merge branch 'master' of https://github.com/raysan5/raygui 2024-02-18 10:42:09 +01:00
Ray
18675e1b40 Create controls_test_suite.png 2024-02-18 10:42:02 +01:00
Lieven Petersen
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
a76bd963ec Revert "gitignore example executables on Linux and OSX (#374)"
This reverts commit 16088b51d1bf8b69101ee51d8f4b92e0c0090e23.
2024-02-15 16:21:47 +01:00
Lieven Petersen
16088b51d1
gitignore example executables on Linux and OSX (#374) 2024-02-15 15:53:46 +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
Lieven Petersen
7fe39be75a
fixed and simplified make clean for examples on Linux (#375) 2024-02-03 20:00:57 +01:00
Ray
418da225d5 REVIEWED: custom_input_box #378 2024-02-03 19:59:59 +01:00
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
Ray
7b823e0c53 Updated style: Jungle
Support ISO-8859-15 charset, as much as possible
2023-09-10 20:02:11 +02:00
Ray
b9c28b4a3c REVIEWED: White rectangle assignment 2023-09-10 19:57:49 +02:00
Ray
7417b308af
Update README.md 2023-09-10 18:56:25 +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
Anthony Carbajal
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
7f275f4f8c Create raygui_512x512.png 2023-09-06 09:59:01 +02:00
Ray
2955c676ce Update controls_test_suite.c 2023-09-06 09:58:59 +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
abf35d8895
Update README.md 2023-09-02 11:35:25 +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
Ray
80b4d6ec06 Update controls_test_suite.c 2023-09-01 12:34:27 +02:00
Ray
e569da6a87 Update controls_test_suite.c 2023-09-01 11:39:08 +02:00
Jeffery Myers
3b8164216b
Fix warnings in MSVC (#324) 2023-08-29 09:44:14 +02:00
manuel5975p
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
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
Rainb0wSkeppy
9bf3ef57a5
made cube icons better (#322) 2023-08-12 18:04:19 +02:00
Ray
41417db52d Update controls_test_suite.c 2023-08-08 12:32:05 +02:00
Ray
a589af0a67 REVIEWED: GuiToggleSlider() new control 2023-08-07 19:41:53 +02:00
Ray
f09b9a546a Merge branch 'master' of https://github.com/raysan5/raygui 2023-08-07 19:04:32 +02:00
Ray
3174613820 Update portable_window.c 2023-08-07 19:04:23 +02:00
Furu
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
Jobat
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
Akim
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
Hanaxar
7567816d3e
OS Specific path seperator char (#316)
* OS Specific path seperator char

Adds OS specific path seperator char

* Update gui_window_file_dialog.h

* Update custom_file_dialog.c
2023-08-02 19:18:22 +02:00
Hanaxar
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