diff options
author | corvid <corvid@lavabit.com> | 2012-12-05 23:01:16 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2012-12-05 23:01:16 +0000 |
commit | 87dd25da5ecd91e8dc84f7a84af55942733d66f0 (patch) | |
tree | 84ebe2d18ad5fa53344e729018321dc2266ae273 /src/styleengine.cc | |
parent | a9136a867918e4bb7aa2080f2960c6920b405258 (diff) |
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.
Diffstat (limited to 'src/styleengine.cc')
-rw-r--r-- | src/styleengine.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |