diff options
Diffstat (limited to 'engines/glk/fonts.h')
-rw-r--r-- | engines/glk/fonts.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/engines/glk/fonts.h b/engines/glk/fonts.h index 4a9253023c..156f4d44f8 100644 --- a/engines/glk/fonts.h +++ b/engines/glk/fonts.h @@ -48,11 +48,21 @@ struct FontInfo { int _moreAlign; Common::String _morePrompt; int _caps; + uint _caretColor, _caretSave; + int _caretShape; /** * Constructor */ FontInfo(); + + + /** + * Draws the text input caret at the given position + * @remarks The position specifies the caret's bottom-left corner, + * and the X position is in multiples of GLI_SUBPIX + */ + void drawCaret(const Point &pos); }; /** @@ -65,8 +75,6 @@ struct MonoFontInfo : public FontInfo { * Font info for proportional (variable size) fonts */ struct PropFontInfo : public MonoFontInfo { - uint _caretColor, _caretSave; - int _caretShape; int _justify; int _quotes; int _dashes; @@ -77,13 +85,6 @@ struct PropFontInfo : public MonoFontInfo { * Constructor */ PropFontInfo(); - - /** - * Draws the text input caret at the given position - * @remarks The position specifies the caret's bottom-left corner, - * and the X position is in multiples of GLI_SUBPIX - */ - void drawCaret(const Point &pos); }; } // End of namespace Glk |