20namespace NAV::gui::widgets
33 const char* vFilters,
const std::vector<std::string>& extensions,
34 const std::filesystem::path& startPath,
35 size_t id,
const std::string& nameId,
36 const char* buttonText =
"Choose");
49 const char* vFilters,
const std::vector<std::string>& extensions,
50 const std::filesystem::path& startPath,
51 size_t id,
const std::string& nameId,
52 const char* buttonText =
"Choose");
bool FileDialogSave(std::string &path, const char *vName, const char *vFilters, const std::vector< std::string > &extensions, const std::filesystem::path &startPath, size_t id, const std::string &nameId, const char *buttonText="Choose")
Shows an InputText and a button which opens a file dialog to select a path to save a file to.
bool FileDialogLoad(std::string &path, const char *vName, const char *vFilters, const std::vector< std::string > &extensions, const std::filesystem::path &startPath, size_t id, const std::string &nameId, const char *buttonText="Choose")
Shows an InputText and a button which opens a file dialog to select a path to load a file to.