diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-04 17:09:07 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-04 17:09:07 +0000 |
commit | 081c8b365001d9ec9df0f06ba5025dd621c8e4ec (patch) | |
tree | beaa0c8a0243a2cb50e869282565033bcdcba6a6 /include/libcss/computed.h | |
parent | a3105d297fa8bb6bc8728d60a21b662d867688ae (diff) | |
download | libcss-081c8b365001d9ec9df0f06ba5025dd621c8e4ec.tar.gz libcss-081c8b365001d9ec9df0f06ba5025dd621c8e4ec.tar.bz2 |
Add callback to make client compute the font size.
Some progress towards computing absolute values.
svn path=/trunk/libcss/; revision=8311
Diffstat (limited to 'include/libcss/computed.h')
-rw-r--r-- | include/libcss/computed.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/libcss/computed.h b/include/libcss/computed.h index 672d504..0d0350e 100644 --- a/include/libcss/computed.h +++ b/include/libcss/computed.h @@ -15,6 +15,8 @@ #include <libcss/properties.h> #include <libcss/types.h> +struct css_hint; + enum css_computed_content_type { CSS_COMPUTED_CONTENT_NONE = 0, CSS_COMPUTED_CONTENT_STRING = 1, @@ -333,6 +335,10 @@ css_error css_computed_style_destroy(css_computed_style *style); css_error css_computed_style_compose(const css_computed_style *parent, const css_computed_style *child, + css_error (*compute_font_size)(void *pw, + const struct css_hint *parent, + struct css_hint *size), + void *pw, css_computed_style *result); /****************************************************************************** |