summaryrefslogtreecommitdiff
path: root/otk/rendercolor.hh
diff options
context:
space:
mode:
Diffstat (limited to 'otk/rendercolor.hh')
-rw-r--r--otk/rendercolor.hh13
1 files changed, 5 insertions, 8 deletions
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; }
};
}