#include <file_util.h>
Static Public Member Functions | |
| static std::string | ShowOpenFileDialog () |
| ShowOpenFileDialog opens a file dialog and returns the selected filepath. Uses global feature flag to choose implementation. | |
| static std::string | ShowOpenFolderDialog () |
| ShowOpenFolderDialog opens a file dialog and returns the selected folder path. Uses global feature flag to choose implementation. | |
| static std::string | ShowSaveFileDialog (const std::string &default_name="", const std::string &default_extension="") |
| ShowSaveFileDialog opens a save file dialog and returns the selected filepath. Uses global feature flag to choose implementation. | |
| static std::string | ShowOpenFileDialogNFD () |
| static std::string | ShowOpenFileDialogBespoke () |
| static std::string | ShowSaveFileDialogNFD (const std::string &default_name="", const std::string &default_extension="") |
| static std::string | ShowSaveFileDialogBespoke (const std::string &default_name="", const std::string &default_extension="") |
| static std::string | ShowOpenFolderDialogNFD () |
| static std::string | ShowOpenFolderDialogBespoke () |
| static std::vector< std::string > | GetSubdirectoriesInFolder (const std::string &folder_path) |
| static std::vector< std::string > | GetFilesInFolder (const std::string &folder_path) |
Definition at line 10 of file file_util.h.
|
static |
ShowOpenFileDialog opens a file dialog and returns the selected filepath. Uses global feature flag to choose implementation.
Definition at line 14 of file file_dialog_nfd.cc.
Referenced by yaze::editor::ProjectFileEditor::Draw(), yaze::editor::GraphicsEditor::DrawCgxImport(), yaze::editor::SpriteEditor::DrawCustomSpritesMetadata(), yaze::editor::MessageEditor::DrawExpandedMessageSettings(), yaze::editor::GraphicsEditor::DrawFileImport(), yaze::editor::AssemblyEditor::DrawFileMenu(), yaze::editor::PopupManager::DrawNewProjectPopup(), yaze::editor::GraphicsEditor::DrawObjImport(), yaze::editor::ScreenEditor::DrawOverworldMapEditor(), yaze::editor::GraphicsEditor::DrawPaletteControls(), yaze::editor::GraphicsEditor::DrawScrImport(), yaze::test::TestManager::DrawTestDashboard(), yaze::editor::GraphicsEditor::DrawTilemapImport(), yaze::editor::AssemblyEditor::DrawToolbarContent(), yaze::editor::EditorManager::EditorManager(), yaze::editor::ProjectFileEditor::ImportLabelsFromZScream(), yaze::editor::LinkSpritePanel::ImportZspr(), yaze::editor::ScreenEditor::LoadBinaryGfx(), yaze::zelda3::LoadDungeonMapGfxFromBinary(), yaze::editor::EditorManager::LoadProjectWithRom(), yaze::editor::EditorManager::LoadRom(), yaze::editor::EditorManager::OpenProject(), yaze::emu::ui::RenderNavBar(), ShowOpenFileDialogBespoke(), ShowOpenFileDialogNFD(), yaze::gui::ThemeManager::ShowSimpleThemeEditor(), yaze::gui::ThemeManager::ShowThemeSelector(), and yaze::editor::MemoryEditor::Update().
|
static |
ShowOpenFolderDialog opens a file dialog and returns the selected folder path. Uses global feature flag to choose implementation.
Definition at line 29 of file file_dialog_nfd.cc.
Referenced by yaze::editor::AssemblyEditor::DrawFileBrowser(), yaze::editor::PopupManager::DrawNewProjectPopup(), yaze::editor::AssemblyEditor::DrawToolbarContent(), yaze::editor::AssemblyEditor::DrawToolset(), yaze::editor::EditorManager::EditorManager(), ShowOpenFolderDialogBespoke(), and ShowOpenFolderDialogNFD().
|
static |
ShowSaveFileDialog opens a save file dialog and returns the selected filepath. Uses global feature flag to choose implementation.
Definition at line 42 of file file_dialog_nfd.cc.
Referenced by yaze::editor::ProjectFileEditor::Draw(), yaze::editor::MessageEditor::DrawExpandedMessageSettings(), yaze::editor::PopupManager::DrawNewProjectPopup(), yaze::editor::ScreenEditor::DrawOverworldMapEditor(), yaze::editor::PopupManager::DrawSaveAsPopup(), yaze::editor::EditorManager::SaveProjectAs(), yaze::editor::SpriteEditor::SaveZsmFileAs(), ShowSaveFileDialogBespoke(), ShowSaveFileDialogNFD(), and yaze::gui::ThemeManager::ShowSimpleThemeEditor().
|
static |
Definition at line 97 of file file_dialog_nfd.cc.
References ShowOpenFileDialog().
Referenced by yaze::test::TestManager::DrawTestDashboard().

|
static |
Definition at line 101 of file file_dialog_nfd.cc.
References ShowOpenFileDialog().
Referenced by yaze::test::TestManager::DrawTestDashboard().

|
static |
Definition at line 105 of file file_dialog_nfd.cc.
References ShowSaveFileDialog().

|
static |
Definition at line 110 of file file_dialog_nfd.cc.
References ShowSaveFileDialog().

|
static |
Definition at line 115 of file file_dialog_nfd.cc.
References ShowOpenFolderDialog().

|
static |
Definition at line 119 of file file_dialog_nfd.cc.
References ShowOpenFolderDialog().

|
static |
Definition at line 62 of file file_dialog_nfd.cc.
Referenced by yaze::editor::anonymous_namespace{assembly_editor.cc}::LoadFolder().
|
static |
Definition at line 79 of file file_dialog_nfd.cc.
Referenced by yaze::gui::ThemeManager::DiscoverAvailableThemeFiles(), and yaze::editor::anonymous_namespace{assembly_editor.cc}::LoadFolder().