diff options
| author | oy <Tom_Adams@web.de> | 2011-03-20 22:53:50 +0100 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-03-20 22:53:50 +0100 |
| commit | 588a411666de052fd237f9aaa857278ade420b51 (patch) | |
| tree | 5c934bf0eb635e87db3c2344a3145e9fe17fee47 /src/game/editor/ed_editor.h | |
| parent | 8d159ce65a867889db62c4827f25951de33fe106 (diff) | |
| download | zcatch-588a411666de052fd237f9aaa857278ade420b51.tar.gz zcatch-588a411666de052fd237f9aaa857278ade420b51.zip | |
added a popup to create a new folder in the editor's file dialog and show an error if it fails
Diffstat (limited to 'src/game/editor/ed_editor.h')
| -rw-r--r-- | src/game/editor/ed_editor.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/editor/ed_editor.h b/src/game/editor/ed_editor.h index 61af9249..7e96e5c8 100644 --- a/src/game/editor/ed_editor.h +++ b/src/game/editor/ed_editor.h @@ -567,6 +567,8 @@ public: int m_FileDialogFileType; float m_FileDialogScrollValue; int m_FilesSelectedIndex; + char m_FileDialogNewFolderName[64]; + char m_FileDialogErrString[64]; struct CFilelistItem { @@ -655,6 +657,7 @@ public: static int PopupLayer(CEditor *pEditor, CUIRect View); static int PopupQuad(CEditor *pEditor, CUIRect View); static int PopupPoint(CEditor *pEditor, CUIRect View); + static int PopupNewFolder(CEditor *pEditor, CUIRect View); static int PopupSelectImage(CEditor *pEditor, CUIRect View); static int PopupSelectGametileOp(CEditor *pEditor, CUIRect View); static int PopupImage(CEditor *pEditor, CUIRect View); |