1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-20 12:19:10 +00:00

Fix ptGUIControl.setFontFlags().

Previous revision didn't work, many controls retained their shadows because they never got the new flags from the color scheme and put them into the dynamic text map. I haven't checked if any more of the many control classes are affected, but those that we need in the KI right now are covered.
This commit is contained in:
Christian Walther
2014-04-10 22:59:37 +02:00
parent 020f8a1ba0
commit c0b63e4237
5 changed files with 9 additions and 2 deletions

View File

@ -455,6 +455,7 @@ void pyGUIControl::SetFontFlags(UInt8 fontFlags)
{
pfGUIColorScheme* colorscheme = pdmod->GetColorScheme();
colorscheme->fFontFlags = fontFlags;
pdmod->UpdateColorScheme();
}
}
}