raysan5
e12b1f93c3
Update raygui.h
2021-12-29 20:04:18 +01:00
raysan5
771513ebe5
Update raygui.h
2021-12-29 13:17:21 +01:00
raysan5
de39a6064f
Update version number
2021-12-28 15:40:58 +01:00
Ray
da356fffff
Update README.md
2021-12-27 01:28:22 +01:00
Ray
7887356296
Update README.md
2021-12-27 01:22:23 +01:00
aleepo
a611c16e66
fix typo ( #171 )
2021-12-26 22:11:17 +01:00
Ray
379ab63197
Unload uncompressed image data
2021-12-23 11:08:23 +01:00
Ray
110553535b
Comment tweak
2021-12-23 11:08:07 +01:00
Ray
43209cf627
Update controls_test_suite.c
2021-12-21 23:26:30 +01:00
raysan5
70e30d447f
ADDED: RAYGUI_LOG
macro
2021-12-21 20:20:33 +01:00
raysan5
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
raysan5
23121c5454
ADDED: Styles binary/code formats
2021-12-21 14:01:21 +01:00
raysan5
ba575e9e76
Support binary .rgs loading with compressed font atlas image data
2021-12-20 20:32:48 +01:00
Damien Pitard
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
raysan5
a778d8474a
Avoid some warnings
2021-12-07 19:52:37 +01:00
Oleg Dzhuraev
10ebad86ef
Fixed Readme typo "raylib" to "raygui" in building section ( #168 )
...
Co-authored-by: Oleg Dzhuraev <oleg.dzhuraev@playgendary.com>
2021-11-18 17:41:49 +01:00
Andidy
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
Andidy
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
Rob Loach
65a82bfe54
Update project for CMake ( #167 )
2021-11-06 15:00:29 +01:00
arjunsatarkar
af51e4ccf7
Fix README.md spelling: "publised" => "published" ( #162 )
3.0
2021-11-02 13:22:35 +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
raysan5
ba2fdec93b
Update raygui.h
2021-10-19 14:58:19 +02:00
raysan5
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
Ray
e4db44518e
Update README.md
2021-10-12 15:58:46 +02:00
raysan5
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
raysan5
405f7ab7e8
Reviewed changelog
2021-10-12 15:36:42 +02:00
raysan5
e86d0dc2bf
Merge branch 'master' of https://github.com/raysan5/raygui
2021-10-12 15:23:34 +02:00
raysan5
a456bcb763
Reviewed some TODO
2021-10-12 15:23:11 +02:00
Ray
31a38d34fc
Update README.md
2021-10-12 15:13:41 +02:00
raysan5
a770a93fb2
Remove some warnings
2021-10-12 14:52:04 +02:00
Ray
1a9f0fbe9c
Update README.md
2021-10-07 16:12:17 +02:00
Ray
283716857c
Remove trailing spaces
2021-10-06 01:23:17 +02:00
raysan5
2fa812484c
Merge branch 'master' of https://github.com/raysan5/raygui
2021-10-05 18:33:06 +02:00
raysan5
f822fb1468
REVIEWED: API functions specifiers
2021-10-05 18:33:02 +02:00
Ray
8c70f3315a
Update README.md
2021-10-05 16:00:25 +02:00
raysan5
8993f07c94
Merge branch 'master' of https://github.com/raysan5/raygui
2021-10-05 14:10:51 +02:00
raysan5
7c63e389b8
Reviewed examples for latest raygui/raylib
2021-10-05 14:10:35 +02:00
raysan5
0ed765cd8b
raygui includes RICONS by default
...
- REAMED: RAYUIDEF -> RAYGUIAPI
2021-10-05 14:10:20 +02:00
Ray
f1853f50e7
Update README.md
2021-10-05 13:45:17 +02:00
raysan5
b0dfa6dcbf
Merge branch 'master' of https://github.com/raysan5/raygui
2021-10-05 12:48:21 +02:00
raysan5
f7abbc055f
Added tools images
2021-10-05 12:48:18 +02:00
Ray
46243ef6d2
Update README.md
2021-10-05 12:47:54 +02:00
raysan5
2bb3e17c1e
REVIEWED: GuiDropdownBox()
locking mechanism #139
2021-10-05 11:23:58 +02:00
raysan5
734d067335
Update project to VS2019
2021-10-05 11:23:05 +02:00
Winter
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
Jaedeok Kim
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
Julianiolo
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
Julianiolo
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
Ray
424ad14d3c
Manually implement #131
2021-09-03 00:38:06 +02:00
Ray
c3dc43d4c5
REVIEWED: Consistency with raylib
2021-09-02 00:36:37 +02:00
Ray
cf45f9bccf
REVIEWED: GuiTextBoxMulti()
...
- REMOVED: framesCounter (static variable)
- REVIEWED: Cursors width
- Minor tweaks
2021-09-01 00:52:57 +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
Ray
24e0dd6600
Update gui_textbox_extended.h
2021-08-25 00:42:56 +02:00
Ray
2083c6984a
Update textbox_extended_demo.c
2021-08-25 00:42:45 +02:00
Ray
0907bee71b
Renamed file
2021-08-25 00:42:33 +02:00
raysan5
65e39bb4bc
WARNING: BREAKING: Updated to latest raylib
2021-08-15 13:07:55 +02:00
raysan5
bad9c8bb58
Replace TABS by 4 spaces
2021-07-28 12:55:58 +02:00
raysan5
d5856e5182
Minor tweaks
2021-07-09 18:49:50 +02:00
raysan5
76c6184c49
Added a note to build as shared library #146
2021-07-06 19:13:17 +02:00
raysan5
6edd0865c0
Skip icons name if required #132
...
Probably this system should be redesigned
2021-07-05 19:30:30 +02:00
raysan5
a4a6ff98b3
REVIEWED: Update function for raylib 3.8-dev #147
2021-07-05 19:08:02 +02:00
Ray
78f24a3868
Update text_editor.c
2021-06-23 09:59:37 +02:00
manen
045d4856f0
Edit LICENSE to 2021 ( #142 )
2021-05-23 10:51:03 +02:00
Jaedeok Kim
d215533b5a
Fix broken 'riconsdata' link in README.md ( #141 )
2021-05-17 16:53:42 +02:00
Dmitry Matveyev
806b216e20
Move cplusplus curly brace and RAYGUI_H endifs above ( #137 )
2021-05-09 10:19:25 +02:00
Julianiolo
d77bd5f3ef
Scroll panel fix ( #129 )
...
* scrollPanel fix
fixed a bug of the scrollbars disappearing
implemented checking of scrollbar side for drawing the little rectangle
* readded (int) cast
2021-04-17 09:51:46 +02:00
raysan5
c2bee39e0b
REVIEWED: GuiProgressBar() #128
2021-04-05 13:50:07 +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
Ray
13aac618ad
Removed tooltip API
2021-03-17 14:39:46 +01:00
Ray
a11fb5f38d
Update image_raw_importer.c
2021-03-14 13:11:35 +01:00
Ray
ef99aafee9
Renamed some functions
2021-03-12 18:01:14 +01:00
Jeffery Myers
3749de3ef8
Fix typecast warnings ( #118 )
2021-02-24 09:30:09 +01:00
Wirgiliusz
0cbbb48410
Fixed bug with stuck slide bars ( #122 )
...
Corrected arguments taken by GuiSliderBar functions that correspond to panelContentRec dimensions
2021-02-24 09:28:21 +01:00
Lorenz Junglas
3627bb960a
Move include guard endif to end of file ( #121 )
...
Resolves #120
2021-02-01 12:59:15 +01:00
raysan5
28d7584fc1
Corrected build mode typo #117
2020-12-30 17:41:57 +01:00
Nomi
b4288f969c
Add horizontal scroll ( #116 )
...
Add horizontal scroll (Shift + Mouse wheel) for Scroll Panel control
2020-12-28 20:42:20 +01:00
Jeffery Myers
7dae5b06f7
use the same style of dll export/import definition and extern c as raylib, so it actually works on windows. ( #115 )
2.8
2020-12-26 19:27:50 +01:00
Ray
f5bd6c08f8
Update gui_file_dialog.h
2020-12-18 20:06:38 +01:00
Ray
3b44da667b
Updated to raylib 3.5
...
Use GetCharPressed() instead of GetKeyPressed()
2020-12-18 19:50:57 +01:00
badlydrawnrod
60605f01b6
Handle CRLF line endings reading fontFileName. ( #114 )
...
If you have a style file with CRLF line endings and specify a font file on a system that expects LF line endings, then the font file will fail to load with an error such as...
WARNING: FILEIO: [./assets/terminal/Mecha.ttf
] Failed to open file
...because it sees the CR as part of the name.
Adding '\r' to the negated scanset for sscanf() fixes the issue.
2020-12-14 16:11:17 +01:00
Ramon
a380ef80c1
Missing closing parentheses for if
statement ( #113 )
...
Added a missing parenthesis to the if statement for the *iconId* example.
2020-12-12 09:59:07 +01:00
Jaedeok Kim
7eda4008e2
Add missing examples in Makefile ( #111 )
...
Co-authored-by: epsimatt <epsimatt@protonmail.com>
2020-11-20 23:16:06 +01:00
Ray
b73eb56f3c
Update image_exporter.c
2020-10-05 20:08:47 +02:00
Evan Pratten
07b30c30af
Fix tiny spelling mistake ( #103 )
2020-07-21 19:28:19 +02:00
raysan5
95b225b90c
GuiTextBox(): Support Unicode inputs #99
2020-07-13 19:53:17 +02:00
Paul Brüll
6d2d6819fa
GuiTextBoxMulti now will also break lines when encountering a newline character ( #97 )
...
* Fix for issue #94 : infinite loop on space-free sequences in text that are wider than textbox bounds
marked no lastSpacePos as -1.
check for a space-char had to come earlier than check for width overrun.
if no space found in this line but line too wide, wrap sequence and start new line with textWidth of last character.
reset lastSpacePos on every new line.
* GuiTextBoxMulti now will also break when encountering a newline character
Co-authored-by: Ray <raysan5@gmail.com>
2020-07-04 11:30:33 +02:00
Paul Brüll
4eda62925c
Fix for issue #94 : infinite loop on space-free sequences in text that are wider than textbox bounds ( #95 )
...
marked no lastSpacePos as -1.
check for a space-char had to come earlier than check for width overrun.
if no space found in this line but line too wide, wrap sequence and start new line with textWidth of last character.
reset lastSpacePos on every new line.
2020-06-20 17:51:46 +02:00
Rob Loach
3e61557f25
Clean up CMake files ( #90 )
2020-05-18 19:32:22 +02:00