c4c87f2971
Making GetTextWidth part of the public API ( #480 )
...
GetTextWidth is useuful to be called publicly. E.g: when you want to get the final horizontal size of a Slider that has textBefore and textAfter.
2025-07-30 16:40:46 +02:00
1736d71bd7
Improve customizeability of allocator macros ( #475 )
...
Co-authored-by: Ray <raysan5@gmail.com >
2025-07-28 23:31:55 +02:00
be051532d3
Removed unpaired multi-line comment end ( #497 )
...
An unpaired multi-line comment end found it's way infront of a comment. I simply removed it.
2025-07-28 23:28:10 +02:00
ff866904d0
Review formating
2025-07-26 21:50:00 +02:00
99b37e4d4f
Update raygui.h
2025-06-07 15:28:52 +02:00
40b8c25ec1
Update raygui.h
2025-05-29 12:31:55 +02:00
f663b31cd6
Formatting tweaks
2025-05-10 22:45:25 +02:00
cb78993237
Add minus toggle for GuiValueBox & GuiValueBoxFloat ( #485 )
...
It was impossible to enter negative number.
Now pressing KEY_MINUS toggles sign for the value when value is not 0.
Due to original implementation it's not possible to start entry with minus symbol or have added minus while the value is 0.
fix max index
2025-05-06 22:09:07 +02:00
0895c8b8c4
Update raygui.h
2025-04-14 12:37:12 +02:00
c623a92f83
Update raygui.h
2025-04-13 20:38:01 +02:00
566c73f4e4
ADDED: Some required icons
2025-04-01 01:01:16 +02:00
58ba11d923
REMOVED: GuiSliderPro(), functionality was redundant
2025-04-01 01:00:56 +02:00
cb1c54d143
Avoid size_t
2025-03-25 22:50:45 +01:00
37f355ea6f
Fix integer overflow potential ( #477 )
2025-03-25 22:46:28 +01:00
107214fa23
Replace RL_FREE with RAYGUI_FREE ( #479 )
2025-03-25 22:44:10 +01:00
1536ae35c7
removed left-right padding from GuiProgressBar ( #473 )
2025-03-14 13:16:02 +01:00
460411efef
Fix enum compare warning in GuiPanel ( #456 )
2025-03-13 16:54:06 +01:00
63319f2ee7
Export GuiSliderPro and add static to GetTextLines (for shared libs) ( #470 )
...
I was having issues using it in conjunction with raylib (in Windows), so added these annotations here.
Let me know if it's okay, thanks for the project, Ray!!
2025-03-13 16:51:51 +01:00
d5459559e5
Update raygui.h
2025-03-13 16:42:25 +01:00
fc9d852d4a
Update raygui.h
2025-03-10 17:10:07 +01:00
9a95871701
GuiTextBox() rework ( #466 )
...
* GuiTextBox: Fix possible overflow when handling backspace and delete
Simplify code a bit by removing unnecessary checks
* GuiTextBox: Fix CTRL+Backspace behavior
Remove undefined behavior (previously called isspace with oob values)
Fix unable to delete first character
Fix handling of symbols like any other "standard" input field or text editor on Windows does it
* GuiTextBox: Add CTRL+DELETE, CTRL+LEFT and CTRL+RIGHT handling
Copy behavior from programs like notepad, Notepad++, OneNote, address bar in Edge, etc.
* GuiTextBox: Simplify and improve auto-cursor code
Remove one global variable and compact checks into one bool variable
Fix auto cursor triggering immediately when button is held when clicking edit box
Tuned the values, so they match cooldown and delay when entering text
* GuiTextBox: Bring some checks in-line with the rest of the function
2025-02-28 15:09:58 +01:00
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
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
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
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
34acf544e7
Update raygui.h
2025-01-31 13:10:39 +01:00
1391349feb
Update raygui.h
2025-01-31 12:28:16 +01:00
eea93facea
REVIEWED: GuiLoadIconsFromMemory()
2025-01-31 12:28:12 +01:00
cbe91fa082
Update raygui.h
2025-01-31 01:12:01 +01:00
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
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
1f81371106
Update year to 2025
2025-01-01 00:10:23 +01:00
090db355ea
Remove trailing spaces
2024-12-23 19:23:47 +01:00
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
1e03efca48
Update raygui.h
2024-09-24 20:01:51 +02:00
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
56ec987258
REVIEWED: Possibly obfuscated variable in loop!
2024-09-10 13:01:29 +02:00