summaryrefslogtreecommitdiff
path: root/include/libcss/types.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-02-05 14:54:41 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-02-05 14:54:41 +0000
commit6061d37a064fcccacf9ed80a0f5d5070345b2aee (patch)
tree7fad87e24427a4db54043b866b5a42d044ba713d /include/libcss/types.h
parente24f8fd2434912114dc1190de60d9ab72594b494 (diff)
downloadlibcss-6061d37a064fcccacf9ed80a0f5d5070345b2aee.tar.gz
libcss-6061d37a064fcccacf9ed80a0f5d5070345b2aee.tar.bz2
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
Diffstat (limited to 'include/libcss/types.h')
-rw-r--r--include/libcss/types.h9
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;