X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Frendercontrol.hh;h=9e140db07d462ca956521765c5417b2a84917bc7;hb=1f63f7b331887a192ddf927670471c3f00f307f5;hp=ff9d313dd41aec0b581c2c74e8ba04e0156f944e;hpb=136c9c078d33e5784881267be03d8ff1adf41bc5;p=chaz%2Fopenbox diff --git a/otk/rendercontrol.hh b/otk/rendercontrol.hh index ff9d313d..9e140db0 100644 --- a/otk/rendercontrol.hh +++ b/otk/rendercontrol.hh @@ -28,6 +28,7 @@ protected: inline void highlight(pixel32 *x, pixel32 *y, bool raised) const; void verticalGradient(Surface &sf, const RenderTexture &texture) const; + void horizontalGradient(Surface &sf, const RenderTexture &texture) const; void diagonalGradient(Surface &sf, const RenderTexture &texture) const; void crossDiagonalGradient(Surface &sf, const RenderTexture &texture) const; virtual void drawGradientBackground(Surface &sf, @@ -46,7 +47,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 /*!