X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=laserbrain_demo;a=blobdiff_plain;f=src%2Fui.h;h=ed229cb791c56f48379362f53f398205cb027742;hp=dbd693dbabe3680bfe4fa712d518ee0b348d1509;hb=7ffa5c50d9254af9bd746fc5e6bc8e5db8eda675;hpb=017ce4cb4c27802eb620227fd822f5e4e03efa3b diff --git a/src/ui.h b/src/ui.h index dbd693d..ed229cb 100644 --- a/src/ui.h +++ b/src/ui.h @@ -4,11 +4,18 @@ #include #include +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_