]> Dogcows Code - chaz/openbox/commitdiff
add the pixel to the cache
authorDana Jansens <danakj@orodu.net>
Wed, 22 Jan 2003 23:16:58 +0000 (23:16 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 22 Jan 2003 23:16:58 +0000 (23:16 +0000)
otk/rendercolor.hh

index 4eeb8158a0d20c0bade832f73c5d6011ef9e3510..c5835385ddcb8465f7cfaec14c59784090a16ee6 100644 (file)
@@ -27,8 +27,9 @@ public:
 private:
   struct CacheItem {
     GC gc;
+    unsigned long pixel;
     int count;
-    CacheItem(GC g) : gc(g), count(0) {}
+    CacheItem(GC g, unsigned long p) : gc(g), pixel(p), count(0) {}
   };
   static std::map<unsigned long, CacheItem*> *_cache;
 
This page took 0.022224 seconds and 4 git commands to generate.