Font name can now be scripted

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@291 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-04-22 22:37:20 +00:00
parent b0c6669384
commit e4500ce490
12 changed files with 100 additions and 74 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ void InfoValueViewer::draw(RotatedDC& dc) {
} else {
dc.SetTextForeground(style().font.color);
dc.SetBrush(style().background_color);
dc.SetFont(style().font.font, style().font.size);
dc.SetFont(style().font, 1.0);
}
// draw background
RealRect rect = style().getRect();