fixed incorrect checking of the existence of GLX_EXT_swap_control and friends
[demo_prior] / src / osd.h
1 #ifndef OSD_H_
2 #define OSD_H_
3
4 #include <stdarg.h>
5
6 void set_message_timeout(long timeout);
7 void osd_printf(const char *fmt, ...);
8 void show_message(long timeout, float r, float g, float b, const char *fmt, ...);
9 void show_messagev(long timeout, float r, float g, float b, const char *fmt, va_list ap);
10
11 void print_text(float x, float y, float r, float g, float b, const char *fmt, ...);
12 void print_textv(float x, float y, float r, float g, float b, const char *fmt, va_list ap);
13
14 void draw_osd(void);
15
16 #endif  /* OSD_H_ */