8 class gFBDC: public gDC
11 static gFBDC *instance;
12 void exec(gOpcode *opcode);
13 unsigned char ramp[256], rampalpha[256]; // RGB ramp 0..255
14 int brightness, gamma, alpha;
17 gSurface surface, surface_back;
18 int m_enable_double_buffering;
20 void reloadSettings();
21 void setAlpha(int alpha);
22 void setBrightness(int brightness);
23 void setGamma(int gamma);
25 int getAlpha() { return alpha; }
26 int getBrightness() { return brightness; }
27 int getGamma() { return gamma; }
29 int haveDoubleBuffering() { return m_enable_double_buffering; }
35 static int getInstance(ePtr<gFBDC> &ptr) { if (!instance) return -1; ptr = instance; return 0; }
36 int islocked() { return fb->islocked(); }