summaryrefslogtreecommitdiff
path: root/riscos/gui
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2009-07-08 22:04:40 +0000
committerVincent Sanders <vince@netsurf-browser.org>2009-07-08 22:04:40 +0000
commitf9ecd56f62f833f21b3475f0d1b59bc8e053a03e (patch)
tree9874485045ec0fc52fccab99ad545bdefb672203 /riscos/gui
parent651228e64d688e1a565ac88e60b736995ba84012 (diff)
downloadnetsurf-f9ecd56f62f833f21b3475f0d1b59bc8e053a03e.tar.gz
netsurf-f9ecd56f62f833f21b3475f0d1b59bc8e053a03e.tar.bz2
ploter refactor of rectangle handling
svn path=/trunk/netsurf/; revision=8399
Diffstat (limited to 'riscos/gui')
-rw-r--r--riscos/gui/progress_bar.c6
-rw-r--r--riscos/gui/status_bar.c2
2 files changed, 4 insertions, 4 deletions
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,