summaryrefslogtreecommitdiff
path: root/otk/surface.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-20 07:07:13 +0000
committerDana Jansens <danakj@orodu.net>2003-01-20 07:07:13 +0000
commit0348a2f3abd2334f5f5812c5fb45c1b4fffb46a5 (patch)
treef19e07f899a3e390dbc8f2484d6b1426defcbb47 /otk/surface.hh
parentcfd8f9a65848c5e7b0514999581512069a4f98f6 (diff)
add rendercolor class, with a cache of gcs for the colors
Diffstat (limited to 'otk/surface.hh')
-rw-r--r--otk/surface.hh3
1 files changed, 2 insertions, 1 deletions
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);