From fba2ebeee60df8bf10da1186021d0682cc38cb33 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 27 Mar 2012 11:53:53 +0000 Subject: Use gui_system_colours. svn path=/trunk/netsurf/; revision=13741 --- desktop/scrollbar.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'desktop') diff --git a/desktop/scrollbar.c b/desktop/scrollbar.c index 2bfa0d199..ac4c39944 100644 --- a/desktop/scrollbar.c +++ b/desktop/scrollbar.c @@ -190,9 +190,9 @@ bool scrollbar_redraw(struct scrollbar *s, int x, int y, int v[6]; /* array of triangle vertices */ int x0, y0, x1, y1; - colour bg_fill_colour = nsoption_colour(sys_colour_Scrollbar); - colour fg_fill_colour = nsoption_colour(sys_colour_ButtonFace); - colour arrow_fill_colour = nsoption_colour(sys_colour_ButtonText); + colour bg_fill_colour = gui_system_colour_char("Scrollbar"); + colour fg_fill_colour = gui_system_colour_char("ButtonFace"); + colour arrow_fill_colour = gui_system_colour_char("ButtonText"); plot_style_t bg_fill_style = { .fill_type = PLOT_OP_TYPE_SOLID, -- cgit v1.2.3