RENAMED: gui_file_dialog -> gui_window_file_dialog

For consistency with other gui modules
This commit is contained in:
Ray
2023-06-17 17:00:54 +02:00
parent e6860d2e06
commit b6db462f72
3 changed files with 26 additions and 23 deletions

View File

@ -21,8 +21,8 @@
#include "../../src/raygui.h"
#undef RAYGUI_IMPLEMENTATION // Avoid including raygui implementation again
#define GUI_FILE_DIALOG_IMPLEMENTATION
#include "gui_file_dialog.h"
#define GUI_WINDOW_FILE_DIALOG_IMPLEMENTATION
#include "gui_window_file_dialog.h"
//------------------------------------------------------------------------------------
// Program main entry point
@ -38,7 +38,7 @@ int main()
SetExitKey(0);
// Custom file dialog
GuiFileDialogState fileDialogState = InitGuiFileDialog(GetWorkingDirectory());
GuiWindowFileDialogState fileDialogState = InitGuiWindowFileDialog(GetWorkingDirectory());
bool exitWindow = false;
@ -91,7 +91,7 @@ int main()
// GUI: Dialog Window
//--------------------------------------------------------------------------------
GuiFileDialog(&fileDialogState);
GuiWindowFileDialog(&fileDialogState);
//--------------------------------------------------------------------------------
//----------------------------------------------------------------------------------