diff options
Diffstat (limited to 'engines/macventure/dialog.h')
-rw-r--r-- | engines/macventure/dialog.h | 33 |
1 files changed, 1 insertions, 32 deletions
diff --git a/engines/macventure/dialog.h b/engines/macventure/dialog.h index e773956b09..66d68e358e 100644 --- a/engines/macventure/dialog.h +++ b/engines/macventure/dialog.h @@ -26,44 +26,13 @@ #include "graphics/macgui/macwindowmanager.h" #include "macventure/macventure.h" -#include "macventure/gui.h" - +#include "macventure/prebuilt_dialogs.h" namespace MacVenture { using namespace Graphics::MacGUIConstants; class Gui; - class DialogElement; -enum DialogAction { - kDANone, - kDACloseDialog, - kDASubmit, - kDASaveAs -}; - -enum PrebuiltDialogs { - kSaveAsDialog = 0, - kSpeakDialog = 1, - kPrebuiltDialogCount -}; - -enum PrebuiltElementType { - kDEPlainText, - kDEButton, - kDETextInput, - kDEEnd -}; - -struct PrebuiltDialogElement { - PrebuiltElementType type; - Common::String title; - DialogAction action; - Common::Point position; - uint width; - uint height; -}; - class Dialog { public: Dialog(Gui *gui, Common::Point pos, uint width, uint height); |