diff options
Diffstat (limited to 'engines/glk/fonts.cpp')
-rw-r--r-- | engines/glk/fonts.cpp | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/engines/glk/fonts.cpp b/engines/glk/fonts.cpp index cdac7c0b2b..12ae7c6489 100644 --- a/engines/glk/fonts.cpp +++ b/engines/glk/fonts.cpp @@ -29,18 +29,10 @@ namespace Glk { FontInfo::FontInfo() : _size(0), _aspect(0), _cellW(0), _cellH(0), _leading(0), _baseLine(0), _linkStyle(0), _moreFont(PROPB), _moreAlign(0), _caps(0), _linkColor(0), _linkSave(0), - _moreColor(0), _moreSave(0) { + _moreColor(0), _moreSave(0), _caretShape(0), _caretColor(0), _caretSave(0) { } -/*--------------------------------------------------------------------------*/ - -PropFontInfo::PropFontInfo() : _justify(0), _quotes(0), _dashes(0), _spaces(0), _caretShape(0), - _lineSeparation(2), _caretColor(0), _caretSave(0) { -} - -/*--------------------------------------------------------------------------*/ - -void PropFontInfo::drawCaret(const Point &pos) { +void FontInfo::drawCaret(const Point &pos) { uint color = _caretColor; Graphics::Screen &s = *g_vm->_screen; int x = pos.x / GLI_SUBPIX, y = pos.y; @@ -75,4 +67,10 @@ void PropFontInfo::drawCaret(const Point &pos) { } +/*--------------------------------------------------------------------------*/ + +PropFontInfo::PropFontInfo() : _justify(0), _quotes(0), _dashes(0), _spaces(0), + _lineSeparation(2) { +} + } // End of namespace Glk |