From 570510b0762d9bb02f9dc64497c8802bc2a1649d Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 23 Mar 2009 01:02:59 +0000 Subject: Completely change the approach used for presentational hints. This one stands a chance of working sanely. While this compiles, please don't expect it to link. svn path=/trunk/libcss/; revision=6820 --- include/libcss/select.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/libcss/select.h') diff --git a/include/libcss/select.h b/include/libcss/select.h index 44befcd..ea67d25 100644 --- a/include/libcss/select.h +++ b/include/libcss/select.h @@ -61,6 +61,9 @@ typedef struct css_select_handler { css_error (*node_is_focus)(void *pw, void *node, bool *match); css_error (*node_is_lang)(void *pw, void *node, lwc_string *lang, bool *match); + + css_error (*node_presentational_hint)(void *pw, void *node, + uint32_t property, css_hint *hint); } css_select_handler; css_error css_select_ctx_create(css_allocator_fn alloc, void *pw, @@ -80,7 +83,7 @@ css_error css_select_ctx_get_sheet(css_select_ctx *ctx, uint32_t index, css_error css_select_style(css_select_ctx *ctx, void *node, uint32_t pseudo_element, uint64_t media, - const css_hint *hints, css_computed_style *result, + css_computed_style *result, css_select_handler *handler, void *pw); #endif -- cgit v1.2.3