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
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
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
2b45fea429
Update examples
2023-04-20 14:24:15 +02:00
Ray
8de6bf1d63
REVIEWED: GuiTextBox()
cursor automovement on key down
...
REMOVED: `GuiTextBoxMulti()`
2023-04-19 16:38:30 +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
Ray
15a4151b66
Update controls_test_suite.c
2023-03-07 18:52:35 +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
9e3c5009e4
FIX #252
2023-01-10 20:57:38 +01:00
Ray
78963b1817
Update year to 2023
2023-01-01 16:00:38 +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
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
c49cbc9849
Remove old/buggy examples
2022-09-10 10:24:50 +02:00
Rob Loach
c8a2e7d442
Update to raylib 4.2 ( #223 )
2022-08-21 11:42:24 +02:00
Ray
4e2a878e71
Update year
2022-07-25 00:51:43 +02:00
Ray
9c826f213f
Updated examples to new raylib 4.2
files API
2022-06-29 19:45:47 +02:00
Ray
7ef0ae713b
Update controls_test_suite.c
2022-06-29 19:18:10 +02:00
Ray
47269f30ce
WARNING: RENAMED: GetDroppedFiles()
to LoadDroppedFiles()
2022-06-06 20:40:09 +02:00
Ray
c29da799cc
Update style_selector.c
2022-06-03 11:48:33 +02:00
Ray
2f127b3e83
REVIEWED: Possible memory leak #202
2022-06-02 20:11:05 +02:00
Ray
1f920bf264
REVIEWED: guiIconScale #196
2022-06-02 19:56:21 +02:00
Ray
4232b2a0e7
REVIEWED: Created VS2022 projects for examples
...
Some renames and reviews
2022-06-01 20:40:42 +02:00
gulrak
013f1a2772
add distinct icon-only buffer for internal use ( #208 )
2022-05-29 17:26:08 +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
Rob Loach
151c4c5dce
Update the examples to match the latest raygui.h ( #184 )
2022-03-14 22:20:20 +01:00
Daniel Fortes
0dd763f4a4
Added 'saveFileMode' option to file dialog state ( #177 )
2022-03-10 11:06:57 +01:00
raysan5
b472287b0a
Update gui_scroll_panel.c
2022-02-05 20:19:03 +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
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
Ricardo Matsui
c7eb926853
Fix examples build for macOS ( #172 )
2022-01-06 11:30:36 +01:00
raysan5
eface74b13
Update year to 2022
2021-12-31 20:06:32 +01:00
raysan5
37bc50cad3
Update controls_test_suite.c
2021-12-29 20:04:21 +01:00
aleepo
a611c16e66
fix typo ( #171 )
2021-12-26 22:11:17 +01:00
Ray
43209cf627
Update controls_test_suite.c
2021-12-21 23:26:30 +01:00
Ray
61c6bd22f9
Moved extra controls to extra directory
2021-11-02 11:35:33 +01:00
raysan5
f822fb1468
REVIEWED: API functions specifiers
2021-10-05 18:33:02 +02:00
raysan5
7c63e389b8
Reviewed examples for latest raygui/raylib
2021-10-05 14:10:35 +02:00
raysan5
2bb3e17c1e
REVIEWED: GuiDropdownBox()
locking mechanism #139
2021-10-05 11:23:58 +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
Ray
c3dc43d4c5
REVIEWED: Consistency with raylib
2021-09-02 00:36:37 +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
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
bad9c8bb58
Replace TABS by 4 spaces
2021-07-28 12:55:58 +02:00
Ray
78f24a3868
Update text_editor.c
2021-06-23 09:59:37 +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
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
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
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
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
Rob Loach
fa8b958a91
Move CMake files to projects/CMake ( #87 )
...
Fixes #86
2020-05-01 13:31:15 +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
raysan5
3e1d420e60
Review examples copyright
2020-04-07 23:04:39 +02:00
raysan5
7f4794c31d
Review gui_file_dialog with proposed improvements
...
Proposed improvements in: https://github.com/raysan5/raylib/issues/1101
2020-04-06 23:20:38 +02:00
Ray
d3c810311c
REVIEWED: GuiTextBoxMulti() #54
...
Simplified code, avoid line breaking.
WARNING: If a line is longer than box width, it crashes... word-wrap implementation requires some review...
2020-03-11 16:00:09 +01:00
Vlad Adrian
d878d38e40
Added new example for a property list control ( #76 )
2020-03-11 12:32:56 +01:00
Ray
ffdeef8d17
Experimenting with a tooltips API
...
Found several limitations:
- Tooltip timming can not be properly set on imgui mode
- Tooltip underlap to controls drawn after current control
Still, a quite interesting feature for further analysis.
2020-02-20 16:36:18 +01:00
Ray
d297b5d7d9
GuiTextEditor() control example -WIP-
2020-02-10 23:57:51 +01:00
hagna
fd349ca95c
Fix parameters and guess at constants ( #70 )
2020-02-08 01:13:04 +01:00
Ray
8d5f8f28a4
Review LIST_ITEMS_HEIGHT property
2020-02-07 11:40:59 +01:00
Ray
146068751c
Improved standalone support and example
2020-01-22 13:43:46 +01:00
Ray
f296f53a1c
Review defines
2019-11-26 00:54:13 +01:00
Ray
9fd0f91dea
Rename and review textbox_extended_demo
2019-11-25 19:41:40 +01:00
Ray
a2c5ffc272
Move text box extended to separate module
2019-11-25 19:07:40 +01:00
Ray
54fcb03380
RENAMED: GuiState() > GuiSetState()
...
ADDED: GuiGetState()
2019-09-03 15:45:14 +02:00
Ray
ad3531609c
Review some functions
...
- GetTextBounds(), adapted to new TEXT_PADDING property, it probably still requires some work...
- GuiDropdownBox(), reviewed and corrected some issues on item selection.
- GuiLoadStyle(), adapted binary file loading code
- Reviewed some default style properties
2019-09-02 23:18:25 +02:00
raysan5
1adfb6cef5
Review properties naming
...
Replaced INNER_PADDING by TEXT_PADDING -WIP-
2019-09-01 11:49:56 +02:00
Ray
462ba6b373
RENAMED: GuiFont() to GuiSetFont()
...
ADDED: GuiGetFont()
2019-08-26 00:56:58 +02:00
raysan5
177f345afb
REDESIGNED: GuiTextInputBox()
...
Support text message (if provided).
2019-08-21 21:18:38 +02:00
raysan5
4ec4419635
Review GuiStatusBar() and GuiWindowBox()
2019-08-21 20:02:21 +02:00
Ray
737e866ec2
Redesigning GuiTextInputBox() -WIP-
2019-08-19 15:22:29 +02:00
Ray
6986d2217b
REDESIGNED: GuiSpinner(), GuiValueBox()
2019-08-18 17:59:00 +02:00
Ray
a0f8268529
REVIEW: GuiCheckBox() text alignment
2019-08-16 17:23:18 +02:00
Ray
473109bfa8
WARNING: Breaking changes
...
REDESIGNED: GuiSlider()
REDESIGNED: GuiSliderBar()
REDESIGNED: GuiProgressBar()
Avoiding the infamous `showValue` parameter, now left-right text could be directly provided by the user.
2019-08-16 16:59:27 +02:00
Ray
4dc742d4d3
Added examples Makefile
2019-08-16 16:30:37 +02:00
Ray
4ac6419e7e
Review examples to latest raygui
2019-08-16 16:07:07 +02:00
Ray
1114400fe1
Added some tweaks and comments
2019-08-15 13:59:18 +02:00
raysan5
d2d370ef41
new example: custom_file_dialog
2019-08-11 12:02:43 +02:00
raysan5
9e02b9b51f
Move gui_file_dialogs to another example
2019-08-11 12:02:18 +02:00
raysan5
7e971886b0
REVIEW: GuiTextInputBox()
2019-08-10 13:12:40 +02:00
Ray
2ecc35ba05
Added gui_file_dialog -WIP-
2019-08-08 22:56:56 +02:00
Ray
ca81d6251d
WARNING: Redesigned controls
...
- GuiListVIew(), GuiListViewEx() redesigned, code simplified, avoiding GuiListElement()
- GuiDropdownBox() redesigned, avoiding GuiListElement()
- REMOVED: GuiListElement()
2019-08-07 00:37:54 +02:00
Ray
b2b7528709
ADDED: GuiTextInputBox()
2019-08-02 17:19:00 +02:00
raysan5
32d6ba6f5a
Renamed flag RAYGUI_RICONS_SUPPORT > RAYGUI_SUPPORT_RICONS
2019-07-29 13:59:15 +02:00
raysan5
845cf9559e
Update raygui
2019-07-28 16:20:00 +02:00
Leandro Gabriel
79b49afe17
Update year of copyright notices and fix typo ( #46 )
...
* Update year of copyright notices
And add missing license information to image_exporter.c
* Fix typo ("immedite")
2019-07-24 01:09:06 +02:00
Ray
f157062acd
Review examples
2019-07-05 20:47:15 +02:00
Ray
511c2254c9
Update examples
2019-07-03 01:29:18 +02:00
Ray
4401da21f0
Support styles loading with drag and drop
2019-06-25 18:40:02 +02:00