OpenTTD Source
1.11.2
|
Helper for searching through the language pack. More...
Private Member Functions | |
void | Reset () override |
Reset the search, i.e. More... | |
FontSize | DefaultSize () override |
Get the default (font) size of the string. More... | |
const char * | NextString () override |
Get the next string to search through. More... | |
bool | Monospace () override |
Whether to search for a monospace font or not. More... | |
void | SetFontNames (FreeTypeSettings *settings, const char *font_name, const void *os_data) override |
Set the right font names. More... | |
Private Attributes | |
uint | i |
Iterator for the primary language tables. | |
uint | j |
Iterator for the secondary language tables. | |
Additional Inherited Members | |
![]() | |
virtual | ~MissingGlyphSearcher () |
Make sure everything gets destructed right. | |
bool | FindMissingGlyphs () |
Check whether there are glyphs missing in the current language. More... | |
Helper for searching through the language pack.
Definition at line 2029 of file strings.cpp.
|
inlineoverrideprivatevirtual |
Get the default (font) size of the string.
Implements MissingGlyphSearcher.
Definition at line 2039 of file strings.cpp.
References FS_NORMAL.
|
inlineoverrideprivatevirtual |
Whether to search for a monospace font or not.
Implements MissingGlyphSearcher.
Definition at line 2059 of file strings.cpp.
|
inlineoverrideprivatevirtual |
Get the next string to search through.
Implements MissingGlyphSearcher.
Definition at line 2044 of file strings.cpp.
References TEXT_TAB_END.
|
inlineoverrideprivatevirtual |
Reset the search, i.e.
begin from the beginning again.
Implements MissingGlyphSearcher.
Definition at line 2033 of file strings.cpp.
|
inlineoverrideprivatevirtual |
Set the right font names.
settings | The settings to modify. |
font_name | The new font name. |
os_data | Opaque pointer to OS-specific data. |
Implements MissingGlyphSearcher.
Definition at line 2064 of file strings.cpp.