summaryrefslogtreecommitdiff
path: root/desktop/treeview.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-06-03 20:24:34 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2013-06-03 20:24:34 +0100
commitabe003cc8d5643f8b27a1f9695fe52d3ee509f90 (patch)
tree9c91118b1f57202b9bceeb772a06fd9f316330ab /desktop/treeview.c
parent8b940b5f11fceb870530c949f9b784dc53c0dec8 (diff)
downloadnetsurf-abe003cc8d5643f8b27a1f9695fe52d3ee509f90.tar.gz
netsurf-abe003cc8d5643f8b27a1f9695fe52d3ee509f90.tar.bz2
Remove selected area styles.
Diffstat (limited to 'desktop/treeview.c')
-rw-r--r--desktop/treeview.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/desktop/treeview.c b/desktop/treeview.c
index 01c8fbc75..abf06f39d 100644
--- a/desktop/treeview.c
+++ b/desktop/treeview.c
@@ -110,9 +110,6 @@ struct treeview_node_style {
plot_style_t sbg; /**< Selected background */
plot_font_style_t stext; /**< Selected text */
-
- plot_style_t sabg; /**< Selection area background */
- plot_font_style_t satext; /**< Selection area text */
};
struct treeview_node_style plot_style_odd;
@@ -1205,16 +1202,6 @@ static void treeview_init_plot_styles(void)
gui_system_colour_char("HighlightText");
plot_style_even.stext.background = gui_system_colour_char("Highlight");
- /* Selection area background colour */
- plot_style_even.sabg = plot_style_even.bg;
- plot_style_even.sabg.fill_colour = mix_colour(
- plot_style_even.bg.fill_colour,
- plot_style_even.sbg.fill_colour, 255 * 3 / 4);
-
- /* Selection area text colour */
- plot_style_even.satext = plot_style_even.text;
- plot_style_even.satext.background = plot_style_even.sabg.fill_colour;
-
/* Odd numbered node styles */
plot_style_odd.bg = plot_style_even.bg;
@@ -1226,13 +1213,6 @@ static void treeview_init_plot_styles(void)
plot_style_odd.sbg = plot_style_even.sbg;
plot_style_odd.stext = plot_style_even.stext;
-
- plot_style_odd.sabg = plot_style_even.sabg;
- plot_style_odd.sabg.fill_colour = mix_colour(
- plot_style_even.sabg.fill_colour,
- plot_style_even.satext.foreground, 255 * 15 / 16);
- plot_style_odd.satext = plot_style_even.satext;
- plot_style_odd.satext.background = plot_style_odd.sabg.fill_colour;
}