X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2FImage.h;h=e342128b00878d033b8e551cf85728e47637493b;hb=ae093dba2fb97124bb4af3eaf4070b46f07dfd74;hp=b21535bcf547704fc5cc67b13912cf222305e1bf;hpb=ffce7be32582e3e93ca4d18c751f5c4e250a661e;p=chaz%2Fopenbox diff --git a/src/Image.h b/src/Image.h index b21535bc..e342128b 100644 --- a/src/Image.h +++ b/src/Image.h @@ -26,8 +26,8 @@ #include #include -#include "LinkedList.h" #include "Timer.h" +#include class ScreenInfo; class BImage; @@ -186,7 +186,8 @@ private: unsigned long pixel1, pixel2, texture; } Cache; - LinkedList *cache; + typedef std::list 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; }