2003-01-18 00:33:48 +00:00
|
|
|
// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
|
|
|
|
#ifndef __truerendercontrol_hh
|
|
|
|
#define __truerendercontrol_hh
|
|
|
|
|
|
|
|
#include "rendercontrol.hh"
|
|
|
|
|
|
|
|
namespace otk {
|
|
|
|
|
|
|
|
class TrueRenderControl : public RenderControl {
|
|
|
|
private:
|
|
|
|
// the offset of each color in a color mask
|
|
|
|
int _red_offset;
|
|
|
|
int _green_offset;
|
|
|
|
int _blue_offset;
|
|
|
|
|
|
|
|
public:
|
|
|
|
TrueRenderControl(const ScreenInfo *screen);
|
|
|
|
virtual ~TrueRenderControl();
|
2003-01-18 00:51:11 +00:00
|
|
|
|
2003-01-18 04:31:16 +00:00
|
|
|
virtual void drawBackground(Surface *sf, const RenderTexture &texture) const;
|
2003-01-18 00:33:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // __truerendercontrol_hh
|