X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Frendercontrol.hh;h=c619597fcd250b0141a80c6f9683d37af6221043;hb=02066c5d0b09ae49aa1f9b7193fb16f1ac7f6a37;hp=14c0e92c97afb0d165400e4632da4c38725917a9;hpb=9f705c02b9c412c053fc12a2ebdc5cebe83400c8;p=chaz%2Fopenbox diff --git a/otk/rendercontrol.hh b/otk/rendercontrol.hh index 14c0e92c..c619597f 100644 --- a/otk/rendercontrol.hh +++ b/otk/rendercontrol.hh @@ -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; }; }