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