]> icculus.org git repositories - dana/openbox.git/blob - otk/pseudorendercontrol.hh
only store what we need to in the class
[dana/openbox.git] / otk / pseudorendercontrol.hh
1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
2 #ifndef __pseudorendercontrol_hh
3 #define __pseudorendercontrol_hh
4
5 #include "rendercontrol.hh"
6
7 namespace otk {
8
9 class PseudoRenderControl : public RenderControl {
10 private:
11   int _ncolors;    // number of allocated colors, size of the XColor array
12   XColor *_colors; // the valid allocated colors
13   
14   virtual void reduceDepth(Surface &sf, XImage *im) const;
15   
16 public:
17   PseudoRenderControl(int screen);
18   virtual ~PseudoRenderControl();
19
20 };
21
22 }
23
24 #endif // __pseudorendercontrol_hh