openbox/otk/pseudorendercontrol.hh
2003-02-12 06:18:28 +00:00

24 lines
546 B
C++

// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
#ifndef __pseudorendercontrol_hh
#define __pseudorendercontrol_hh
#include "rendercontrol.hh"
namespace otk {
class PseudoRenderControl : public RenderControl {
private:
int _ncolors; // number of allocated colors, size of the XColor array
XColor *_colors; // the valid allocated colors
virtual void reduceDepth(Surface &sf, XImage *im) const;
public:
PseudoRenderControl(int screen);
virtual ~PseudoRenderControl();
};
}
#endif // __pseudorendercontrol_hh