99299c3f06
REVIEWED: Narrowing issue for g++ #179
...
It requires review for MSVC
2022-06-01 20:05:33 +02:00
6cff9e20d4
Reviewed latests PRs formating
2022-05-29 17:45:05 +02:00
013f1a2772
add distinct icon-only buffer for internal use ( #208 )
2022-05-29 17:26:08 +02:00
f534a9a265
Ensure utf8 codepoints don't overflow buffer and backspace handles them correctly ( #207 )
2022-05-28 10:10:42 +02:00
694e770351
Fix for unsafe call of MeasureTextEx in GetTextWidth ( #204 )
2022-05-21 20:05:23 +02:00
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
781123c647
Merge branch 'master' of https://github.com/raysan5/raygui
2022-05-21 12:05:48 +02:00
9113b1e4c9
FIX icon scale variable #199
2022-05-21 12:02:05 +02:00
486bc9b5e3
Comparison is always false because keyCount >= 0 ( #201 )
2022-05-21 11:48:39 +02:00
9554ca8d63
Update raygui.h
2022-05-19 13:24:07 +02:00
ffb4a7a851
ADDED: Icon alarm
2022-05-17 20:34:49 +02:00
c991cbcaf8
FIX: left shift of 1 by 31 places cannot be represented in type 'int' ( #198 )
2022-05-06 11:51:02 +02:00
f13c5c3ec3
Do not force GuiScrollPanel() up/down key inputs
2022-05-04 11:53:06 +02:00
865bb29376
REVIEWED: GuiScrollPanel()
2022-04-06 17:59:10 +02:00
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
baf3790cac
ADDED: New icon: FOLDER_ADD
2022-04-01 16:38:15 +02:00
4c5784f07d
Update raygui.h
2022-03-30 20:27:20 +02:00
ec3a7a414d
minor tweaks
2022-03-29 18:11:12 +02:00
7137b8331d
REVIEWED: GuiProgressBar() #192
2022-03-29 17:25:49 +02:00
483b3a17ad
REVIEWED: Icon name: FILE_NEW to FILE_ADD #191
2022-03-28 17:33:19 +02:00
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
6d79cdf2fd
Updated raygui icons info
2022-03-26 18:11:50 +01:00
84246d75e8
ADDED: GuiSetIconScale() fixes #182
2022-03-22 18:19:48 +01:00
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
9e51cf9213
REVIEWED: GuiMessagebox(), better text centering
2022-03-12 21:26:54 +01:00
0476dab3cf
REVIEWED: GuiDrawText() to consider line-break
2022-03-12 21:26:31 +01:00
627e879018
Update raygui.h
2022-03-07 17:21:00 +01:00
9407bf1a1d
REVIEWED: GuiTextInputBox() to support hidden passwords and max text size
2022-03-07 17:18:57 +01:00
78cd3d650d
REVIEWED: GuiTextinputBox() to support secret text
2022-03-01 22:13:05 +01:00
803e3b92af
REVIEWED: GuiTextBox() cursor height
2022-03-01 22:11:17 +01:00
ce42af4858
Update raygui.h
2022-02-26 16:32:53 +01:00
c8d8fb5a86
REVIEWED: GetTextWidth() to consider icon
...
- REVIEWED: `GuiLine()` to consider text with icon properly
2022-02-26 10:38:54 +01:00
d0815ce9f3
ADDED: New icon: SHIELD
2022-02-26 10:37:31 +01:00
843ecc2258
Add nex icon: HEX
2022-02-20 11:54:49 +01:00
cdb9fc9bff
REVIEWED: GuiLabel() to support custom GuiSetState()
2022-02-19 18:29:44 +01:00
690214dd0a
ADDED: New icon RAYGUI_ICON_FILETYPE_BINARY
2022-02-18 20:27:09 +01:00
6f1b6ad15f
Update raygui.h
2022-02-17 00:43:25 +01:00
ac231606d3
REVIEWED: Controls extended properties names for coherence and consistency
...
Added extended properties description
2022-02-05 20:19:52 +01:00
ebe196799a
Update raygui.h
2022-02-05 19:47:32 +01:00
90ef00a474
Reviewed controls
2022-02-05 19:45:20 +01:00
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
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
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
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
7a2964302a
Update raygui.h
2022-01-12 11:33:02 +01:00
e287ca4c47
Update raygui.h
2022-01-12 11:29:39 +01:00
c8417c606a
Update raygui.h
2022-01-02 20:55:28 +01:00