1285 Commits

Author SHA1 Message Date
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
33f1659609 Added move in building for linux (#419)
Added the move since it restores the state to normal again.
2024-07-25 23:09:16 +02:00
Ray
2138b1b094 Update raygui.h 2024-07-25 11:45:14 +02:00
Ray
604d2d6ce4 REVIEWED: Amber style 2024-07-21 18:06:13 +02:00
Ray
b645a3b519 Create style_amber.h 2024-07-21 17:36:41 +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
9b89f205f2 Correct spelling error (#412) 2024-07-06 15:20:52 +02:00
5d32bf01f4 Align text in the basic controls section (#411) 2024-07-05 21:19:43 +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
7bb66e5c7f Create gui_value_box_float.c 2024-05-18 07:40:44 +02:00
Ray
9a9edd89b4 Update raygui.h 2024-05-18 07:40:42 +02:00
Ray
12804826d0 Update README.md 2024-05-09 21:01:17 +02:00
Ray
7c9472c97e Update README.md 2024-05-09 21:00:39 +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
20939af882 Update Makefile #400 2024-05-05 11:19:51 +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
5ab8a7b793 Added new style: Amber (#397)
* added a new style: amber

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2024-04-15 12:42:23 +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
Ray
0e96834a47 Update raygui.h 2024-04-07 09:47:54 +02:00
0a9a9f897a fix typo in raygui.h (#395)
Documentation mentions method GuiLoadStyleDefaulf which likely should have been GuiLoadStyleDefault.
2024-04-06 00:32:24 +02:00
Ray
e3f67f3c02 REVIEWED: Load default style before loading a custom style https://github.com/raysan5/rguistyler/issues/8
Make sure default style has been loaded to avoid overwriting new style properties due to the lazy initialization of default style.
2024-04-03 18:27:24 +02:00
c0d05782a9 fix compile error in custom input example (#394) 2024-04-01 17:57:13 +02:00
176ab3db60 GuiScrollPanel dynamic mouse scroll speed (#393) 2024-03-30 18:48:55 +01:00
bb68d06440 fix floating window example (#392) 2024-03-28 10:24:38 +01:00
ac19d7e08a single letter typo (#391) 2024-03-24 22:42:52 +01:00
Ray
9060e3bf33 REVIEWED: parameter name 2024-03-18 19:20:20 +01:00
82ba2b1a78 add floating window example (#382)
* add floating window example

A reusable floating window function. Window can be moved around through its title bar, minimized with its close button, resized from the icon in the lower right. The window is kept within the application area if the user pushes it outside the window/screen. The contents of the window are clipped with `BeginScissorMode` only if required and also a `GuiScrollPanel` enables user to see the clipped content of the window if current window size does not encapsulate all the content.

* modify to add ability to create multiple windows

* formatting for pointer dereference style consistency
2024-03-14 11:31:19 +01:00
623bc61f29 Add new icons to enum (#381) 2024-03-09 09:27:37 +01:00
Ray
b5693d0c41 ADDED: New icons 2024-03-07 22:52:39 +01:00
Ray
d3152f4a56 ADDED: Icon: WARNING 2024-03-07 13:07:27 +01:00
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
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