From 0348a2f3abd2334f5f5812c5fb45c1b4fffb46a5 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 20 Jan 2003 07:07:13 +0000 Subject: add rendercolor class, with a cache of gcs for the colors --- otk/surface.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'otk/surface.hh') diff --git a/otk/surface.hh b/otk/surface.hh index d325b393..18733517 100644 --- a/otk/surface.hh +++ b/otk/surface.hh @@ -14,6 +14,7 @@ extern "C" { namespace otk { class ScreenInfo; +class RenderColor; class Surface { int _screen; @@ -26,7 +27,7 @@ protected: void destroyObjects(); void setPixmap(XImage *image); - void setPixmap(const Color &color); + void setPixmap(const RenderColor &color); public: Surface(int screen, const Point &size); -- cgit v1.2.3