summaryrefslogtreecommitdiff
path: root/riscos/gui
diff options
context:
space:
mode:
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,