]> Dogcows Code - chaz/openbox/blobdiff - src/Image.h
make a new autoRaiseDelay value take effect without having to restart
[chaz/openbox] / src / Image.h
index b21535bcf547704fc5cc67b13912cf222305e1bf..e342128b00878d033b8e551cf85728e47637493b 100644 (file)
@@ -26,8 +26,8 @@
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
 
-#include "LinkedList.h"
 #include "Timer.h"
+#include <list>
 
 class ScreenInfo;
 class BImage;
@@ -186,7 +186,8 @@ private:
     unsigned long pixel1, pixel2, texture;
   } Cache;
 
-  LinkedList<Cache> *cache;
+  typedef std::list<Cache*> CacheList;
+  CacheList cache;
 
 
 protected:
@@ -207,7 +208,7 @@ public:
 
   inline const Window &getDrawable(void) const { return window; }
 
-  inline Visual *getVisual(void) { return screeninfo.getVisual(); }
+  inline Visual *getVisual(void) const { return screeninfo.getVisual(); }
 
   inline const int &getBitsPerPixel(void) const { return bits_per_pixel; }
   inline const int &getDepth(void) const { return screen_depth; }
This page took 0.025993 seconds and 4 git commands to generate.