aboutsummaryrefslogtreecommitdiff
path: root/include/ui33.h
diff options
context:
space:
mode:
authorpk33 <pk33@pk33.space>2024-11-11 18:06:18 +0100
committerpk33 <pk33@pk33.space>2024-11-11 18:06:18 +0100
commit5a54774474f43ae29716751d6415563a59b92c7d (patch)
tree151e865845b09b85992d8be20d8cc771d4110448 /include/ui33.h
parent146a683b8d8315ef15dc1c9286f0983834f48d88 (diff)
downloadengine33-5a54774474f43ae29716751d6415563a59b92c7d.tar.gz
tidying up and basic input
Diffstat (limited to 'include/ui33.h')
-rw-r--r--include/ui33.h30
1 files changed, 25 insertions, 5 deletions
diff --git a/include/ui33.h b/include/ui33.h
index 7aa489c..22208fe 100644
--- a/include/ui33.h
+++ b/include/ui33.h
@@ -1,9 +1,29 @@
-#ifndef __UI_H__
-#define __UI_H__
+#ifndef __UI33_H__
+#define __UI33_H__
-void ui_add_message( String fmt, ... );
-void ui_draw_messages( void );
+#define UI33_BLACK 0
+#define UI33_RED 1
+#define UI33_GREEN 2
+#define UI33_BLUE 3
+#define UI33_YELLOW 4
+#define UI33_ORANGE 5
+#define UI33_MAGENTA 6
+#define UI33_CYAN 7
+#define UI33_WHITE 8
-#endif /** UI **/
+
+typedef struct {
+ Size x, y;
+} Mouse33;
+
+extern Mouse33 __mouse;
+
+
+void ui33_add_message( String fmt, ... );
+void ui33_draw_messages( void );
+void ui33_draw_mouse( void );
+
+
+#endif /** UI33_H **/