repo.or.cz
/
cnoor.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
put the copyright notice inside cnoor.c
[cnoor.git]
/
draw.h
blob
d9c9571973f0aae1f6c00fcc2206ac46009761de
1
#define FBDEV_PATH
"/dev/fb0"
2
typedef
unsigned int
fbval_t
;
3
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
);