5 #include <lib/base/eerror.h>
10 unsigned int xRes, yRes, stride, bpp;
12 struct fb_var_screeninfo screeninfo, oldscreen;
14 __u16 red[256], green[256], blue[256], trans[256];
15 static fbClass *instance;
20 int showConsole(int state);
21 int SetMode(unsigned int xRes, unsigned int yRes, unsigned int bpp);
22 int Available() { return available; }
23 int setOffset(int off);
25 unsigned int Stride() { return stride; }
26 fb_cmap *CMAP() { return &cmap; }
28 fbClass(const char *fb="/dev/fb/0");
31 static fbClass *getInstance();
33 // low level gfx stuff
38 int islocked() { return locked; }