#include "rendercontrol.hh"
-extern "C" {
-
-#ifdef HAVE_STDINT_H
-# include <stdint.h>
-#else
-# ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-# endif
-#endif
-
-}
-
-#include <vector>
-
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();
- virtual void drawBackground(Surface& sf, const RenderTexture &texture) const;
};
}