Ray
de7d3de282
Revert "Update portable_window.c"
...
This reverts commit 5e77b2ca6f46cf7b84a4689518d8b343a3582ca5.
2023-05-31 21:59:24 +02:00
Ray
3c5b5121bc
Update raygui.h
2023-05-31 18:47:49 +02:00
Ray
5e77b2ca6f
Update portable_window.c
2023-05-31 18:14:07 +02:00
Ray
37deba27a8
Update raygui.h
2023-05-31 18:14:04 +02:00
Ray
d72e70b410
Revert "Update portable_window.c"
...
This reverts commit 29a230929d1384708aa3f654f9fab4f64ee8ba7b.
2023-05-28 11:38:41 +02:00
Ray
29a230929d
Update portable_window.c
2023-05-28 11:30:50 +02:00
Ray
935b8119e9
Update portable_window.c
2023-05-28 11:21:04 +02:00
Ray
4f48e5a3c7
Update portable_window.c
2023-05-28 11:13:21 +02:00
Ray
6650ad0ffa
Update style_selector.c
2023-05-28 01:02:34 +02:00
Ray
2648c771e7
Avoid control crash on NULL pointers
2023-05-27 20:39:10 +02:00
Ray
ce358972ef
Update README.md
2023-05-27 11:39:08 +02:00
Ray
ae38f05811
Update README.md
2023-05-27 11:38:38 +02:00
Ray
1af9a3960a
Integrated 4.0-dev branch ( #288 )
...
* WARNING: Library redesign to support return result values
REVIEWED: All example projects
* REVIEWED: Cast values to improve Zig interconnection (#286 )
* Update version and header info
* REVIEWED: `GuiListView()`, parameter order bug
* Update raygui.h
* REVIEWED: `GuiTabBar()` toggle logic
* Update raygui.h
* Update raygui.h
2023-05-27 11:34:45 +02:00
Ray
6e4530330d
Update README.md
2023-05-27 10:18:45 +02:00
Anstro Pleuton
135718ee04
Fixed few stuff about animation curve example ( #287 )
...
Co-authored-by: AnstroPleuton <anstro.pleuton@proton.me>
2023-05-21 20:36:11 +02:00
Ray
78ad65365e
REVIEWED: Cast values to improve Zig interconnection
2023-05-19 18:47:55 +02:00
Ray
aa81c167f1
Review description for raygui 3.6
release!
3.6
2023-05-10 00:12:20 +02:00
Ray
37992af28a
REVIEWED: Support slider movement out-of-bounds
2023-05-09 21:01:03 +02:00
Hanaxar
9cf37c5e51
Fix for sliders ( #282 )
...
A fix for sliders not dragging outside of bounds.
2023-05-09 20:54:47 +02:00
Ray
60e216283d
Update raygui.h
2023-05-09 20:09:52 +02:00
PROP 65
7f46aa5929
GuiTextBox improvements ( #281 )
...
Adds support for HOME, END, and DELETE keys to GuiTextBox.
2023-05-09 16:51:06 +02:00
Ray
b54733ec12
Minor tweaks
2023-05-08 18:57:19 +02:00
Ray
7da92d224d
Update custom_sliders.c
2023-05-08 18:48:14 +02:00
Ray
1c7ceb6fda
Fixed #277
2023-05-08 18:43:22 +02:00
Ray
251f7fde3a
Update README.md
2023-05-08 18:41:04 +02:00
PROP 65
80e802b18d
Fix for #277 ( #280 )
...
Fixes incorrect comment from issue #277
2023-05-07 21:28:36 +02:00
PROP 65
6fc9337cd8
Update raygui.h ( #279 )
...
fix for #278
2023-05-07 20:25:41 +02:00
Ray
38a3d100e1
ADDED: GuiLoadStyleFromMemory()
(binary only)
...
REVIEWED: `GetCodepointNext()`
2023-05-07 13:17:20 +02:00
Ray
628f2e0290
Remove trailing spaces
2023-05-01 14:03:06 +02:00
Melissa
ab209bc5d1
Fixed C++ compilation in C literal in call to SetShapesTexture ( #276 )
...
* Fixed C++ compilation
* Use RAYGUI_CLITERAL
2023-04-29 13:14:40 +02:00
Ray
8c14e61214
Update raygui.h
2023-04-25 15:16:08 +02:00
Ray
27caba8834
Update raygui.h
2023-04-24 09:44:54 +02:00
Ray
31b097ee3e
Update raygui.h
2023-04-23 23:54:33 +02:00
Andrew Harker
b0d7073551
Fix #274 - Adding semicolon ( #275 )
2023-04-23 15:34:35 +02:00
Ray
731bae72d5
REVIEWED: Some old TODOs
2023-04-22 21:17:08 +02:00
Ray
4ad311bd6f
ADDED: Icon SAND_TIMER
2023-04-22 18:08:34 +02:00
Ray
c4d71e1c0b
Update raygui.h
2023-04-22 18:01:18 +02:00
Ray
d04c68b915
Update raygui.h
2023-04-22 10:39:18 +02:00
Ray
42aaec6640
REVIEWED: GuiLabelButton()
, avoid text cut
...
ADDED: Debug text rectangles
2023-04-21 09:36:22 +02:00
Hanaxar
d05586ef0f
Avoid using hardcoded values in whitechar ( #273 )
...
Proposed change avoids hardcoded values and creates white rectangle exaclty like in rcore.
2023-04-20 16:52:14 +02:00
Ray
2b45fea429
Update examples
3.5
2023-04-20 14:24:15 +02:00
Ray
665520d7c9
REVIEWED: GuiScrollBar()
2023-04-20 14:24:07 +02:00
Hanaxar
fcaab0e9ef
Avoid compiler warning about signedness ( #272 )
...
Proposing to change type of ```textBoxCursorIndex``` from ```unsigned int``` to ```int``` for avoiding bunch of compiler warnings about signedness.
```textBoxCursorIndex``` is used in many arithmethic operations and comparions with int types, the only way to eliminate warnings, is either casting it to int everytime or declaring as int at the beginning. The latter is proposed.
2023-04-20 00:23:27 +02:00
Hanaxar
926fdf91cc
Fix error in GuiTabBar ( #271 )
...
When ```RAYGUI_NO_ICONS``` defined, getting errors in ```GuiTabBar```.
It seems this is copied from ```GuiWindowBox``` and then not edited and forgotten.
2023-04-19 17:01:47 +02:00
Ray
8de6bf1d63
REVIEWED: GuiTextBox()
cursor automovement on key down
...
REMOVED: `GuiTextBoxMulti()`
2023-04-19 16:38:30 +02:00
Hanaxar
bb02c2059e
Corrected version number and style ( #270 )
...
```RAYGUI_VERSION``` was different than the number mentioned in comment section.
Also proposed change applies RayLib versioning style.
2023-04-19 14:58:59 +02:00
Ray
fdc0ea5249
REDESIGN: Unify GuiTextBoxMulti()
as GuiTextBox()
...
- Adding some extended properties for customization
- Commented cursor blink on texbox
2023-04-18 13:25:59 +02:00
Ray
6b2f812cc7
REVIEWED: GuiTextBox()
#257
...
- Added support for auto-cursor movement on key down
- Added support for cursor blinking
- Renamed sharedCursorIndex to textBoxCursorIndex
2023-04-18 12:39:52 +02:00
Ray
f343f0057c
REVIEWING: GuiTextBoxMulti()
and GuiDrawText()
-WIP-
...
Support vertical alignment of text inside bounds!
2023-04-18 00:57:47 +02:00
Ray
bb17983e22
Update raygui.h
2023-04-18 00:28:57 +02:00
Ray
b2ff512c8e
Update raygui.h
2023-04-17 17:52:24 +02:00
Ray
6b88e106e0
REVIEW: GuitextBoxMulti()
-WIP-
2023-04-17 17:51:15 +02:00
Ray
87fc5aa72c
REVIEWED: GuiTextBoxMulti()
-WIP-
2023-04-17 01:18:56 +02:00
Ray
e0d3c02892
REVIEWED: GuiTextBox()
to support cursor movement
2023-04-17 00:36:31 +02:00
Ray
b80fa4016c
Minor tweaks
2023-04-16 21:49:10 +02:00
Ray
8c89d8794f
REVIEWED: Header info
2023-04-16 21:13:42 +02:00
Pierre Jaffuer
5d7bc6b70a
missleading doc in gui_curve_edit ( #269 )
...
EvalGuiCurve doesn't return normalized y.
2023-04-09 22:41:32 +02:00
Pierre Jaffuer
1d9fd31074
Added a new example: animation curves ( #268 )
...
* A somewhat advanced example with custom curve controls.
* Name update
* typos
* comments
2023-04-08 19:14:40 +02:00
Rob Loach
5d1de95ba2
Fix Rectangle instanitation with RAYGUI_CLITERAL ( #263 )
2023-03-19 11:13:49 +01:00
Rob Loach
abbf1b1198
[cmake] Update to raylib 4.5 ( #264 )
2023-03-19 11:13:17 +01:00
Ray
19f781780e
Update raygui.h
2023-03-07 23:16:06 +01:00
Ray
15a4151b66
Update controls_test_suite.c
2023-03-07 18:52:35 +01:00
Ray
f218fd001a
Remove trailing spaces
2023-03-06 14:58:12 +01:00
Jim Price
9f9b822338
Have GuiTextBox/GuiTextBoxMulti respect BORDER_WIDTH ( #260 )
...
GuiTextBox and GuiTextBoxMulti's focused and pressed state respect
the BORDER_WIDTH style setting, however in normal state this was
hard coded to 1. This change now allows users control over the borders
when in a normal state.
2023-03-06 13:25:29 +01:00
Ray
c02a5883e0
REVIEWED: fread()
/fwrite()
2023-02-25 01:08:49 +01:00
Ray
3cd28c0828
Update custom_sliders.c
2023-02-15 17:36:51 +01:00
Octave Decaux
cec2de3440
Added a new examples : vertical sliders and mouse-owning sliders ( #256 )
2023-02-02 15:13:34 +01:00
Ray
5b37ce0630
Added instructions to build shared library with MSVC #254
2023-01-23 20:00:48 +01:00
Ray
9e3c5009e4
FIX #252
2023-01-10 20:57:38 +01:00
Ray
42cc62e853
ADDED: GuiSetIconScale()
2023-01-10 20:57:31 +01:00
Ray
0ced5b1c0d
Merge branch 'master' of https://github.com/raysan5/raygui
2023-01-10 20:41:25 +01:00
Ray
32f16ceafd
FIX #247
2023-01-10 20:41:24 +01:00
KOLANICH
8f808dfe66
float-casting fixes in raygui.h in order to support compilation with clang 16 ( #250 )
2023-01-08 16:15:30 +01:00
Ray
b5e5271646
Update raygui.h
2023-01-04 17:30:05 +01:00
Ray
0aeac22701
Update year to 2023
2023-01-01 18:09:37 +01:00
Ray
78963b1817
Update year to 2023
2023-01-01 16:00:38 +01:00
Wytek01
fa8272d605
Update LICENSE ( #249 )
2023-01-01 12:55:15 +01:00
Rob Loach
9914eb8d94
gui_file_dialog: Fix warning ( #248 )
...
This change fixes a type warning in gui_file_dialog.h...
```
examples/custom_file_dialog/gui_file_dialog.h: In function ‘GuiFileDialog’:
examples/custom_file_dialog/gui_file_dialog.h:313:198: warning: passing argument 2 of ‘GuiListViewEx’ from incompatible pointer type [-Wincompatible-pointer-types]
313 | dowBounds.y + 48 + 20, state->windowBounds.width - 16, state->windowBounds.height - 60 - 16 - 68 }, dirFilesIcon, state->dirFiles.count, &state->itemFocused, &state->filesListScrollIndex, state->filesListActive);
| ^~~~~~~~~~~~
| |
| char **
In file included from examples/custom_file_dialog/gui_file_dialog.h:120
examples/custom_file_dialog/../../src/raygui.h:2762:50: note: expected ‘const char **’ but argument is of type ‘char **’
2762 | int GuiListViewEx(Rectangle bounds, const char **text, int count, int *focus, int *scrollIndex, int active)
```
2023-01-01 10:25:46 +01:00
Ray
64179558e4
ADDED: Tooltip API
2022-12-04 23:02:00 +01:00
Ray
85d6736be9
Consider tabs out of screen bounds
...
Avoid drawing tabs out of screen
2022-11-22 17:09:11 +01:00
Ray
bd4d2d860c
Avoid ALL warnings with MSVC
2022-11-10 16:48:06 +01:00
Rob Loach
3fedc2fac4
Fix having an extra bracket ( #243 )
2022-11-08 07:32:30 +01:00
Jeffery Myers
59cf0c7607
Use floor for mouse to cell mapping, it is more readable and would work for theoretical negative cell positions. ( #241 )
2022-11-07 19:22:28 +01:00
Ray
c16a98365f
REVERTED: GuiGrid()
cell compute, returning value was not right
...
It was validated on `rGuiIcons()`, returned value was not correct
2022-11-07 13:19:53 +01:00
Ray
03a3cce57b
ADDED: Two new icons
2022-11-07 13:13:03 +01:00
Ray
ad8e056b0c
REVIEWED: GuiFileDialog() #235
2022-11-07 12:45:38 +01:00
Ray
6e4cd54baa
REVIEWED: Parameter name #237
2022-11-07 11:18:54 +01:00
Jeffery Myers
a8062229b0
small fixes for strict compilers ( #240 )
2022-11-07 11:14:52 +01:00
Ray
d4b9d1fb32
Minor tweaks to avoid some warnings
2022-11-03 10:46:39 +01:00
Ray
abe8bba7fa
Merge branch 'master' of https://github.com/raysan5/raygui
2022-11-01 11:07:07 +01:00
Ray
1021907604
Update raygui.h
2022-11-01 11:06:59 +01:00
Jacob Dennis
9dc0b58566
Added Image struct def, updated Font struct to match raylib ( #236 )
...
Image is required for RAYGUI_STANDALONE flag to work
Font was out of sync with raylib master
Co-authored-by: jobat <jobat@toolbelt-games.com>
2022-10-31 17:47:35 +01:00
Ray
16e63f33ee
Update raygui.h
2022-10-24 18:32:35 +02:00
Ray
3386e912d3
Review literals to work with C++ and formatting details #233
2022-10-24 13:58:14 +02:00
Ray
0562c4c93f
Update raygui.h
2022-10-24 13:31:19 +02:00
Ray
d981abebd8
Update raygui.h
2022-10-22 11:30:14 +02:00
Ray
98df231227
Removed unneeded flag
2022-10-14 11:27:00 +02:00
Ray
ed4731ad9e
ADDED: GuiTabBar()
2022-10-13 17:15:49 +02:00
Ray
a3075fcaf4
Updated icons
2022-10-10 16:54:09 +02:00
Ray
5cb62810b9
REMOVED: Unneeded icon editing tools
2022-10-09 14:20:00 +02:00