]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/style.cpp
Move all child widget handling into Container
[libs/gltk.git] / source / style.cpp
index 8eb5de1e79cb7853a1828dfb12248551204ed787..50c2e774d5477201502f77ac2e98ad270793ad85 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of libmspgltk
-Copyright © 2007  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #include "resources.h"
 #include "style.h"
 
@@ -14,7 +7,8 @@ namespace Msp {
 namespace GLtk {
 
 Style::Style(Resources &r):
-       font(&r.get_default_font())
+       font(&r.get_default_font()),
+       font_size(font->get_native_size())
 { }
 
 const Part *Style::get_part(const string &name) const