X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Ftruerendercontrol.hh;h=36dbe2441165b8946a79cb3a3e459b7cd0b8535f;hb=60cbb9ee92058b7d52bf2a4542c64c7858b00cdd;hp=71b94e62c0da9f38c031ad5cbdebca117e07dab2;hpb=3147ad1a60db250b5b552a406dc33046d250cfea;p=chaz%2Fopenbox diff --git a/otk/truerendercontrol.hh b/otk/truerendercontrol.hh index 71b94e62..36dbe244 100644 --- a/otk/truerendercontrol.hh +++ b/otk/truerendercontrol.hh @@ -21,22 +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 drawImage(Surface &sf, int w, int h, - unsigned long *data) const; + virtual void allocateColor(XColor *color) const; }; }