]> Dogcows Code - chaz/openbox/blobdiff - otk/rendercontrol.hh
starting to make render's interface
[chaz/openbox] / otk / rendercontrol.hh
index 14c0e92c97afb0d165400e4632da4c38725917a9..c619597fcd250b0141a80c6f9683d37af6221043 100644 (file)
@@ -11,6 +11,7 @@ namespace otk {
 
 class ScreenInfo;
 class Surface;
+class RenderTexture;
 
 class RenderControl {
 protected:
@@ -66,7 +67,8 @@ public:
 
   static RenderControl *getRenderControl(int screen);
 
-  virtual void render(Surface *sf) = 0;
+  virtual void drawBackground(Surface *sf,
+                             const RenderTexture &texture) const = 0;
 };
 
 }
This page took 0.021874 seconds and 4 git commands to generate.