X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fstyle.cpp;fp=source%2Fstyle.cpp;h=50c2e774d5477201502f77ac2e98ad270793ad85;hb=11d1b67a9180a0e468b56e355fbe0c88d104ef72;hp=0138ec2af1a20f401b262b2b7d1bffefeac2a6eb;hpb=b8bfaf14b5c68428cf34c0e8514e03cd0614ee5b;p=libs%2Fgltk.git diff --git a/source/style.cpp b/source/style.cpp index 0138ec2..50c2e77 100644 --- a/source/style.cpp +++ b/source/style.cpp @@ -7,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