diff options
author | Mattias Andrée <maandree@kth.se> | 2016-12-14 02:10:49 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-12-14 02:10:49 +0100 |
commit | 70b7f50bee8cf31dc6625880e530773d5adff2c5 (patch) | |
tree | a31c4eb7e4ed0a4683a07ac4a7367b09f6b9f427 | |
parent | m (diff) | |
download | libcolour-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>
-rw-r--r-- | src/libcolour.h | 18 |
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, |