Ray
df117f84cb
REVIEWED: Narrowing issue with styles #179
...
Actually this issue is a bit tricky, C++ (g++ only) complains about narrowing on styles if `propertyValue` is assigned an hexadecimal value because it was not `unsigned int`, making it unsigned it avoids that error but then properties can only be positive... maybe we need some property value to be negative?
Maybe this issue will require further review in the future.
2022-06-01 20:48:20 +02:00
Ray
4232b2a0e7
REVIEWED: Created VS2022 projects for examples
...
Some renames and reviews
2022-06-01 20:40:42 +02:00
Ray
f9483a6a52
Merge branch 'master' of https://github.com/raysan5/raygui
2022-06-01 20:05:56 +02:00
Ray
99299c3f06
REVIEWED: Narrowing issue for g++ #179
...
It requires review for MSVC
2022-06-01 20:05:33 +02:00
Ray
161dc0ed84
Update README.md
2022-06-01 19:55:02 +02:00
Ray
6cff9e20d4
Reviewed latests PRs formating
2022-05-29 17:45:05 +02:00
gulrak
013f1a2772
add distinct icon-only buffer for internal use ( #208 )
2022-05-29 17:26:08 +02:00
gulrak
f534a9a265
Ensure utf8 codepoints don't overflow buffer and backspace handles them correctly ( #207 )
2022-05-28 10:10:42 +02:00
gulrak
694e770351
Fix for unsafe call of MeasureTextEx in GetTextWidth ( #204 )
2022-05-21 20:05:23 +02:00
Ray
7b2e7a107b
WARNING: RENAMED: Some enum values, avoiding prefixes
...
This is a change for library consistency. I choose the option that translates into less writing for users.
2022-05-21 12:08:18 +02:00
Ray
781123c647
Merge branch 'master' of https://github.com/raysan5/raygui
2022-05-21 12:05:48 +02:00
Ray
9113b1e4c9
FIX icon scale variable #199
2022-05-21 12:02:05 +02:00
Crydsch
486bc9b5e3
Comparison is always false because keyCount >= 0 ( #201 )
2022-05-21 11:48:39 +02:00
Ray
9554ca8d63
Update raygui.h
2022-05-19 13:24:07 +02:00
Ray
ffb4a7a851
ADDED: Icon alarm
2022-05-17 20:34:49 +02:00
furudbat
c991cbcaf8
FIX: left shift of 1 by 31 places cannot be represented in type 'int' ( #198 )
2022-05-06 11:51:02 +02:00
Ray
f13c5c3ec3
Do not force GuiScrollPanel()
up/down key inputs
2022-05-04 11:53:06 +02:00
Ray
865bb29376
REVIEWED: GuiScrollPanel()
2022-04-06 17:59:10 +02:00
Fabien Freling
c4e121d548
Store secret text as static variable ( #195 )
...
When compiling with Zig, the old implementation
raises this error:
```
error: expected type '[*c]u8', found '*const [16:0]u8'
note: cast discards const qualifier
```
As it does not allow casting away the const qualifier,
we need to store the "********" placeholder in a writable
variable.
Co-authored-by: Fabien Freling <fabien.freling@momagroup.com>
2022-04-06 16:02:00 +02:00
Ray
baf3790cac
ADDED: New icon: FOLDER_ADD
2022-04-01 16:38:15 +02:00
Ray
4c5784f07d
Update raygui.h
2022-03-30 20:27:20 +02:00
Ray
8b28248552
Merge branch 'master' of https://github.com/raysan5/raygui
2022-03-29 18:11:19 +02:00
Ray
ec3a7a414d
minor tweaks
2022-03-29 18:11:12 +02:00
Ray
1fdc76d8ad
Update README.md
2022-03-29 18:00:36 +02:00
Ray
7137b8331d
REVIEWED: GuiProgressBar() #192
2022-03-29 17:25:49 +02:00
Ray
483b3a17ad
REVIEWED: Icon name: FILE_NEW to FILE_ADD #191
2022-03-28 17:33:19 +02:00
boukew99
4466262b50
add max to GuiProgressBar ( #190 )
...
Progressbar cannot visualy overflow anymore and returning value has meaning now. I considered adding min, but have not needed it yet.
2022-03-28 13:30:06 +02:00
Ray
6d79cdf2fd
Updated raygui icons info
2022-03-26 18:11:50 +01:00
Ray
f08ec1d08a
ADDED: raygui icons (exported with rGuiIcons
)
2022-03-26 17:49:24 +01:00
Ray
453bf67c40
Reviewed logo
2022-03-26 00:53:41 +01:00
Ray
84246d75e8
ADDED: GuiSetIconScale()
fixes #182
2022-03-22 18:19:48 +01:00
David Konsumer
e30cb00f39
Mac instructions ( #187 )
2022-03-19 10:58:05 +01:00
Rob Loach
151c4c5dce
Update the examples to match the latest raygui.h ( #184 )
2022-03-14 22:20:20 +01:00
Peter0x44
6789281386
Fix gcc warning (by default an error) when using raygui from C++ ( #183 )
...
In C, string literals have the type char*, but you cannot write to them. In C++, they have the type const char*
2022-03-12 21:30:07 +01:00
Ray
9e51cf9213
REVIEWED: GuiMessagebox()
, better text centering
2022-03-12 21:26:54 +01:00
Ray
0476dab3cf
REVIEWED: GuiDrawText()
to consider line-break
2022-03-12 21:26:31 +01:00
GideonSerf
4f933c1e81
Small grammar fix. ( #180 )
2022-03-11 09:40:04 +01:00
Daniel Fortes
0dd763f4a4
Added 'saveFileMode' option to file dialog state ( #177 )
2022-03-10 11:06:57 +01:00
raysan5
627e879018
Update raygui.h
2022-03-07 17:21:00 +01:00
raysan5
9407bf1a1d
REVIEWED: GuiTextInputBox()
to support hidden passwords and max text size
2022-03-07 17:18:57 +01:00
raysan5
7a2a57b868
Update enefete.h
2022-03-07 17:16:18 +01:00
Ray
d0f8e9bb0a
Update dark.h
2022-03-03 23:43:50 +01:00
raysan5
876dd2879a
ADDED: Two new styles: dark and enefete
2022-03-03 20:18:54 +01:00
Ray
78cd3d650d
REVIEWED: GuiTextinputBox()
to support secret text
2022-03-01 22:13:05 +01:00
Ray
803e3b92af
REVIEWED: GuiTextBox()
cursor height
2022-03-01 22:11:17 +01:00
Ray
ce42af4858
Update raygui.h
2022-02-26 16:32:53 +01:00
Ray
c8d8fb5a86
REVIEWED: GetTextWidth()
to consider icon
...
- REVIEWED: `GuiLine()` to consider text with icon properly
2022-02-26 10:38:54 +01:00
Ray
d0815ce9f3
ADDED: New icon: SHIELD
2022-02-26 10:37:31 +01:00
Ray
843ecc2258
Add nex icon: HEX
2022-02-20 11:54:49 +01:00
Ray
cdb9fc9bff
REVIEWED: GuiLabel()
to support custom GuiSetState()
2022-02-19 18:29:44 +01:00
raysan5
690214dd0a
ADDED: New icon RAYGUI_ICON_FILETYPE_BINARY
2022-02-18 20:27:09 +01:00
Ray
6f1b6ad15f
Update raygui.h
2022-02-17 00:43:25 +01:00
raysan5
ac231606d3
REVIEWED: Controls extended properties names for coherence and consistency
...
Added extended properties description
2022-02-05 20:19:52 +01:00
raysan5
b472287b0a
Update gui_scroll_panel.c
2022-02-05 20:19:03 +01:00
raysan5
ebe196799a
Update raygui.h
2022-02-05 19:47:32 +01:00
raysan5
7c578ae94b
Merge branch 'master' of https://github.com/raysan5/raygui
2022-02-05 19:45:31 +01:00
raysan5
90ef00a474
Reviewed controls
2022-02-05 19:45:20 +01:00
Ray
17f9d3c0f5
Update README.md
2022-02-05 19:08:08 +01:00
raysan5
f00fa5ff23
All controls support const char *text
as second parameter
...
- `GuiScrollBar()` moved to static function, not exposed anymore
2022-02-05 18:35:55 +01:00
megagrump
1f0dbc8aa1
add text parameter to GuiScrollPanel examples ( #176 )
...
* add text parameter to GuiScrollPanel examples
* move guiIconName to declarations
2022-02-01 20:13:58 +01:00
Ray
cc359132b6
Update README.md
2022-02-01 11:48:08 +01:00
Ray
a76d9f96e6
Update raygui.h
2022-01-28 00:23:43 +01:00
raysan5
0280f973e5
REVIEW: GuiTextBox()
, avoid cursor out of box
2022-01-22 19:28:48 +01:00
raysan5
679cc2f17f
REVIEWED: GuiValueBox() values clamp
2022-01-20 21:37:29 +01:00
Ray
52755a2913
Update new style readme
2022-01-20 10:53:46 +01:00
Ray
638484742e
Update README.md
2022-01-20 10:42:21 +01:00
Jacob Dennis
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
3.1
2022-01-12 11:33:02 +01:00
Ray
e287ca4c47
Update raygui.h
2022-01-12 11:29:39 +01:00
Ricardo Matsui
c7eb926853
Fix examples build for macOS ( #172 )
2022-01-06 11:30:36 +01:00
Ray
f023911302
Update project to VS2022
2022-01-05 23:41:28 +01:00
Ray
9dbc340cb6
Update README.md
2022-01-05 21:56:29 +01:00
raysan5
c8417c606a
Update raygui.h
2022-01-02 20:55:28 +01:00
raysan5
318bc4a747
Review some style formatting
2022-01-02 19:33:53 +01:00
raysan5
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
raysan5
eface74b13
Update year to 2022
2021-12-31 20:06:32 +01:00
Ray
5c50b082b3
NEW STYLE: Sunny
2021-12-31 11:00:11 +01:00
Ray
f9aa763661
Tweaks
2021-12-31 10:59:47 +01:00
raysan5
37bc50cad3
Update controls_test_suite.c
2021-12-29 20:04:21 +01:00
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