193 Commits

Author SHA1 Message Date
Ray
8fef0f4fc0 Support style change on controls_test_suite example 2023-07-04 18:57:04 +02:00
Ray
32ae0cf716 Update animation_curve.c 2023-06-17 19:47:04 +02:00
Ray
7f70abc5db RENAMED gui module for consistency 2023-06-17 17:03:36 +02:00
Ray
b6db462f72 RENAMED: gui_file_dialog -> gui_window_file_dialog
For consistency with other gui modules
2023-06-17 17:00:54 +02:00
Ray
e6860d2e06 REVIEWED: Code formating 2023-06-17 16:47:51 +02:00
Ray
c17e0cd5d9 REVIEWED: Animation curve examples
ADDED: Example to VS2022 solution
2023-06-17 14:04:53 +02:00
Caleb Barger
b9991686d5
Update filename's buf size to match GuiTextBox size param. (#290) 2023-06-03 20:28:31 +02:00
Ray
de7d3de282 Revert "Update portable_window.c"
This reverts commit 5e77b2ca6f46cf7b84a4689518d8b343a3582ca5.
2023-05-31 21:59:24 +02:00
Ray
5e77b2ca6f Update portable_window.c 2023-05-31 18:14:07 +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
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