10 SWIG_TEMPLATE_TYPEDEF(ePtr<gFBDC>, gFBDCPtr);
12 class gFBDC: public gDC
16 static gFBDC *instance;
17 void exec(gOpcode *opcode);
18 unsigned char ramp[256], rampalpha[256]; // RGB ramp 0..255
19 int brightness, gamma, alpha;
22 gSurface surface, surface_back;
23 int m_enable_double_buffering;
27 void reloadSettings();
28 void setAlpha(int alpha);
29 void setBrightness(int brightness);
30 void setGamma(int gamma);
32 int getAlpha() { return alpha; }
33 int getBrightness() { return brightness; }
34 int getGamma() { return gamma; }
36 int haveDoubleBuffering() { return m_enable_double_buffering; }
38 void setResolution(int xres, int yres);
44 static SWIG_VOID(int) getInstance(ePtr<gFBDC> &SWIG_NAMED_OUTPUT(ptr)) { if (!instance) return -1; ptr = instance; return 0; }
45 int islocked() { return fb->islocked(); }