From 90b87d994257bc5a8a7230de9f4639006c2a4980 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Sat, 16 Aug 2003 11:33:13 +0000 Subject: default values on start --- src/TextTheme.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/TextTheme.cc b/src/TextTheme.cc index 67f0f73..3a18b4b 100644 --- a/src/TextTheme.cc +++ b/src/TextTheme.cc @@ -20,7 +20,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: TextTheme.cc,v 1.4 2003/08/13 15:25:58 fluxgen Exp $ +// $Id: TextTheme.cc,v 1.5 2003/08/16 11:33:13 fluxgen Exp $ #include "TextTheme.hh" @@ -37,8 +37,10 @@ TextTheme::TextTheme(FbTk::Theme &theme, RootWindow(FbTk::App::instance()->display(), theme.screenNum()), 0, 0)) { *m_justify = FbTk::LEFT; - // load default font + // set default values m_font->load("fixed"); + m_text_color->setFromString("white", theme.screenNum()); + update(); } -- cgit v0.11.2