summaryrefslogtreecommitdiff
path: root/render/html_redraw.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-08-02 19:19:43 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-08-02 19:19:43 +0000
commit0665611cc2ecca9e3796c252ebf79d7ab743a2f0 (patch)
treecd82a9c84e600d1bd2e757b8d08eb89f1db3b8dd /render/html_redraw.c
parent9d678ef7cde2fcdc1ddaa4bcc2a130e8ff07e31e (diff)
downloadnetsurf-0665611cc2ecca9e3796c252ebf79d7ab743a2f0.tar.gz
netsurf-0665611cc2ecca9e3796c252ebf79d7ab743a2f0.tar.bz2
Port to modified libcss API.
svn path=/trunk/netsurf/; revision=8997
Diffstat (limited to 'render/html_redraw.c')
-rw-r--r--render/html_redraw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/render/html_redraw.c b/render/html_redraw.c
index 735c241a3..4a8d72bec 100644
--- a/render/html_redraw.c
+++ b/render/html_redraw.c
@@ -68,7 +68,7 @@ static bool html_redraw_borders(struct box *box, int x_parent, int y_parent,
bool html_redraw_inline_borders(struct box *box, int x0, int y0, int x1, int y1,
float scale, bool first, bool last);
static bool html_redraw_border_plot(int i, int *p, colour c,
- enum css_border_style style, int thickness);
+ enum css_border_style_e style, int thickness);
static bool html_redraw_checkbox(int x, int y, int width, int height,
bool selected);
static bool html_redraw_radio(int x, int y, int width, int height,
@@ -1174,7 +1174,7 @@ static plot_style_t plot_style_fillbdr_dlight = {
*/
bool html_redraw_border_plot(int i, int *p, colour c,
- enum css_border_style style, int thickness)
+ enum css_border_style_e style, int thickness)
{
int z[8];
unsigned int light = i;
@@ -1839,7 +1839,7 @@ bool html_redraw_text_decoration(struct box *box,
int x_parent, int y_parent, float scale,
colour background_colour)
{
- static const enum css_text_decoration decoration[] = {
+ static const enum css_text_decoration_e decoration[] = {
CSS_TEXT_DECORATION_UNDERLINE, CSS_TEXT_DECORATION_OVERLINE,
CSS_TEXT_DECORATION_LINE_THROUGH };
static const float line_ratio[] = { 0.9, 0.1, 0.5 };