X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Frendercontrol.hh;h=ff9d313dd41aec0b581c2c74e8ba04e0156f944e;hb=136c9c078d33e5784881267be03d8ff1adf41bc5;hp=56f45c8a94cbcc7b393ce7f63499e4ca777ff896;hpb=e3f6e0ff8195e73f2fa8c9db431941e171dd0041;p=chaz%2Fopenbox diff --git a/otk/rendercontrol.hh b/otk/rendercontrol.hh index 56f45c8a..ff9d313d 100644 --- a/otk/rendercontrol.hh +++ b/otk/rendercontrol.hh @@ -48,9 +48,6 @@ public: static RenderControl *getRenderControl(int screen); - //! Draws onto the root window - virtual void drawRoot(const RenderColor &color) const; - //! Draws a background onto a Surface, as specified by a RenderTexture /*! This function will overwrite the entire surface. @@ -67,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,