3 #include <lib/gdi/glcddc.h>
5 gLCDDC *gLCDDC::instance;
7 gLCDDC::gLCDDC(eLCD *lcd): lcd(lcd)
13 surface.x=lcd->size().width();
14 surface.y=lcd->size().height();
17 surface.stride=lcd->stride();
18 surface.data=lcd->buffer();
20 surface.clut.colors=256;
22 m_pixmap = new gPixmap(&surface);
30 void gLCDDC::exec(gOpcode *o)
34 // case gOpcode::flush:
44 gLCDDC *gLCDDC::getInstance()
49 void gLCDDC::setUpdate(int u)