aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/vmenu.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cge/vmenu.h')
-rw-r--r--engines/cge/vmenu.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/engines/cge/vmenu.h b/engines/cge/vmenu.h
new file mode 100644
index 0000000000..c4d3a8df18
--- /dev/null
+++ b/engines/cge/vmenu.h
@@ -0,0 +1,45 @@
+#ifndef __VMENU__
+#define __VMENU__
+
+#include "talk.h"
+
+#define MB_VM 1
+#define MB_HM 3
+
+
+
+typedef struct { char * Text; void (* Proc)(void); } CHOICE;
+
+
+
+
+
+
+class MENU_BAR : public TALK
+{
+public:
+ MENU_BAR (word w);
+};
+
+
+
+
+
+
+
+class VMENU : public TALK
+{
+ word Items;
+ CHOICE * Menu;
+public:
+ static VMENU * Addr;
+ static int Recent;
+ MENU_BAR * Bar;
+ VMENU (CHOICE * list, int x, int y);
+ ~VMENU (void);
+ void Touch (word mask, int x, int y);
+};
+
+
+
+#endif