From f9ecd56f62f833f21b3475f0d1b59bc8e053a03e Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 8 Jul 2009 22:04:40 +0000 Subject: ploter refactor of rectangle handling svn path=/trunk/netsurf/; revision=8399 --- riscos/gui/progress_bar.c | 6 +++--- riscos/gui/status_bar.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'riscos/gui') diff --git a/riscos/gui/progress_bar.c b/riscos/gui/progress_bar.c index f1f214b01..bee9581aa 100644 --- a/riscos/gui/progress_bar.c +++ b/riscos/gui/progress_bar.c @@ -509,9 +509,9 @@ void ro_gui_progress_bar_redraw_window(wimp_draw *redraw, progress_ymid - progress_height, tinct_FILL_HORIZONTALLY); } else { - plot.fill(clip_x0, clip_y0, - clip_x1, clip_y1, - plot_style_fill_red); + plot.rectangle(clip_x0, clip_y0, + clip_x1, clip_y1, + plot_style_fill_red); } } } diff --git a/riscos/gui/status_bar.c b/riscos/gui/status_bar.c index 37af0f75f..b56529f07 100644 --- a/riscos/gui/status_bar.c +++ b/riscos/gui/status_bar.c @@ -495,7 +495,7 @@ void ro_gui_status_bar_redraw(wimp_draw *redraw) } /* separate the widget from the text with a line */ - plot.fill((redraw->box.x0 + sb->width - WIDGET_WIDTH - 2) >> 1, + plot.rectangle((redraw->box.x0 + sb->width - WIDGET_WIDTH - 2) >> 1, -redraw->box.y0 >> 1, (redraw->box.x0 + sb->width - WIDGET_WIDTH) >> 1, -redraw->box.y1 >> 1, -- cgit v1.2.3