diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-28 05:07:43 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-28 05:07:43 +0200 |
commit | 32b1643e58eade439c648bf53620f19ba53c7f40 (patch) | |
tree | 7fd179c959176f9cc3f5c0aed54b4341dab517d9 /src/libgamma-method.h | |
parent | change doc style to one appropriate for manuals (diff) | |
download | libgamma-32b1643e58eade439c648bf53620f19ba53c7f40.tar.gz libgamma-32b1643e58eade439c648bf53620f19ba53c7f40.tar.bz2 libgamma-32b1643e58eade439c648bf53620f19ba53c7f40.tar.xz |
add LIBGAMMA_CONNECTOR_TYPE_COUNT, LIBGAMMA_SUBPIXEL_ORDER_COUNT and LIBGAMMA_CRTC_INFO_COUNT
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/libgamma-method.h')
-rw-r--r-- | src/libgamma-method.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/libgamma-method.h b/src/libgamma-method.h index 0053491..901cfe0 100644 --- a/src/libgamma-method.h +++ b/src/libgamma-method.h @@ -335,6 +335,11 @@ typedef enum libgamma_connector_type } libgamma_connector_type_t; /** + * The number of values defined in `libgamma_connector_type_t`. + */ +#define LIBGAMMA_CONNECTOR_TYPE_COUNT = 19 + +/** * Orders for subpixels. Currently the possible values are * very biased to LCD, Plasma and monochrome monitors. */ @@ -373,6 +378,11 @@ typedef enum libgamma_subpixel_order } libgamma_subpixel_order_t; +/** + * The number of values defined in `libgamma_subpixel_order_t`. + */ +#define LIBGAMMA_SUBPIXEL_ORDER_COUNT = 6 + /** * For a `libgamma_crtc_information_t` fill in the @@ -454,6 +464,11 @@ typedef enum libgamma_subpixel_order */ #define CRTC_INFO_GAMMA (1 << 12) +/** + * The number of `CRTC_INFO_*` values defined. + */ +#define LIBGAMMA_CRTC_INFO_COUNT = 13 + /** * Cathode ray tube controller information data structure. |