From 6061d37a064fcccacf9ed80a0f5d5070345b2aee Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 5 Feb 2009 14:54:41 +0000 Subject: Fill in members of css_computed_{style,uncommon} Add a couple of types to types.h -- the fixed point stuff needs thinking about. svn path=/trunk/libcss/; revision=6365 --- include/libcss/types.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'include/libcss/types.h') 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 #include -#include - /** 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; -- cgit v1.2.3