Commit Graph

1254 Commits

Author SHA1 Message Date
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
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
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
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
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
c8260e22de Added example of a calculator app with custom input box (#310)
Turned my previous pull request into an example, as you suggested.
2023-07-29 19:18:02 +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
Ray
3e7defc05a Update controls_test_suite.c 2023-07-25 16:25:21 +02:00
f62241d5d1 Fix progressbar border (#303) (#306)
* Fix progressbar border (#303)

* Fix ProgressBar visuals
2023-07-22 21:49:08 +02:00
Ray
02cdb87fb2 Update animation_curve.c 2023-07-22 21:47:35 +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
670a5deb48 Update custom_sliders.c 2023-07-12 13:30:48 +02:00
df5ee2a420 Fix GuiSlider value pointer (#298) 2023-07-12 13:30:03 +02:00
0309c751b5 Fix Style Selector paths (#299) 2023-07-09 09:50:40 +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
Ray
8fef0f4fc0 Support style change on controls_test_suite example 2023-07-04 18:57:04 +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
32ae0cf716 Update animation_curve.c 2023-06-17 19:47:04 +02:00
Ray
7f70abc5db RENAMED gui module for consistency 2023-06-17 17:03:36 +02:00
Ray
b6db462f72 RENAMED: gui_file_dialog -> gui_window_file_dialog
For consistency with other gui modules
2023-06-17 17:00:54 +02:00
Ray
e6860d2e06 REVIEWED: Code formating 2023-06-17 16:47:51 +02:00
Ray
c17e0cd5d9 REVIEWED: Animation curve examples
ADDED: Example to VS2022 solution
2023-06-17 14:04:53 +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
b9991686d5 Update filename's buf size to match GuiTextBox size param. (#290) 2023-06-03 20:28:31 +02:00