From 86232d72a6709243136496770aade7c4d47ef28a Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 14 Jul 2009 10:03:58 +0000 Subject: next round of plotter refactor svn path=/trunk/netsurf/; revision=8512 --- desktop/plot_style.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'desktop/plot_style.c') diff --git a/desktop/plot_style.c b/desktop/plot_style.c index 8ed8fb5e6..42a4c924f 100644 --- a/desktop/plot_style.c +++ b/desktop/plot_style.c @@ -73,13 +73,27 @@ plot_style_t *plot_style_caret = &plot_style_caret_static; /* html redraw widget styles */ -/** plot style for widget base. */ +/** plot style for filled widget base colour. */ static plot_style_t plot_style_fill_wbasec_static = { .fill_type = PLOT_OP_TYPE_SOLID, .fill_colour = WIDGET_BASEC, }; plot_style_t *plot_style_fill_wbasec = &plot_style_fill_wbasec_static; +/** plot style for dark filled widget base colour . */ +static plot_style_t plot_style_fill_darkwbasec_static = { + .fill_type = PLOT_OP_TYPE_SOLID, + .fill_colour = double_darken_colour(WIDGET_BASEC), +}; +plot_style_t *plot_style_fill_darkwbasec = &plot_style_fill_darkwbasec_static; + +/** plot style for light filled widget base colour. */ +static plot_style_t plot_style_fill_lightwbasec_static = { + .fill_type = PLOT_OP_TYPE_SOLID, + .fill_colour = double_lighten_colour(WIDGET_BASEC), +}; +plot_style_t *plot_style_fill_lightwbasec = &plot_style_fill_lightwbasec_static; + /** plot style for widget background. */ static plot_style_t plot_style_fill_wblobc_static = { -- cgit v1.2.3