Dialog media include more formats

Integrate exotic file extensions and uppercase equivalent of all possible files to select with dialogs. 
Code cleanup
This commit is contained in:
Bruno
2021-08-06 16:43:25 +02:00
parent a9c9683b8b
commit 8c206898f0
4 changed files with 47 additions and 40 deletions

View File

@@ -20,6 +20,7 @@ protected:
std::string directory_;
std::string path_;
std::vector< std::future<std::string> >promises_;
static bool busy_;
public:
FileDialog(const std::string &name);
@@ -28,7 +29,7 @@ public:
virtual bool closed();
inline std::string path() const { return path_; }
static bool pending;
static bool busy() { return busy_; }
};
class OpenImageDialog : public FileDialog