aboutsummaryrefslogtreecommitdiff
path: root/engines/macventure/prebuilt_dialogs.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/macventure/prebuilt_dialogs.h')
-rw-r--r--engines/macventure/prebuilt_dialogs.h32
1 files changed, 3 insertions, 29 deletions
diff --git a/engines/macventure/prebuilt_dialogs.h b/engines/macventure/prebuilt_dialogs.h
index 34df91e51b..1e708dbb67 100644
--- a/engines/macventure/prebuilt_dialogs.h
+++ b/engines/macventure/prebuilt_dialogs.h
@@ -1,4 +1,3 @@
-
/* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
@@ -24,7 +23,10 @@
#ifndef MACVENTURE_PREBUIT_DIALOGS_H
#define MACVENTURE_PREBUIT_DIALOGS_H
+#include "common/rect.h"
+
namespace MacVenture {
+
enum DialogAction {
kDANone,
kDACloseDialog,
@@ -54,7 +56,6 @@ struct PrebuiltDialogElement {
uint height;
};
-
// Prebuilt dialogs
enum {
// HACK
@@ -65,33 +66,6 @@ struct PrebuiltDialog {
Common::Rect bounds;
PrebuiltDialogElement elements[kMaxPrebuiltDialogElements];
};
-
-PrebuiltDialog prebuiltDialogs[kPrebuiltDialogCount] = {
-
- {/* kSaveAsDialog */
- Common::Rect(0, 146, 456, 254),
- {
- {kDEButton, "YES", kDASaveAs, Common::Point(24, 68), 120, 22},
- {kDEButton, "NO", kDACloseDialog, Common::Point(168, 68), 120, 22},
- {kDEButton, "CANCEL", kDACloseDialog, Common::Point(312, 68), 120, 22},
- {kDEPlainText, "Save As...", kDANone, Common::Point(100, 10), 340, 38},
- {kDETextInput, "", kDANone, Common::Point(100, 30), 340, 20},
- {kDEEnd, "", kDANone, Common::Point(0, 0), 0, 0}
- }
- },
-
- { /* kSpeakDialog */
- Common::Rect(20, 92, 400, 200),
- {
- {kDEButton, "OK", kDASubmit, Common::Point(10, 70), 50, 20},
- {kDEButton, "CANCEL", kDACloseDialog, Common::Point(96, 70), 50, 20},
- {kDEPlainText, "What would you like to say?", kDANone, Common::Point(10, 10), 400, 20},
- {kDETextInput, "", kDANone, Common::Point(10, 25), 350, 40},
- {kDEEnd, "", kDANone, Common::Point(0, 0), 0, 0}
- }
- }
-
-};
} // End of namespace MacVenture
#endif