91 Commits

Author SHA1 Message Date
Ray
22ad8f642a Update copyright year 2024-01-02 21:01:38 +01:00
Ray
d60885cd49 REVIEWED: Long words proper word-wrap 2023-11-13 16:14:07 +01:00
Ray
c37013e10b Update controls_test_suite.c 2023-09-11 12:40:21 +02:00
Ray
7746bf39a0 Review default styles 2023-09-10 20:32:40 +02:00
Ray
2955c676ce Update controls_test_suite.c 2023-09-06 09:58:59 +02:00
Ray
8d9a4b537f REVIEWED: GuiTextBox(), support cursor positioning with mouse 2023-09-03 22:17:50 +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
Ray
1ad1907dc1 REVIEWED: GuiDrawText(), support word-wrap (read-only text) 2023-08-28 20:27:02 +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
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
Ray
3e7defc05a Update controls_test_suite.c 2023-07-25 16:25:21 +02:00
Ray
8fef0f4fc0 Support style change on controls_test_suite example 2023-07-04 18:57:04 +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
b54733ec12 Minor tweaks 2023-05-08 18:57:19 +02:00
Ray
2b45fea429 Update examples 2023-04-20 14:24:15 +02:00
Ray
8de6bf1d63 REVIEWED: GuiTextBox() cursor automovement on key down
REMOVED: `GuiTextBoxMulti()`
2023-04-19 16:38:30 +02:00
Ray
15a4151b66 Update controls_test_suite.c 2023-03-07 18:52:35 +01:00
Ray
78963b1817 Update year to 2023 2023-01-01 16:00:38 +01:00
Ray
7ef0ae713b Update controls_test_suite.c 2022-06-29 19:18:10 +02:00
Ray
47269f30ce WARNING: RENAMED: GetDroppedFiles() to LoadDroppedFiles() 2022-06-06 20:40:09 +02:00
Ray
4232b2a0e7 REVIEWED: Created VS2022 projects for examples
Some renames and reviews
2022-06-01 20:40:42 +02:00
gulrak
013f1a2772
add distinct icon-only buffer for internal use (#208) 2022-05-29 17:26:08 +02:00
Ray
7b2e7a107b WARNING: RENAMED: Some enum values, avoiding prefixes
This is a change for library consistency. I choose the option that translates into less writing for users.
2022-05-21 12:08:18 +02:00
Rob Loach
151c4c5dce
Update the examples to match the latest raygui.h (#184) 2022-03-14 22:20:20 +01:00
raysan5
f00fa5ff23 All controls support const char *text as second parameter
- `GuiScrollBar()` moved to static function, not exposed anymore
2022-02-05 18:35:55 +01:00
megagrump
1f0dbc8aa1
add text parameter to GuiScrollPanel examples (#176)
* add text parameter to GuiScrollPanel examples

* move guiIconName to declarations
2022-02-01 20:13:58 +01:00
Ray
042df8f004 WARNING: BREAKING: Support text parameter in some controls -WIP-
The following controls add text parameter support:
 - GuiPanel()
 - GuiScrollPanel()
 - GuiColorPicker()
 - GuiColorPanel()
 - GuiColorBarAlpha()
 - GuiColorBarHue()
2022-01-12 11:54:19 +01:00
raysan5
eface74b13 Update year to 2022 2021-12-31 20:06:32 +01:00
raysan5
37bc50cad3 Update controls_test_suite.c 2021-12-29 20:04:21 +01:00
Ray
43209cf627 Update controls_test_suite.c 2021-12-21 23:26:30 +01:00
raysan5
f822fb1468 REVIEWED: API functions specifiers 2021-10-05 18:33:02 +02:00
raysan5
7c63e389b8 Reviewed examples for latest raygui/raylib 2021-10-05 14:10:35 +02:00
raysan5
2bb3e17c1e REVIEWED: GuiDropdownBox() locking mechanism #139 2021-10-05 11:23:58 +02:00
Ray
c3dc43d4c5 REVIEWED: Consistency with raylib 2021-09-02 00:36:37 +02:00
Ray
873c6a95b3 WARNING: BREAKING: Embedded ricons into raygui
- ADDED: `RAYGUI_SUPPORT_CUSTOM_RICONS` for external `ricons.h`
- RENAMED: Some defines for consistency and make them private
- Increased version to 3.0-dev
2021-08-25 00:45:49 +02:00
raysan5
d2752e9a47 Reviewed examples 2021-04-02 16:32:14 +02:00
Ray
6b216626ec Remove trailing spaces 2021-03-19 20:12:50 +01:00
raysan5
3e1d420e60 Review examples copyright 2020-04-07 23:04:39 +02:00
Ray
d3c810311c REVIEWED: GuiTextBoxMulti() #54
Simplified code, avoid line breaking.

WARNING: If a line is longer than box width, it crashes... word-wrap implementation requires some review...
2020-03-11 16:00:09 +01:00
Ray
ffdeef8d17 Experimenting with a tooltips API
Found several limitations:
 - Tooltip timming can not be properly set on imgui mode
 - Tooltip underlap to controls drawn after current control

Still, a quite interesting feature for further analysis.
2020-02-20 16:36:18 +01:00
Ray
f296f53a1c Review defines 2019-11-26 00:54:13 +01:00
Ray
54fcb03380 RENAMED: GuiState() > GuiSetState()
ADDED: GuiGetState()
2019-09-03 15:45:14 +02:00
Ray
ad3531609c Review some functions
- GetTextBounds(), adapted to new TEXT_PADDING property, it probably still requires some work...
 - GuiDropdownBox(), reviewed and corrected some issues on item selection.
 - GuiLoadStyle(), adapted binary file loading code
 - Reviewed some default style properties
2019-09-02 23:18:25 +02:00
raysan5
1adfb6cef5 Review properties naming
Replaced INNER_PADDING by TEXT_PADDING -WIP-
2019-09-01 11:49:56 +02:00
Ray
462ba6b373 RENAMED: GuiFont() to GuiSetFont()
ADDED: GuiGetFont()
2019-08-26 00:56:58 +02:00
raysan5
177f345afb REDESIGNED: GuiTextInputBox()
Support text message (if provided).
2019-08-21 21:18:38 +02:00
raysan5
4ec4419635 Review GuiStatusBar() and GuiWindowBox() 2019-08-21 20:02:21 +02:00