]> Dogcows Code - chaz/openbox/blobdiff - src/Image.hh
fixed menu placement on menus with very small windows
[chaz/openbox] / src / Image.hh
index 4d72bc14cf3949f3b0d7947382975339ef34c426..94cb3c6015507ef2b1527411cb154d16d41be4e6 100644 (file)
@@ -37,7 +37,6 @@ extern "C" {
 
 class BImageControl;
 class BTexture;
-class BImageCache;
 
 class BImage {
 private:
@@ -59,12 +58,15 @@ private:
 #endif
 
   Pixmap renderPixmap(void);
+  Pixmap render_solid(const BTexture &texture);
+  Pixmap render_gradient(const BTexture &texture);
 
   XImage *renderXImage(void);
 
   void invert(void);
   void bevel1(void);
   void bevel2(void);
+  void border(const BTexture &texture);
   void dgradient(void);
   void egradient(void);
   void hgradient(void);
@@ -76,23 +78,10 @@ private:
 
 
 public:
-  BImage(BImageControl *c, unsigned int w, unsigned int h);
+  BImage(BImageControl *c, int w, int h);
   ~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;
 };
 
 
This page took 0.026395 seconds and 4 git commands to generate.