From: Dana Jansens Date: Wed, 22 Jan 2003 23:16:58 +0000 (+0000) Subject: add the pixel to the cache X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=42fbe726d4433a6a46ce1555f1d208d2971438e3;p=chaz%2Fopenbox add the pixel to the cache --- diff --git a/otk/rendercolor.hh b/otk/rendercolor.hh index 4eeb8158..c5835385 100644 --- a/otk/rendercolor.hh +++ b/otk/rendercolor.hh @@ -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 *_cache;