some code in the exhibit ui, and first stab at laying out the
[laserbrain_demo] / src / ui.h
index dbd693d..ed229cb 100644 (file)
--- a/src/ui.h
+++ b/src/ui.h
@@ -4,11 +4,18 @@
 #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();
 
 #endif // UI_H_