diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2012-03-27 10:34:38 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2012-03-27 10:34:38 +0000 |
commit | 8fabc6119c524b7190c9e4454c00ccbb7db5a874 (patch) | |
tree | 56eba6f409ebc35bb347535ddc19f6aeeb8bfdf5 | |
parent | 103c8703ecdb85b23b6583015d9228443d0d026d (diff) | |
download | netsurf-8fabc6119c524b7190c9e4454c00ccbb7db5a874.tar.gz netsurf-8fabc6119c524b7190c9e4454c00ccbb7db5a874.tar.bz2 |
Use gui_ interface to get system colours, rather than nosoption_.
svn path=/trunk/netsurf/; revision=13736
-rw-r--r-- | desktop/tree.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/desktop/tree.c b/desktop/tree.c index 8bb066630..c52dc0723 100644 --- a/desktop/tree.c +++ b/desktop/tree.c @@ -187,38 +187,38 @@ void tree_setup_colours(void) { /* Background colour */ plot_style_fill_tree_background.fill_colour = - nsoption_colour(sys_colour_Window); + gui_system_colour_char("Window"); /* Selection background colour */ plot_style_fill_tree_selected.fill_colour = - nsoption_colour(sys_colour_Highlight); + gui_system_colour_char("Highlight"); /* Furniture line colour */ plot_style_stroke_tree_furniture.stroke_colour = blend_colour( - nsoption_colour(sys_colour_Window), - nsoption_colour(sys_colour_WindowText)); + gui_system_colour_char("Window"), + gui_system_colour_char("WindowText")); /* Furniture fill colour */ plot_style_fill_tree_furniture.fill_colour = - nsoption_colour(sys_colour_Window); + gui_system_colour_char("Window"); /* Text colour */ - plot_fstyle.foreground = nsoption_colour(sys_colour_WindowText); - plot_fstyle.background = nsoption_colour(sys_colour_Window); + plot_fstyle.foreground = gui_system_colour_char("WindowText"); + plot_fstyle.background = gui_system_colour_char("Window"); plot_fstyle_def_folder.foreground = - nsoption_colour(sys_colour_InfoText); + gui_system_colour_char("InfoText"); plot_fstyle_def_folder.background = - nsoption_colour(sys_colour_Window); + gui_system_colour_char("Window"); /* Selected text colour */ plot_fstyle_selected.foreground = - nsoption_colour(sys_colour_HighlightText); + gui_system_colour_char("HighlightText"); plot_fstyle_selected.background = - nsoption_colour(sys_colour_Highlight); + gui_system_colour_char("Highlight"); plot_fstyle_selected_def_folder.foreground = - nsoption_colour(sys_colour_HighlightText); + gui_system_colour_char("HighlightText"); plot_fstyle_selected_def_folder.background = - nsoption_colour(sys_colour_Highlight); + gui_system_colour_char("Highlight"); } |