2 * GraphLCD driver library
4 * framebuffer.h - framebuffer device
5 * Output goes to a framebuffer device
7 * This file is released under the GNU General Public License. Refer
8 * to the COPYING file distributed with this package.
10 * (c) 2004 Stephan Skrodzki
13 #ifndef _GLCDDRIVERS_FRAMEBUFFER_H_
14 #define _GLCDDRIVERS_FRAMEBUFFER_H_
25 class cDriverFramebuffer : public cDriver
29 cDriverConfig * config;
30 cDriverConfig * oldConfig;
33 struct fb_var_screeninfo vinfo;
34 struct fb_fix_screeninfo finfo;
40 void SetPixel(int x, int y);
43 cDriverFramebuffer(cDriverConfig * config);
44 virtual ~cDriverFramebuffer();
50 virtual void Set8Pixels(int x, int y, unsigned char data);
51 virtual void Refresh(bool refreshAll = false);