1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
2 #ifndef __truerendercontrol_hh
3 #define __truerendercontrol_hh
5 #include "rendercontrol.hh"
11 class TrueRenderControl : public RenderControl {
13 // the number of bits to shift a color value (from 0-255) to the right, to
14 // fit it into the the color mask (do this before the offset)
19 // the offset of each color in a color mask
24 virtual void reduceDepth(Surface &sf, XImage *im) const;
27 TrueRenderControl(int screen);
28 virtual ~TrueRenderControl();
30 virtual void allocateColor(XColor *color) const;
35 #endif // __truerendercontrol_hh