Commit Graph

390 Commits

Author SHA1 Message Date
Ray
a76d9f96e6 Update raygui.h 2022-01-28 00:23:43 +01:00
0280f973e5 REVIEW: GuiTextBox(), avoid cursor out of box 2022-01-22 19:28:48 +01:00
679cc2f17f REVIEWED: GuiValueBox() values clamp 2022-01-20 21:37:29 +01:00
4fb2f1a19c Fixed implementation signature of GuiScrollPanel (#174)
Added the new text parameter to the signature for the implementation of GuiScrollPanel
2022-01-20 10:41:06 +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
Ray
7a2964302a Update raygui.h 2022-01-12 11:33:02 +01:00
Ray
e287ca4c47 Update raygui.h 2022-01-12 11:29:39 +01:00
c8417c606a Update raygui.h 2022-01-02 20:55:28 +01:00
318bc4a747 Review some style formatting 2022-01-02 19:33:53 +01:00
24fcac010e WARNING: REVIEWED: Default style
Try to unify values to multiples of 4, considering all icons are 16x16, all the elements are more consistent and better aligned.
2022-01-02 19:23:15 +01:00
eface74b13 Update year to 2022 2021-12-31 20:06:32 +01:00
Ray
f9aa763661 Tweaks 2021-12-31 10:59:47 +01:00
e12b1f93c3 Update raygui.h 2021-12-29 20:04:18 +01:00
771513ebe5 Update raygui.h 2021-12-29 13:17:21 +01:00
de39a6064f Update version number 2021-12-28 15:40:58 +01:00
Ray
110553535b Comment tweak 2021-12-23 11:08:07 +01:00
70e30d447f ADDED: RAYGUI_LOG macro 2021-12-21 20:20:33 +01:00
0f05fccf4c Multiple changes, view details
- REVIEWED: `GuiLoadStyle()` to support compressed font atlas image data and unload previous textures
- RENAMED: Multiple controls properties definitions to prepend `RAYGUI_`
- RENAMED: `RICON_` references to `RAYGUI_ICON_` for library consistency
2021-12-21 18:03:11 +01:00
23121c5454 ADDED: Styles binary/code formats 2021-12-21 14:01:21 +01:00
ba575e9e76 Support binary .rgs loading with compressed font atlas image data 2021-12-20 20:32:48 +01:00
733fa0fce0 Fixed: incompatible type for argument 1 of 'UnloadTexture' (#169) 2021-12-19 12:32:42 +01:00
Ray
38bda86911 REVIEWED: External icons usage logic 2021-12-16 00:30:07 +01:00
Ray
0c264d5af3 REVIEWED: GuiLoadStyle() 2021-12-16 00:29:40 +01:00
a778d8474a Avoid some warnings 2021-12-07 19:52:37 +01:00
a609522c05 Fixed Spinner control bounds check error (#166)
The bounds check occurred before the `GuiButton`s for the increment and decrement feature of the `Spinner` control which meant using the buttons when the spinner value was at the `minValue` or `maxValue` and incremented or decremented past the min or max would not be resolved until the next time the `Spinner` control was called in the code, likely on the next iteration of a program loop. This caused an array index out of bounds issue in my codebase.
2021-11-07 10:55:17 +01:00
acc19b74b3 Fixed bounds check so that out of bounds values don't persist until the next call to GuiValueBox (#165) 2021-11-07 10:52:11 +01:00
Ray
61c6bd22f9 Moved extra controls to extra directory 2021-11-02 11:35:33 +01:00
Ray
0d3dc299cd Update raygui.h 2021-10-31 23:18:57 +01:00
ba2fdec93b Update raygui.h 2021-10-19 14:58:19 +02:00
a5068756be Some tweaks to simplify code 2021-10-18 12:54:28 +02:00
Ray
22c0b5754a Update raygui.h 2021-10-16 00:14:48 +02:00
4e1a1d2348 WARNING: REMOVED: GuiImageButton()
This controls require an external texture provided and a specific function to draw that texture. Personally I never used it and I feel it shouldn't belong to raygui. Anyone requiring to use an `ImageButton` should probably create it using the backend graphics library and the types/functions defined.
2021-10-12 15:39:38 +02:00
405f7ab7e8 Reviewed changelog 2021-10-12 15:36:42 +02:00
a456bcb763 Reviewed some TODO 2021-10-12 15:23:11 +02:00
a770a93fb2 Remove some warnings 2021-10-12 14:52:04 +02:00
Ray
283716857c Remove trailing spaces 2021-10-06 01:23:17 +02:00
f822fb1468 REVIEWED: API functions specifiers 2021-10-05 18:33:02 +02:00
0ed765cd8b raygui includes RICONS by default
- REAMED: RAYUIDEF -> RAYGUIAPI
2021-10-05 14:10:20 +02:00
2bb3e17c1e REVIEWED: GuiDropdownBox() locking mechanism #139 2021-10-05 11:23:58 +02:00
e81fd89b6d Modify custom_file_dialog, portable_window, propertly_list, and text_editor examples to be compatible with the newest raylib and raygui (#156)
Modify gui_textbox_extended.h to contain DrawTextRec and DrawTextRecEx since they were cut from raylib, also add DrawTextBoxedSelectable as an alias for DrawTextRecEx for compatibility/name consistency
Modify gui_textbox_extended.h to be compatible with the latest raylib
2021-09-19 20:15:24 +02:00
c1af7c3edd Move declarations of GetCodepoint() and CodepointToUTF8() (#155) 2021-09-12 18:04:22 +02:00
Ray
469496d177 ADDED: Auxiliar function for standalone mode 2021-09-11 10:37:06 +02:00
Ray
653ee23f58 REMOVED: GuiColorPanelEx() 2021-09-10 22:58:40 +02:00
Ray
181f41cee0 Improve documentation 2021-09-10 00:55:34 +02:00
Ray
d45a0f55f1 ADDED: GuiIsLocked() #140 2021-09-06 00:53:46 +02:00
Ray
3e1162bb9a Review breaking changes from PRs 2021-09-06 00:24:39 +02:00
Ray
fc43382050 Update raygui.h 2021-09-06 00:16:15 +02:00
c1d906855b fix missing borderwidth (#134)
* fix missing borderwidth

* made guibox text borderwidth independent

* undid for textbox & textboxmulti
2021-09-06 00:15:58 +02:00
d871bc0641 Hue and alpha bar fix (#130)
* hue and alpha color bar fix

fixes issues with the slider going over the end of the bar
fixes color on colorbar to:
- not get smaller when the overflow increases
- not have a small white rectangle at the bottom

* switched back to DrawRectangleGradientV
2021-09-06 00:13:05 +02:00
Ray
8197be08d8 REVIEWED: GuiTextBox() #106 2021-09-03 00:44:11 +02:00