summaryrefslogtreecommitdiff
path: root/render/color.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-09-02 08:38:03 +0000
committerDana Jansens <danakj@orodu.net>2003-09-02 08:38:03 +0000
commitac9d8c58cb2286a98f699fe1b98b56e11c262868 (patch)
tree8a134e0e828e7f8c1aa63db0b8d4fea2b1c4e022 /render/color.h
parent92feea765a59a7b3ab3b3c0babda4bfd0cf91d7f (diff)
use the new color hash to cache RrColors
Diffstat (limited to 'render/color.h')
-rw-r--r--render/color.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/render/color.h b/render/color.h
index 246af198..64529292 100644
--- a/render/color.h
+++ b/render/color.h
@@ -15,6 +15,9 @@ struct _RrColor {
int b;
unsigned long pixel;
GC gc;
+
+ gint key;
+ gint refcount;
};
void RrColorAllocateGC(RrColor *in);