|
OpenTTD Source 20251213-master-g1091fa6071
|
Helper for searching through the language pack. More...
Private Member Functions | |
| void | Reset () override |
| Reset the search, i.e. | |
| FontSize | DefaultSize () override |
| Get the default (font) size of the string. | |
| std::optional< std::string_view > | NextString () override |
| Get the next string to search through. | |
Private Attributes | |
| uint | i |
| Iterator for the primary language tables. | |
| uint | j |
| Iterator for the secondary language tables. | |
Additional Inherited Members | |
Public Member Functions inherited from BaseStringMissingGlyphSearcher | |
| BaseStringMissingGlyphSearcher (FontSizes fontsizes) | |
| FontLoadReason | GetLoadReason () override |
| std::set< char32_t > | GetRequiredGlyphs (FontSizes fontsizes) override |
| Get set of glyphs required for the current language. | |
Public Member Functions inherited from MissingGlyphSearcher | |
| MissingGlyphSearcher (FontSizes fontsizes) | |
| virtual | ~MissingGlyphSearcher ()=default |
| Make sure everything gets destructed right. | |
| FontSizes | FindMissingGlyphs () |
| Test if any glyphs are missing. | |
Data Fields inherited from MissingGlyphSearcher | |
| FontSizes | fontsizes |
| Font sizes to search for. | |
Helper for searching through the language pack.
Definition at line 2322 of file strings.cpp.
|
inline |
Definition at line 2324 of file strings.cpp.
|
inlineoverrideprivatevirtual |
Get the default (font) size of the string.
Implements BaseStringMissingGlyphSearcher.
Definition at line 2336 of file strings.cpp.
References FS_NORMAL.
|
inlineoverrideprivatevirtual |
Get the next string to search through.
Implements BaseStringMissingGlyphSearcher.
Definition at line 2341 of file strings.cpp.
References i, j, LoadedLanguagePack::langtab_num, LoadedLanguagePack::langtab_start, and TEXT_TAB_END.
|
inlineoverrideprivatevirtual |
Reset the search, i.e.
begin from the beginning again.
Implements BaseStringMissingGlyphSearcher.
Definition at line 2330 of file strings.cpp.
|
private |
Iterator for the primary language tables.
Definition at line 2327 of file strings.cpp.
Referenced by NextString().
|
private |
Iterator for the secondary language tables.
Definition at line 2328 of file strings.cpp.
Referenced by NextString().