Go to the source code of this file.
Functions | |
FB_pixel | FB_makecol (u_char r, u_char g, u_char b, u_char t) |
int | FB_getVisual () |
void | FB_getres (int *x, int *y) |
int | FB_getxres () |
int | FB_getyres () |
int | FB_getXVres () |
int | FB_getYVres () |
int | FB_getbpp () |
int | FB_setbpp (int bpp) |
Definition in file FButil.c.
|
Bit magic to create a framebuffer dependent representation of a 16/32 bit color. The bpp used is the one the fb is currently set at.
|
|
Returns one of the following values, they are all defined in linux/fb.h
|
|
Sets x and y respectively to the width and height of the visible screen |
|
Returns the width of the visible screen Definition at line 57 of file FButil.c. Referenced by FB_clear_screen(), FB_hline(), FB_putpixel(), FB_rectfill(), and FB_vline(). |
|
Returns the height of the visible screen Definition at line 65 of file FButil.c. Referenced by FB_clear_screen(), FB_hline(), FB_putpixel(), FB_rectfill(), and FB_vline(). |
|
Returns virtual screen width |
|
Returns virtual screen height |
|
Returns color depth the framebuffer is set to. It can be 16 or 32 Definition at line 89 of file FButil.c. Referenced by FB_getpixel(). |
|
Change the color depth of the framebuffer, this function can fail, so check always the return value:
|