X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Frendercolor.hh;h=5076167f3d9d565ddd43d73fdff1b19b09a0a197;hb=838f76cd216aaadce186ab5dd4302845d89dd2f8;hp=1f24b3c9106681705422f16c828ac70b3e482fd5;hpb=329de788cb33f580548fef844c1293424cd98bb3;p=chaz%2Fopenbox diff --git a/otk/rendercolor.hh b/otk/rendercolor.hh index 1f24b3c9..5076167f 100644 --- a/otk/rendercolor.hh +++ b/otk/rendercolor.hh @@ -37,13 +37,10 @@ private: unsigned char _green; unsigned char _blue; - mutable unsigned long _pixel; - mutable GC _gc; + unsigned long _pixel; + GC _gc; - mutable bool _allocated; - mutable bool _created; - - void create() const; + void create(); public: static void initialize(); @@ -58,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; } }; }