25 Commits

Author SHA1 Message Date
Ray
22ad8f642a Update copyright year 2024-01-02 21:01:38 +01:00
Hanaxar
7567816d3e
OS Specific path seperator char (#316)
* OS Specific path seperator char

Adds OS specific path seperator char

* Update gui_window_file_dialog.h

* Update custom_file_dialog.c
2023-08-02 19:18:22 +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
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
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
Rob Loach
c8a2e7d442
Update to raylib 4.2 (#223) 2022-08-21 11:42:24 +02:00
Ray
47269f30ce WARNING: RENAMED: GetDroppedFiles() to LoadDroppedFiles() 2022-06-06 20:40:09 +02:00
Ray
2f127b3e83 REVIEWED: Possible memory leak #202 2022-06-02 20:11:05 +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
Daniel Fortes
0dd763f4a4
Added 'saveFileMode' option to file dialog state (#177) 2022-03-10 11:06:57 +01:00
raysan5
eface74b13 Update year to 2022 2021-12-31 20:06:32 +01:00
aleepo
a611c16e66
fix typo (#171) 2021-12-26 22:11:17 +01:00
raysan5
7c63e389b8 Reviewed examples for latest raygui/raylib 2021-10-05 14:10:35 +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
f5bd6c08f8 Update gui_file_dialog.h 2020-12-18 20:06:38 +01: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
8d5f8f28a4 Review LIST_ITEMS_HEIGHT property 2020-02-07 11:40:59 +01: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