Nui
|
Classes | |
struct | Filter |
struct | OpenDialogOptions |
struct | DirectoryDialogOptions |
struct | SaveDialogOptions |
Functions | |
std::optional< std::vector< std::filesystem::path > > | showOpenDialog (OpenDialogOptions const &options) |
std::optional< std::vector< std::filesystem::path > > | showDirectoryDialog (DirectoryDialogOptions const &options) |
std::optional< std::filesystem::path > | showSaveDialog (SaveDialogOptions const &options) |
void | showOpenDialog (OpenDialogOptions const &options, std::function< void(std::optional< std::vector< std::filesystem::path >>)> onResult) |
void | showDirectoryDialog (DirectoryDialogOptions const &options, std::function< void(std::optional< std::vector< std::filesystem::path >>)> onResult) |
void | showSaveDialog (SaveDialogOptions const &options, std::function< void(std::optional< std::filesystem::path >)> onResult) |
template<typename T > | |
void | to_json_common (nlohmann::json &json, T const &options) |
template<typename T > | |
void | from_json_common (nlohmann::json const &json, T &options) |
void | to_json (nlohmann::json &json, OpenDialogOptions const &options) |
void | from_json (nlohmann::json const &json, OpenDialogOptions &options) |
void | to_json (nlohmann::json &json, DirectoryDialogOptions const &options) |
void | from_json (nlohmann::json const &json, DirectoryDialogOptions &options) |
void | to_json (nlohmann::json &json, SaveDialogOptions const &options) |
void | from_json (nlohmann::json const &json, SaveDialogOptions &options) |
void Nui::FileDialog::from_json | ( | nlohmann::json const & | json, |
DirectoryDialogOptions & | options | ||
) |
void Nui::FileDialog::from_json | ( | nlohmann::json const & | json, |
OpenDialogOptions & | options | ||
) |
void Nui::FileDialog::from_json | ( | nlohmann::json const & | json, |
SaveDialogOptions & | options | ||
) |
void Nui::FileDialog::from_json_common | ( | nlohmann::json const & | json, |
T & | options | ||
) |
std::optional< std::vector< std::filesystem::path > > Nui::FileDialog::showDirectoryDialog | ( | DirectoryDialogOptions const & | options | ) |
void Nui::FileDialog::showDirectoryDialog | ( | DirectoryDialogOptions const & | options, |
std::function< void(std::optional< std::vector< std::filesystem::path >>)> | onResult | ||
) |
std::optional< std::vector< std::filesystem::path > > Nui::FileDialog::showOpenDialog | ( | OpenDialogOptions const & | options | ) |
void Nui::FileDialog::showOpenDialog | ( | OpenDialogOptions const & | options, |
std::function< void(std::optional< std::vector< std::filesystem::path >>)> | onResult | ||
) |
std::optional< std::filesystem::path > Nui::FileDialog::showSaveDialog | ( | SaveDialogOptions const & | options | ) |
void Nui::FileDialog::showSaveDialog | ( | SaveDialogOptions const & | options, |
std::function< void(std::optional< std::filesystem::path >)> | onResult | ||
) |
void Nui::FileDialog::to_json | ( | nlohmann::json & | json, |
DirectoryDialogOptions const & | options | ||
) |
void Nui::FileDialog::to_json | ( | nlohmann::json & | json, |
OpenDialogOptions const & | options | ||
) |
void Nui::FileDialog::to_json | ( | nlohmann::json & | json, |
SaveDialogOptions const & | options | ||
) |
void Nui::FileDialog::to_json_common | ( | nlohmann::json & | json, |
T const & | options | ||
) |