X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Frendercontrol.hh;fp=otk%2Frendercontrol.hh;h=20ec8c1d5cffe201f10f1830e13cfe18dcd69ef3;hb=d8d9b42777ace234f3471918e1210062578f8188;hp=a512060f2dbbeecd370f6e668f6fbd008533b25d;hpb=0ba441fe8f379ec506000f7fa29f867cb6bc0d51;p=chaz%2Fopenbox diff --git a/otk/rendercontrol.hh b/otk/rendercontrol.hh index a512060f..20ec8c1d 100644 --- a/otk/rendercontrol.hh +++ b/otk/rendercontrol.hh @@ -69,11 +69,11 @@ public: static RenderControl *getRenderControl(int screen); //! Draws a string onto a Surface - virtual void drawString(Surface *sf, const Font &font, int x, int y, + virtual void drawString(Surface& sf, const Font &font, int x, int y, const Color &color, const ustring &string) const; //! Draws a background onto a Surface, as specified by a RenderTexture - virtual void drawBackground(Surface *sf, + virtual void drawBackground(Surface &sf, const RenderTexture &texture) const = 0; };