X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Ftruerendercontrol.hh;h=36dbe2441165b8946a79cb3a3e459b7cd0b8535f;hb=8269fc2b3965d12ba308caa554bfa7ee037fba13;hp=a1bc47dcc2e8c467d0113da2e6f9780a5f5f106b;hpb=555facb9c737be20cd923abc15875af0281a8927;p=chaz%2Fopenbox diff --git a/otk/truerendercontrol.hh b/otk/truerendercontrol.hh index a1bc47dc..36dbe244 100644 --- a/otk/truerendercontrol.hh +++ b/otk/truerendercontrol.hh @@ -21,19 +21,13 @@ private: int _green_offset; int _blue_offset; - inline void highlight(pixel32 *x, pixel32 *y, bool raised) const; - void reduceDepth(Surface &sf, XImage *im) const; - void verticalGradient(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, - const RenderTexture &texture) const; - + virtual void reduceDepth(Surface &sf, XImage *im) const; + public: TrueRenderControl(int screen); virtual ~TrueRenderControl(); - virtual void drawBackground(Surface& sf, const RenderTexture &texture) const; + virtual void allocateColor(XColor *color) const; }; }