|
OpenTTD Source 20260421-master-gc2fbc6fdeb
|
Settings for a single font. More...
#include <fontcache.h>
Data Fields | |
| std::string | font |
| The name of the font, or path to the font. | |
| uint | size |
| The (requested) size of the font. | |
| std::any | os_handle |
| Optional native OS font info. | |
Settings for a single font.
Definition at line 190 of file fontcache.h.
| std::string FontCacheSubSetting::font |
The name of the font, or path to the font.
Definition at line 191 of file fontcache.h.
Referenced by FontCache::AddFallback(), ConFont(), and IsDefaultFont().
| std::any FontCacheSubSetting::os_handle |
Optional native OS font info.
Definition at line 194 of file fontcache.h.
Referenced by FontCache::AddFallback(), and IsDefaultFont().
| uint FontCacheSubSetting::size |
The (requested) size of the font.
Definition at line 192 of file fontcache.h.
Referenced by ConFont(), and GetFontCacheFontSize().