Cleanup UserInterface and save its settings

This commit is contained in:
brunoherbelin
2020-04-27 23:50:54 +02:00
parent 7282760f69
commit 917c184dad
9 changed files with 332 additions and 276 deletions

View File

@@ -67,7 +67,16 @@ public:
return _instance;
}
static void RenderCurrent();
// Open an Open File dialog for TEXT file
static void SetCurrentOpenText();
// Open an Open File dialog for IMAGE file
static void SetCurrentOpenImage();
// Open an Open File dialog for MEDIA file
static void SetCurrentOpenMedia();
protected:
FileDialog(); // Prevent construction
FileDialog(const FileDialog&) {}; // Prevent construction by copying
FileDialog& operator =(const FileDialog&) { return *this; }; // Prevent assignment
@@ -107,4 +116,4 @@ private:
};
#endif // __IMGUI_FILE_DIALOG_H_
#endif // __IMGUI_FILE_DIALOG_H_