22 #ifndef STARK_SERVICES_FONT_PROVIDER_H 23 #define STARK_SERVICES_FONT_PROVIDER_H 25 #include "common/hash-str.h" 26 #include "common/ptr.h" 55 const Graphics::Font *getScaledFont(FontType type, int32 customFontIndex);
60 uint getScaledFontHeight(FontType type, int32 customFontIndex);
61 uint getOriginalFontHeight(FontType type, int32 customFontIndex);
70 uint32 _originalHeight;
75 FontHolder() : _originalHeight(0), _scaledHeight(0) {}
80 void readFontEntry(
const Common::INIFile *gui, FontHolder &holder,
const char *nameKey,
const char *sizeKey);
81 FontHolder *getFontHolder(FontType type, int32 customFontIndex);
83 FontHolder _smallFont;
85 FontHolder _customFonts[8];
92 #endif // STARK_SERVICES_FONT_PROVIDER_H
Definition: fontprovider.h:41
Definition: algorithm.h:29
Definition: formatinfo.h:28
Definition: ini-file.h:58