ok now it works nicely in VR
[vrtris] / src / osd.h
1 #ifndef OSD_H_
2 #define OSD_H_
3
4 #include <stdarg.h>
5
6 struct dtx_font;
7
8 struct dtx_font *ui_font;
9 int ui_font_size;
10
11 void set_message_timeout(long timeout);
12 void osd_printf(const char *fmt, ...);
13 void show_message(long timeout, float r, float g, float b, const char *fmt, ...);
14 void show_messagev(long timeout, float r, float g, float b, const char *fmt, va_list ap);
15
16 void print_text(float x, float y, float r, float g, float b, const char *fmt, ...);
17 void print_textv(float x, float y, float r, float g, float b, const char *fmt, va_list ap);
18
19 void draw_osd(void);
20
21 #endif  /* OSD_H_ */