X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fstyle.cpp;h=50c2e774d5477201502f77ac2e98ad270793ad85;hb=9fdbf99cdb3c5620e665c3ecb34e83d778cb311a;hp=8eb5de1e79cb7853a1828dfb12248551204ed787;hpb=787dd5572e904a87686e7309401b86e0c528d823;p=libs%2Fgltk.git diff --git a/source/style.cpp b/source/style.cpp index 8eb5de1..50c2e77 100644 --- a/source/style.cpp +++ b/source/style.cpp @@ -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