From 2d95b8aa57a160cb05082bf29b4103c6ffd36e79 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 14 Jul 2009 12:42:02 +0000 Subject: Rename debug outline plot styles and make them const. svn path=/trunk/netsurf/; revision=8518 --- render/html_redraw.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'render') diff --git a/render/html_redraw.c b/render/html_redraw.c index d46375b21..30a7c5ea2 100644 --- a/render/html_redraw.c +++ b/render/html_redraw.c @@ -562,19 +562,19 @@ bool html_redraw_box(struct box *box, margin_right = box->margin[RIGHT] * scale; margin_bottom = box->margin[BOTTOM] * scale; } - /* Content edge */ + /* Content edge -- blue */ if (!plot.rectangle(x + padding_left, y + padding_top, x + padding_left + width, y + padding_top + height, - plot_style_stroke_blue)) + plot_style_content_edge)) return false; - /* Padding edge */ + /* Padding edge -- red */ if (!plot.rectangle(x, y, x + padding_width, y + padding_height, - plot_style_stroke_red)) + plot_style_padding_edge)) return false; - /* Margin edge */ + /* Margin edge -- yellow */ if (!plot.rectangle( x - border_left - margin_left, y - border_top - margin_top, @@ -582,7 +582,7 @@ bool html_redraw_box(struct box *box, margin_right, y + padding_height + border_bottom + margin_bottom, - plot_style_stroke_yellow)) + plot_style_margin_edge)) return false; } -- cgit v1.2.3