From 588a411666de052fd237f9aaa857278ade420b51 Mon Sep 17 00:00:00 2001 From: oy Date: Sun, 20 Mar 2011 22:53:50 +0100 Subject: added a popup to create a new folder in the editor's file dialog and show an error if it fails --- src/game/editor/ed_editor.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/game/editor/ed_editor.h') 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); -- cgit 1.4.1