put the copyright notice inside cnoor.c
[cnoor.git] / draw.h
blobd9c9571973f0aae1f6c00fcc2206ac46009761de
1 #define FBDEV_PATH "/dev/fb0"
2 typedef unsigned int fbval_t;
4 void fb_init(void);
5 void fb_free(void);
6 fbval_t fb_color(unsigned char r, unsigned char g, unsigned char b);
7 void fb_set(int r, int c, fbval_t *mem, int len);
8 int fb_rows(void);
9 int fb_cols(void);
10 void fb_cmap(void);