From 87dd25da5ecd91e8dc84f7a84af55942733d66f0 Mon Sep 17 00:00:00 2001 From: corvid Date: Wed, 5 Dec 2012 23:01:16 +0000 Subject: start styleengine stack bg color with prefs.bg_color (Prompted by trying to figure out why form widgets had such a tendency to be white.) For the record, I ran this past Johannes before committing. --- src/styleengine.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/styleengine.cc') diff --git a/src/styleengine.cc b/src/styleengine.cc index c394887e..23294ed1 100644 --- a/src/styleengine.cc +++ b/src/styleengine.cc @@ -49,7 +49,7 @@ StyleEngine::StyleEngine (dw::core::Layout *layout) { style_attrs.initValues (); style_attrs.font = Font::create (layout, &font_attrs); style_attrs.color = Color::create (layout, 0); - style_attrs.backgroundColor = Color::create (layout, 0xffffff); + style_attrs.backgroundColor = Color::create (layout, prefs.bg_color); n->style = Style::create (&style_attrs); } -- cgit v1.2.3