GUI: system file picker error feedback
This commit is contained in:
parent
5f92a6ffa6
commit
28a2db7a57
3 changed files with 25 additions and 5 deletions
|
|
@ -28,6 +28,7 @@ class FurnaceGUIFileDialog {
|
|||
bool sysDialog;
|
||||
bool opened;
|
||||
bool saving;
|
||||
bool hasError;
|
||||
String curPath;
|
||||
String fileName;
|
||||
#ifdef USE_NFD
|
||||
|
|
@ -46,12 +47,14 @@ class FurnaceGUIFileDialog {
|
|||
void close();
|
||||
bool render(const ImVec2& min, const ImVec2& max);
|
||||
bool isOpen();
|
||||
bool isError();
|
||||
String getPath();
|
||||
String getFileName();
|
||||
explicit FurnaceGUIFileDialog(bool system):
|
||||
sysDialog(system),
|
||||
opened(false),
|
||||
saving(false),
|
||||
hasError(false),
|
||||
dialogO(NULL),
|
||||
dialogS(NULL) {}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue