Commit Graph

666 Commits

Author SHA1 Message Date
c198b9c34e fixed border and padding offset issue caused by BORDER_WIDTH (#465) 2025-02-28 12:28:33 +01:00
b19a0168fa Fix GuiSlider not drawing handle (#464) 2025-02-26 22:25:58 +01:00
f25b1dd757 Fix GuiTextBox handling of codepoints when deleting text and clicking with mouse (#462) 2025-02-25 21:40:57 +01:00
3397b015ef GuiTextBox paste support (#463)
* Add support for paste (CTRL+V) in GuiTextBox

* Remove commented out code

(a more elegant but incomplete solution, which does not check for control characters)
2025-02-25 21:39:31 +01:00
Ray
e4a59f0afa ADDED: GuiListView*() property LIST_ITEMS_BORDER_NORMAL
Allows creating list view with items outlined on normal state (not only when focused/selected)
2025-02-11 18:45:47 +01:00
Ray
f24b309386 REVIEWED: GuiListView() use style LIST_ITEMS_BORDER_WIDTH 2025-02-08 13:39:45 +01:00
74249a76c6 Expose RAYGUI_WINDOWBOX_CLOSEBUTTON_HEIGHT in GuiWindowBox. (#453) 2025-02-05 20:01:08 +01:00
c98814df2a Fix mismatch between if defined and define for RAYGUI_LINE_MARGIN_TEXT. (#454) 2025-02-05 20:00:19 +01:00
Ray
8535b51259 Update raygui version for potential breaking changes coming soon... 2025-02-02 13:42:42 +01:00
4ea41c76ee Added drawing of Slider knob in disabled state. (#452) 2025-02-01 21:35:23 +01:00
31b6ca3ccc Fix GuiTextSplit overrunning on max split count (#450)
Co-authored-by: segcore <segcore@github.com>
2025-02-01 21:34:29 +01:00
Ray
34acf544e7 Update raygui.h 2025-01-31 13:10:39 +01:00
Ray
1391349feb Update raygui.h 2025-01-31 12:28:16 +01:00
Ray
eea93facea REVIEWED: GuiLoadIconsFromMemory() 2025-01-31 12:28:12 +01:00
Ray
cbe91fa082 Update raygui.h 2025-01-31 01:12:01 +01:00
Ray
46fd886f18 REMOVED: SPINNER control properties, using VALUEBOX and BUTTON
REVIEWED: All controls that use some label, use `LABEL` style
Several minor tweaks
2025-01-31 00:28:11 +01:00
Ray
97755aaf89 Update raygui.h 2025-01-26 21:01:58 +01:00
54bff64d7d fix: sprintf, use snprintf (#447) 2025-01-21 23:30:58 +01:00
004d5bf6f5 Add LoadIconsFromMemory (#449) 2025-01-21 23:29:48 +01:00
Ray
1f81371106 Update year to 2025 2025-01-01 00:10:23 +01:00
Ray
090db355ea Remove trailing spaces 2024-12-23 19:23:47 +01:00
Ray
f11dc823d1 Update raygui.h 2024-12-03 19:14:55 +01:00
d0cbf9bee2 Prevent crash when passing NULL to GuiToggleSlider (#437) 2024-12-01 23:16:15 +01:00
Ray
1e03efca48 Update raygui.h 2024-09-24 20:01:51 +02:00
Ray
73f85d82f6 Update raygui.h 2024-09-24 20:01:33 +02:00
38ababbc62 add ctrl backspace support for deleting words (#431) 2024-09-24 19:47:40 +02:00
38bc79b432 GuiTextBox(): Do not get previous code point when at start of string (#420)
Co-authored-by: segcore <segcore@github.com>
2024-09-22 20:25:21 +02:00
b5a81fb76e Fix #426 (#427) 2024-09-11 23:38:01 +02:00
Ray
56ec987258 REVIEWED: Possibly obfuscated variable in loop! 2024-09-10 13:01:29 +02:00
Ray
6aae83894a ADDED: Hot Icon
Minor tweaks
2024-08-19 13:40:12 +02:00
Ray
2138b1b094 Update raygui.h 2024-07-25 11:45:14 +02:00
Ray
6f46641413 Update raygui.h 2024-07-19 00:33:01 +02:00
Ray
9d04f2d36c ADDED: DropdownBox roll up mode #406 2024-07-18 23:24:44 +02:00
187dd8647f Support keypad Enter key with GuiValueBox and GuiValueBoxFloat. (#413) 2024-07-16 21:33:59 +02:00
Ray
3fb9d77a67 Minor tweaks 2024-07-09 09:07:50 +02:00
Ray
0f832e6a6e Update raygui.h 2024-06-18 23:24:11 +02:00
4b3d94f5df GuiTextBox(): Fix buffer overrun from cursor index (#405) 2024-05-31 11:18:17 +02:00
76f006b9d0 Fix icon padding adjustment in GetTextWidth (#408) 2024-05-31 11:17:22 +02:00
Ray
faed14c12b Update raygui.h 2024-05-29 19:58:34 +02:00
Ray
9c1a52515b Update raygui.h 2024-05-29 11:54:54 +02:00
Ray
9a9edd89b4 Update raygui.h 2024-05-18 07:40:42 +02:00
Ray
680a50e83b REVIEWED: GuiValueBoxFloat() formatting... 2024-05-07 12:33:21 +02:00
a717c69962 Add floating point value box to raygui (#356)
* add floating point value box

* remove upper and lower bound

* remove enum entry for float value box

* fix code to match coding conventions

* fix code to match coding conventions

* change variable name
2024-05-07 12:09:14 +02:00
Ray
ec9621939c Update raygui.h 2024-05-06 21:34:10 +02:00
Ray
a3a0e86e21 Update raygui.h 2024-05-01 18:12:18 +02:00
Ray
6f532337ff Minor formatting tweaks 2024-04-20 19:22:59 +02:00
Ray
498511e4cf REVIEWED: GuiTabBar() detect middle button press over tab 2024-04-15 21:22:01 +02:00
Ray
f21318f500 Update raygui.h 2024-04-11 20:52:12 +02:00
34ef12062c Fix division by zero in GuiScrollBar function (#396)
When trying to use the floating window example, I got several times some crashes when expanding the window size. 
It's caused in the GuiScrollBar function, when the maxValue is equal to the minValue (I don't know if this case is intended in the first place).
Because valueRange variable is maxValue minus minValue, then it is equal to 0, and triggers a crash later, when we use it in division (division by 0).

I'm not sure if it's the best fix, maybe minValue == maxValue is not indentend in the first place and we should fix this problem earlier?
2024-04-11 10:40:05 +02:00
Ray
85549da837 Update raygui.h 2024-04-08 00:10:00 +02:00