088fb8288129d6f8f2fb930e08dd0c30cb9b13fa
[laserbrain_demo] / src / ui.h
1 #ifndef UI_H_
2 #define UI_H_
3
4 #include <stdarg.h>
5 #include <gmath/gmath.h>
6
7 void set_message_timeout(long timeout);
8 void show_message(const char *fmt, ...);
9 void show_message(long timeout, const Vec3 &color, const char *fmt, ...);
10 void show_messagev(long timeout, const Vec3 &color, const char *fmt, va_list ap);
11
12 void print_text(const Vec2 &pos, const Vec3 &color, const char *fmt, ...);
13 void print_textv(const Vec2 &pos, const Vec3 &color, const char *fmt, va_list ap);
14
15 void draw_ui();
16
17 #endif  // UI_H_