X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Frendercontrol.hh;h=fa07cf517f372f42831827cda8659d18b30b4016;hb=1e47e17d08d72d181edc2bde598ad246055655ad;hp=5e21da291f0cc3528428d0eec0184e366d27aad2;hpb=7fe3301e7ea905a8a76d54c22751f3d8a346e28b;p=chaz%2Fopenbox diff --git a/otk/rendercontrol.hh b/otk/rendercontrol.hh index 5e21da29..fa07cf51 100644 --- a/otk/rendercontrol.hh +++ b/otk/rendercontrol.hh @@ -46,7 +46,7 @@ protected: public: virtual ~RenderControl(); - static RenderControl *getRenderControl(int screen); + static RenderControl *createRenderControl(int screen); //! Draws a background onto a Surface, as specified by a RenderTexture /*! @@ -64,6 +64,9 @@ public: virtual void drawImage(Surface &sf, int w, int h, unsigned long *data) const; + //! Draws an image onto the surface + virtual void drawImage(Surface &sf, Pixmap pixmap, Pixmap mask) const; + //! Draws a string onto a Surface virtual void drawString(Surface &sf, const Font &font, int x, int y, const RenderColor &color,