summaryrefslogtreecommitdiff
path: root/riscos/gui
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-06-30 17:51:58 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-06-30 17:51:58 +0000
commit9c4b9f5c945b4818f583fb895b77311e9fcf2db2 (patch)
treeace8a1eb2f89f91f0e1f6539fdba0d65f444e454 /riscos/gui
parent3bb83e034981807a2d675c608138cdf415aa65a4 (diff)
downloadnetsurf-9c4b9f5c945b4818f583fb895b77311e9fcf2db2.tar.gz
netsurf-9c4b9f5c945b4818f583fb895b77311e9fcf2db2.tar.bz2
Fix up RISC OS front end.
svn path=/trunk/netsurf/; revision=12545
Diffstat (limited to 'riscos/gui')
-rw-r--r--riscos/gui/progress_bar.c5
-rw-r--r--riscos/gui/status_bar.c3
2 files changed, 3 insertions, 5 deletions
diff --git a/riscos/gui/progress_bar.c b/riscos/gui/progress_bar.c
index 0afd7799e..445797611 100644
--- a/riscos/gui/progress_bar.c
+++ b/riscos/gui/progress_bar.c
@@ -473,7 +473,6 @@ void ro_gui_progress_bar_redraw_window(wimp_draw *redraw,
int progress_ymid;
/* initialise the plotters */
- plot = ro_plotters;
ro_plot_origin_x = 0;
ro_plot_origin_y = 0;
@@ -502,14 +501,14 @@ void ro_gui_progress_bar_redraw_window(wimp_draw *redraw,
redraw->box.y0 + pb->visible.y0) >> 1;
if ((clip.x0 < clip.x1) && (clip.y0 < clip.y1)) {
if (progress_icon) {
- plot.clip(&clip);
+ ro_plotters.clip(&clip);
_swix(Tinct_Plot, _IN(2) | _IN(3) | _IN(4) | _IN(7),
progress_icon,
redraw->box.x0 - pb->offset,
progress_ymid - progress_height,
tinct_FILL_HORIZONTALLY);
} else {
- plot.rectangle(clip.x0, clip.y0,
+ ro_plotters.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 1cd10e44c..e01ae3c5d 100644
--- a/riscos/gui/status_bar.c
+++ b/riscos/gui/status_bar.c
@@ -449,7 +449,6 @@ void ro_gui_status_bar_redraw(wimp_draw *redraw)
assert(sb);
/* initialise the plotters */
- plot = ro_plotters;
ro_plot_origin_x = 0;
ro_plot_origin_y = 0;
@@ -487,7 +486,7 @@ void ro_gui_status_bar_redraw(wimp_draw *redraw)
}
/* separate the widget from the text with a line */
- plot.rectangle((redraw->box.x0 + sb->width - WIDGET_WIDTH - 2) >> 1,
+ ro_plotters.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,