1 #ifndef OPENMW_WIDGETS_WRAPPER_H
2 #define OPENMW_WIDGETS_WRAPPER_H
17 T::setPropertyOverride (
"FontHeight",
mFontSize);
25 fontSize = std::min(std::max(12, fontSize), 20);
31 T::setPropertyOverride (_key, _value);
35 if (_key ==
"FontName")
37 T::setPropertyOverride (
"FontHeight",
mFontSize);
virtual void setFontName(const std::string &name)
Definition: fontwrapper.hpp:14
virtual void setPropertyOverride(const std::string &_key, const std::string &_value)
Definition: fontwrapper.hpp:29
FontWrapper()
Definition: fontwrapper.hpp:21
Definition: fontwrapper.hpp:11
std::string mFontSize
Definition: fontwrapper.hpp:41
static int getInt(const std::string &setting, const std::string &category)
Definition: settings.cpp:399
const char * name
Definition: crashcatcher.cpp:67