aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcolour.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-12-14 02:10:49 +0100
committerMattias Andrée <maandree@kth.se>2016-12-14 02:10:49 +0100
commit70b7f50bee8cf31dc6625880e530773d5adff2c5 (patch)
treea31c4eb7e4ed0a4683a07ac4a7367b09f6b9f427 /src/libcolour.h
parentm (diff)
downloadlibcolour-70b7f50bee8cf31dc6625880e530773d5adff2c5.tar.gz
libcolour-70b7f50bee8cf31dc6625880e530773d5adff2c5.tar.bz2
libcolour-70b7f50bee8cf31dc6625880e530773d5adff2c5.tar.xz
Use LIBCOLOUR_LIST_MODELS in enum libcolour_model
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--src/libcolour.h18
1 files changed, 4 insertions, 14 deletions
diff --git a/src/libcolour.h b/src/libcolour.h
index 1010006..d208d9c 100644
--- a/src/libcolour.h
+++ b/src/libcolour.h
@@ -62,22 +62,12 @@
typedef enum libcolour_model {
- LIBCOLOUR_RGB,
- LIBCOLOUR_SRGB,
- LIBCOLOUR_CIEXYY,
- LIBCOLOUR_CIEXYZ,
- LIBCOLOUR_CIELAB,
- LIBCOLOUR_CIELUV,
- LIBCOLOUR_CIELCH,
- LIBCOLOUR_YIQ,
- LIBCOLOUR_YDBDR,
- LIBCOLOUR_YUV,
- LIBCOLOUR_YPBPR,
- LIBCOLOUR_YCGCO,
- LIBCOLOUR_CIE1960UCS,
- LIBCOLOUR_CIEUVW
+#define X(C, T) C,
+ LIBCOLOUR_LIST_MODELS
+#undef X
} libcolour_model_t;
+
typedef enum libcolour_encoding_type {
LIBCOLOUR_ENCODING_TYPE_LINEAR,
LIBCOLOUR_ENCODING_TYPE_SIMPLE,