X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FImage.hh;h=0e82456cfe6e32f95b3cefafd204ea83d4735e59;hb=36db2d24ef4e14cb7f5fa82cba873beceae5c01e;hp=4d72bc14cf3949f3b0d7947382975339ef34c426;hpb=8794d357e67abddf9fda9db77b235e294d0ec590;p=chaz%2Fopenbox diff --git a/src/Image.hh b/src/Image.hh index 4d72bc14..0e82456c 100644 --- a/src/Image.hh +++ b/src/Image.hh @@ -37,7 +37,6 @@ extern "C" { class BImageControl; class BTexture; -class BImageCache; class BImage { private: @@ -59,6 +58,8 @@ private: #endif Pixmap renderPixmap(void); + Pixmap render_solid(const BTexture &texture); + Pixmap render_gradient(const BTexture &texture); XImage *renderXImage(void); @@ -80,19 +81,6 @@ public: ~BImage(void); Pixmap render(const BTexture &texture); - Pixmap render_solid(const BTexture &texture); - Pixmap render_gradient(const BTexture &texture); - - // static methods for the builtin cache - static unsigned long maximumCacheSize(void); - static void setMaximumCacheSize(const unsigned long cache_max); - - static unsigned long cacheTimeout(void); - static void setCacheTimeout(const unsigned long cache_timeout); - -private: - // global image cache - static BImageCache *imagecache; };