summaryrefslogtreecommitdiff
path: root/src/cairo-types-private.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-01-22 16:11:48 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2010-01-22 23:01:52 +0000
commit9c98656fb1ac10a6085c5db5731b6b986af26165 (patch)
tree39eb769fde20f96645de2161b15f1927e7580a48 /src/cairo-types-private.h
parentb7b65b5315836297f86c54121ea45e469f514312 (diff)
downloadcairo-9c98656fb1ac10a6085c5db5731b6b986af26165.tar.gz
color: Add enum value for the largest stock color.
Useful if we wish to keep a cache of patterns for the very common stock colors...
Diffstat (limited to 'src/cairo-types-private.h')
-rw-r--r--src/cairo-types-private.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cairo-types-private.h b/src/cairo-types-private.h
index 66370e3e8..ca41c1a1f 100644
--- a/src/cairo-types-private.h
+++ b/src/cairo-types-private.h
@@ -306,7 +306,8 @@ typedef struct _cairo_format_masks {
typedef enum {
CAIRO_STOCK_WHITE,
CAIRO_STOCK_BLACK,
- CAIRO_STOCK_TRANSPARENT
+ CAIRO_STOCK_TRANSPARENT,
+ CAIRO_STOCK_NUM_COLORS,
} cairo_stock_t;
typedef enum _cairo_image_transparency {