#include <X11/Xlib.h>
#include <X11/Xutil.h>
-#include "LinkedList.h"
#include "Timer.h"
+#include <list>
class ScreenInfo;
class BImage;
unsigned long pixel1, pixel2, texture;
} Cache;
- LinkedList<Cache> *cache;
+ typedef std::list<Cache*> CacheList;
+ CacheList cache;
protected:
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; }