From a61e4fc15ca36c3fd699043499ddadc34fc11ca9 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 12 Jul 2009 11:34:22 +0000 Subject: Provide some API to allow retrieval of an Initial style svn path=/trunk/libcss/; revision=8468 --- include/libcss/computed.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/libcss/computed.h b/include/libcss/computed.h index 9d7a073..d754bae 100644 --- a/include/libcss/computed.h +++ b/include/libcss/computed.h @@ -16,6 +16,7 @@ #include struct css_hint; +struct css_select_handler; enum css_computed_content_type { CSS_COMPUTED_CONTENT_NONE = 0, @@ -333,6 +334,9 @@ css_error css_computed_style_create(css_allocator_fn alloc, void *pw, css_computed_style **result); css_error css_computed_style_destroy(css_computed_style *style); +css_error css_computed_style_initialise(css_computed_style *style, + struct css_select_handler *handler, void *pw); + css_error css_computed_style_compose(const css_computed_style *parent, const css_computed_style *child, css_error (*compute_font_size)(void *pw, -- cgit v1.2.3