diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2014-01-10 14:32:29 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2014-01-10 14:32:29 +0000 |
commit | 277bcec7c6234823390903087dd553c9838c013c (patch) | |
tree | cb2e7af25272b3acce344756da5f6bc58c7c341a /desktop/scrollbar.c | |
parent | b415c2f9ff8ff4938343237f50c97f31ce6d5a95 (diff) | |
download | netsurf-277bcec7c6234823390903087dd553c9838c013c.tar.gz netsurf-277bcec7c6234823390903087dd553c9838c013c.tar.bz2 |
stop system colours being anything to do with frontends
Diffstat (limited to 'desktop/scrollbar.c')
-rw-r--r-- | desktop/scrollbar.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/desktop/scrollbar.c b/desktop/scrollbar.c index d24ea727a..dadb82801 100644 --- a/desktop/scrollbar.c +++ b/desktop/scrollbar.c @@ -25,6 +25,7 @@ #include <stdbool.h> #include <stdlib.h> +#include "desktop/system_colour.h" #include "desktop/mouse.h" #include "desktop/scrollbar.h" #include "utils/nsoption.h" @@ -190,9 +191,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 = gui_system_colour_char("Scrollbar"); - colour fg_fill_colour = gui_system_colour_char("ButtonFace"); - colour arrow_fill_colour = gui_system_colour_char("ButtonText"); + colour bg_fill_colour = ns_system_colour_char("Scrollbar"); + colour fg_fill_colour = ns_system_colour_char("ButtonFace"); + colour arrow_fill_colour = ns_system_colour_char("ButtonText"); plot_style_t bg_fill_style = { .fill_type = PLOT_OP_TYPE_SOLID, |