forked from mirror/OpenTTD
Codechange: [Win32] Pass a native GDI font description around when we have one, instead of repeatedly guessing the font.
This commit is contained in:
@@ -43,7 +43,7 @@ struct TextfileWindow : public Window, MissingGlyphSearcher {
|
||||
FontSize DefaultSize() override;
|
||||
const char *NextString() override;
|
||||
bool Monospace() override;
|
||||
void SetFontNames(FreeTypeSettings *settings, const char *font_name) override;
|
||||
void SetFontNames(FreeTypeSettings *settings, const char *font_name, const void *os_data) override;
|
||||
|
||||
virtual void LoadTextfile(const char *textfile, Subdirectory dir);
|
||||
|
||||
|
Reference in New Issue
Block a user