progress
[oftp] / src / tgfx.h
1 #ifndef TGFX_H_
2 #define TGFX_H_
3
4 #include <stdarg.h>
5
6 enum {
7         TGFX_FRAME              = 1,
8         TGFX_SHADOW             = 2
9 };
10
11 void tg_clear(void);
12
13 void tg_fgcolor(int col);
14 void tg_bgcolor(int col);
15 void tg_color(int col);
16 void tg_bgchar(int c);
17
18 void tg_setcursor(int x, int y);
19
20 void tg_text(int x, int y, const char *fmt, ...);
21 void tg_vtext(int x, int y, const char *fmt, va_list ap);
22
23 void tg_rect(const char *label, int x, int y, int xsz, int ysz, unsigned int flags);
24
25 #endif  /* TGFX_H_ */