X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=demo_prior;a=blobdiff_plain;f=src%2Fosd.h;fp=src%2Fosd.h;h=ac0e6e4901571f725fce2030029a19489eb856c0;hp=0000000000000000000000000000000000000000;hb=2f14a35e7d557da12f24056267b911f24774aa18;hpb=5eefe7b94c8d6c6caa2c10e3835ab0831a3c42a1 diff --git a/src/osd.h b/src/osd.h new file mode 100644 index 0000000..ac0e6e4 --- /dev/null +++ b/src/osd.h @@ -0,0 +1,16 @@ +#ifndef OSD_H_ +#define OSD_H_ + +#include + +void set_message_timeout(long timeout); +void osd_printf(const char *fmt, ...); +void show_message(long timeout, float r, float g, float b, const char *fmt, ...); +void show_messagev(long timeout, float r, float g, float b, const char *fmt, va_list ap); + +void print_text(float x, float y, float r, float g, float b, const char *fmt, ...); +void print_textv(float x, float y, float r, float g, float b, const char *fmt, va_list ap); + +void draw_osd(void); + +#endif /* OSD_H_ */