737 Commits

Author SHA1 Message Date
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
raysan5
65bad19e26 Update raygui.h 2020-05-18 18:31:45 +02:00
raysan5
4643d3769d Corrected issue with GuiCOlorPicker() drifting 2020-05-05 10:28:01 +02:00
Rob Loach
8c33be58b2
Update raygui Rectangle to match raylib Rectangle (#88)
Rectangle in raygui should use a float.
2020-05-04 20:14:04 +02:00
raysan5
8a38a8028e Bumped version 2020-05-03 21:25:00 +02:00
raysan5
76d734bb30 Move all rectangles drawing to one single function
Now all controls just use GuiDrawRectangle() that receives border parameters if required, it replaces previous DrawRectangle()/DrawRectangleRec() + DrawRectangleLinesEx() combinations.

It centralizes rectangles drawing into a single function, allowing some further customization in the future if required...
2020-05-03 21:23:45 +02:00
raysan5
4758b45676 Corrected some typos 2020-05-03 21:19:53 +02:00
Rob Loach
fa8b958a91
Move CMake files to projects/CMake (#87)
Fixes #86
2020-05-01 13:31:15 +02:00
Loknath Bharti
feb1a6c874
fixed package mode in FindRaylib (#85) 2020-04-29 12:40:24 +02:00
Loknath Bharti
e689c710e4
Update CMakeLists.txt (#83)
Remove comma after RAYGUI_HEADERS or make install will not install the headers because RAYGUI_HEADERS is not set. ", " is an unreported syntactic error.
2020-04-24 23:16:18 +02:00
Rob Loach
0fdacc87f6
Add CMake definitions (#79) 2020-04-16 13:24:03 +02:00
Rob Loach
5191022a6b
Fix unknown stack array size (#80)
Compiler expected a static value. Writing 64 directly in the declaration should fix it up.
2020-04-16 13:22:28 +02:00