diff options
Diffstat (limited to 'glcdgraphics/font.h')
-rw-r--r-- | glcdgraphics/font.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/glcdgraphics/font.h b/glcdgraphics/font.h index 1315123..a77de14 100644 --- a/glcdgraphics/font.h +++ b/glcdgraphics/font.h @@ -29,6 +29,14 @@ class cBitmapCache; class cFont { +public: + enum eFontType + { + // native glcd font loaded + ftFNT, + // freetype2 font loaded + ftFT2 + }; private: int totalWidth; int totalHeight; @@ -37,7 +45,7 @@ private: int lineHeight; cBitmap * characters[256]; - int fontType; //original or FT2 font, 1-original, 2-ft2 + eFontType fontType; bool isutf8; wchar_t iconv_lut[256]; // lookup table needed if encoding != UTF-8 |