changeset 599:72772fdef974

set backgroundColor in initial style
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Sat, 15 Nov 2008 21:50:45 +0100
parents 4ff90b6242f9
children 5a6b3739ab09
files src/styleengine.cc
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/styleengine.cc	Fri Nov 14 20:18:35 2008 +0100
+++ b/src/styleengine.cc	Sat Nov 15 21:50:45 2008 +0100
@@ -36,6 +36,7 @@
    style_attrs.initValues ();
    style_attrs.font = Font::create (layout, &font_attrs);
    style_attrs.color = Color::createSimple (layout, 0);
+   style_attrs.backgroundColor = Color::createSimple (layout, 0xffffff);
    
    n->style = Style::create (layout, &style_attrs);
 }