fbpad: write to stdin to hide the cursor
[fbpad.git] / draw.h
blob7473d5ed97e34380e7dbc10ad43b247739948b2b
1 typedef unsigned short fbval_t;
3 void fb_init(void);
4 void fb_free(void);
5 fbval_t fb_color(unsigned char r, unsigned char g, unsigned char b);
6 void fb_put(int r, int c, fbval_t val);
7 int fb_rows(void);
8 int fb_cols(void);
9 void fb_box(int sr, int sc, int er, int ec, fbval_t val);
10 void fb_scroll(int sr, int nr, int n, fbval_t val);
11 void fb_cmap(void);