diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-08-02 19:19:43 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-08-02 19:19:43 +0000 |
commit | 0665611cc2ecca9e3796c252ebf79d7ab743a2f0 (patch) | |
tree | cd82a9c84e600d1bd2e757b8d08eb89f1db3b8dd /render/box_construct.c | |
parent | 9d678ef7cde2fcdc1ddaa4bcc2a130e8ff07e31e (diff) | |
download | netsurf-0665611cc2ecca9e3796c252ebf79d7ab743a2f0.tar.gz netsurf-0665611cc2ecca9e3796c252ebf79d7ab743a2f0.tar.bz2 |
Port to modified libcss API.
svn path=/trunk/netsurf/; revision=8997
Diffstat (limited to 'render/box_construct.c')
-rw-r--r-- | render/box_construct.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/render/box_construct.c b/render/box_construct.c index a0b77802b..444d01fbe 100644 --- a/render/box_construct.c +++ b/render/box_construct.c @@ -105,7 +105,7 @@ bool box_construct_text(xmlNode *n, struct content *content, static css_computed_style * box_get_style(struct content *c, const css_computed_style *parent_style, xmlNode *n); static void box_text_transform(char *s, unsigned int len, - enum css_text_transform tt); + enum css_text_transform_e tt); #define BOX_SPECIAL_PARAMS xmlNode *n, struct content *content, \ struct box *box, bool *convert_children static bool box_a(BOX_SPECIAL_PARAMS); @@ -724,7 +724,7 @@ bool box_construct_text(xmlNode *n, struct content *content, /* white-space: pre */ char *text = cnv_space2nbsp((char *) n->content); char *current; - enum css_white_space white_space = + enum css_white_space_e white_space = css_computed_white_space(parent_style); /* note: pre-wrap/pre-line are unimplemented */ @@ -892,7 +892,7 @@ css_computed_style *box_get_style(struct content *c, * \param tt transform type */ -void box_text_transform(char *s, unsigned int len, enum css_text_transform tt) +void box_text_transform(char *s, unsigned int len, enum css_text_transform_e tt) { unsigned int i; if (len == 0) @@ -947,7 +947,7 @@ void box_text_transform(char *s, unsigned int len, enum css_text_transform tt) bool box_body(BOX_SPECIAL_PARAMS) { - enum css_background_color type; + enum css_background_color_e type; css_color color; type = css_computed_background_color(box->style, &color); |