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
-3
View File
@@ -231,18 +231,15 @@ void KeywordsPanel::onChangeSet() {
// init text controls
keyword ->setSet(set);
keyword ->getStyle().font.size = 16;
keyword ->getStyle().font.font.SetPointSize(16);
keyword ->getStyle().padding_bottom = 1;
keyword ->updateSize();
match ->setSet(set);
match ->getStyle().font.size = 12;
match ->getStyle().font.font.SetPointSize(12);
match ->getStyle().padding_bottom = 1;
match ->updateSize();
reminder->setSet(set);
reminder->getStyle().padding_bottom = 2;
match ->getStyle().font.size = 10;
match ->getStyle().font.font.SetPointSize(10);
reminder->updateSize();
rules ->setSet(set);
// parameter & mode lists