namespace otk {
class ScreenInfo;
+class Surface;
+class RenderTexture;
class RenderControl {
protected:
const ScreenInfo *_screen;
- // the number of bits (1-255) that each shade of color spans across. best
- // case is 1, which gives 255 shades
int _red_bits;
int _green_bits;
int _blue_bits;
static RenderControl *getRenderControl(int screen);
- virtual void render(::Window w) = 0;
+ virtual void drawBackground(Surface *sf,
+ const RenderTexture &texture) const = 0;
};
}