aboutsummaryrefslogtreecommitdiffstats
path: root/menu.h
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2012-10-30 21:29:30 +0000
committerJonathan McCrohan <jmccrohan@gmail.com>2012-10-30 21:29:30 +0000
commit62f81e5cafbacfb90ac0f86e52e8e3176aa5ba8f (patch)
tree8f8f6028fa880b3296b1e42bc8d87cead73aaf78 /menu.h
downloaddhex-62f81e5cafbacfb90ac0f86e52e8e3176aa5ba8f.tar.gz
Imported Upstream version 0.65upstream/0.65
Diffstat (limited to 'menu.h')
-rw-r--r--menu.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/menu.h b/menu.h
new file mode 100644
index 0000000..0bf5bb3
--- /dev/null
+++ b/menu.h
@@ -0,0 +1,19 @@
+#ifndef MENU_H
+#define MENU_H
+#include <stdio.h>
+#include "machine_type.h"
+#include "config.h"
+#include "output.h"
+#include "datatypes.h"
+
+
+void clearMenu(tMenu* Menu);
+void newMenuItem(tMenu* Menu,char* text,tUInt16 y,tUInt16 x,char hotkey,tBool active,tInt8* itemnum);
+void printMenu(tOutput* output,tMenu* Menu,tUInt16 offsy,tUInt16 offsx);
+void MenuMoveLeft(tMenu* Menu);
+void MenuMoveRight(tMenu* Menu);
+void MenuMoveUp(tMenu* Menu);
+void MenuMoveDown(tMenu* Menu);
+void MenuSetActiveItem(tMenu* Menu,tInt8 itemnum);
+tInt8 MenuInteract(tOutput* output,tMenu* Menu,tInt16 offsy,tInt16 offsx);
+#endif