mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Move font loading to the FontLoader
This commit is contained in:
parent
f36288569c
commit
396afe79f1
5 changed files with 116 additions and 108 deletions
|
@ -38,7 +38,7 @@ namespace Gui
|
|||
|
||||
std::string getFontSize()
|
||||
{
|
||||
// Note: we can not use the WindowManager here, so there is a code duplication a bit.
|
||||
// Note: we can not use the FontLoader here, so there is a code duplication a bit.
|
||||
static const std::string fontSize = std::to_string(clamp(Settings::Manager::getInt("font size", "GUI"), 12, 20));
|
||||
return fontSize;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue