summaryrefslogtreecommitdiff
path: root/desktop/plot_style.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2009-07-14 10:03:58 +0000
committerVincent Sanders <vince@netsurf-browser.org>2009-07-14 10:03:58 +0000
commit86232d72a6709243136496770aade7c4d47ef28a (patch)
treee6c849cb2f755a6ef314ccdb5a05122bec7dcd52 /desktop/plot_style.c
parented2206316ceb8fe422085a4a50c028aa7718d644 (diff)
downloadnetsurf-86232d72a6709243136496770aade7c4d47ef28a.tar.gz
netsurf-86232d72a6709243136496770aade7c4d47ef28a.tar.bz2
next round of plotter refactor
svn path=/trunk/netsurf/; revision=8512
Diffstat (limited to 'desktop/plot_style.c')
-rw-r--r--desktop/plot_style.c16
1 files changed, 15 insertions, 1 deletions
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 = {