X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Frendercolor.hh;h=5076167f3d9d565ddd43d73fdff1b19b09a0a197;hb=a91a6f97daeb058f346246081e1c83a788787f9b;hp=da022a107e2176261da8ebc6715943cbc4a06fa0;hpb=0ebf6a17547f75c1fa961acbf3fdd59c0e494d22;p=chaz%2Fopenbox diff --git a/otk/rendercolor.hh b/otk/rendercolor.hh index da022a10..5076167f 100644 --- a/otk/rendercolor.hh +++ b/otk/rendercolor.hh @@ -37,12 +37,10 @@ private: unsigned char _green; unsigned char _blue; - mutable unsigned long _pixel; - mutable GC _gc; + unsigned long _pixel; + GC _gc; - mutable bool _allocated; - - void create() const; + void create(); public: static void initialize(); @@ -57,8 +55,8 @@ public: inline unsigned char red() const { return _red; } inline unsigned char green() const { return _green; } inline unsigned char blue() const { return _blue; } - unsigned long pixel() const; - GC gc() const; + unsigned long pixel() const { return _pixel; } + GC gc() const { return _gc; } }; }