some code in the exhibit ui, and first stab at laying out the
[laserbrain_demo] / src / ui.h
index 1ed6c27..ed229cb 100644 (file)
--- a/src/ui.h
+++ b/src/ui.h
@@ -1,8 +1,20 @@
 #ifndef UI_H_
 #define UI_H_
 
+#include <stdarg.h>
+#include <gmath/gmath.h>
+
+struct dtx_font;
+extern dtx_font *ui_font;
+extern int ui_font_size;
+
 void set_message_timeout(long timeout);
 void show_message(const char *fmt, ...);
+void show_message(long timeout, const Vec3 &color, const char *fmt, ...);
+void show_messagev(long timeout, const Vec3 &color, const char *fmt, va_list ap);
+
+void print_text(const Vec2 &pos, const Vec3 &color, const char *fmt, ...);
+void print_textv(const Vec2 &pos, const Vec3 &color, const char *fmt, va_list ap);
 
 void draw_ui();