1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
2 #ifndef __truerendercontrol_hh
3 #define __truerendercontrol_hh
5 #include "rendercontrol.hh"
12 # ifdef HAVE_SYS_TYPES_H
13 # include <sys/types.h>
24 typedef uint32_t pixel32;
26 typedef u_int32_t pixel32;
29 class TrueRenderControl : public RenderControl {
31 // the number of bits to shift a color value (from 0-255) to the right, to
32 // fit it into the the color mask (do this before the offset)
37 // the offset of each color in a color mask
43 TrueRenderControl(int screen);
44 virtual ~TrueRenderControl();
46 virtual void drawBackground(Surface& sf, const RenderTexture &texture) const;
47 virtual void drawGradientBackground(Surface &sf,
48 const RenderTexture &texture) const;
53 #endif // __truerendercontrol_hh