1 #include <lib/gdi/glcddc.h>
2 #include <lib/gdi/lcd.h>
3 #include <lib/base/init.h>
4 #include <lib/base/init_num.h>
6 gLCDDC *gLCDDC::instance;
15 surface.x=lcd->size().width();
16 surface.y=lcd->size().height();
17 surface.stride=lcd->stride();
18 surface.bypp=surface.stride / surface.x;
19 surface.bpp=surface.bypp*8;
20 surface.data=lcd->buffer();
21 surface.clut.colors=0;
24 m_pixmap = new gPixmap(&surface);
33 void gLCDDC::exec(gOpcode *o)
46 void gLCDDC::setUpdate(int u)
51 eAutoInitPtr<gLCDDC> init_gLCDDC(eAutoInitNumbers::graphic-1, "gLCDDC");