diff options
Diffstat (limited to 'include/libcss/types.h')
-rw-r--r-- | include/libcss/types.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/libcss/types.h b/include/libcss/types.h index fddbc51..640ef50 100644 --- a/include/libcss/types.h +++ b/include/libcss/types.h @@ -12,8 +12,6 @@ #include <stdint.h> #include <stdlib.h> -#include <parserutils/utils/hash.h> - /** Source of charset information, in order of importance * A client-dictated charset will override all others. * A document-specified charset will override autodetection or the default */ @@ -61,6 +59,13 @@ typedef struct css_string { uint8_t *data; } css_string; +/** CSS colour -- RRGGBBAA */ +typedef uint32_t css_color; + +/* Fixed point type */ +/** \todo Do we want to make utils/fp*.h public? */ +typedef int32_t css_fixed; + typedef struct css_stylesheet css_stylesheet; typedef struct css_select_ctx css_select_ctx; |