diff options
author | Paul Gilbert | 2015-02-01 19:04:28 -0500 |
---|---|---|
committer | Paul Gilbert | 2015-02-01 19:04:28 -0500 |
commit | 78234db2c02c95e1b9e88b4096b9a9c96fd95adf (patch) | |
tree | e4b8e34e2edd7bed2c28c9c4f55e9b922e28f144 /engines/xeen/font.cpp | |
parent | 2b2ce19012c6b51e35704331d8b322f38c97f462 (diff) | |
download | scummvm-rg350-78234db2c02c95e1b9e88b4096b9a9c96fd95adf.tar.gz scummvm-rg350-78234db2c02c95e1b9e88b4096b9a9c96fd95adf.tar.bz2 scummvm-rg350-78234db2c02c95e1b9e88b4096b9a9c96fd95adf.zip |
XEEN: Add Quick Reference dialog
Diffstat (limited to 'engines/xeen/font.cpp')
-rw-r--r-- | engines/xeen/font.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/engines/xeen/font.cpp b/engines/xeen/font.cpp index 1668ef5ae8..aca747e776 100644 --- a/engines/xeen/font.cpp +++ b/engines/xeen/font.cpp @@ -28,19 +28,13 @@ namespace Xeen { FontSurface::FontSurface() : XSurface(), _fontData(nullptr), _bgColor(DEFAULT_BG_COLOR), _fontReduced(false),_fontJustify(JUSTIFY_NONE), _msgWraps(false) { - _textColors[0] = 0; - _textColors[1] = 0x40; - _textColors[2] = 0x30; - _textColors[3] = 0x20; + setTextColor(0); } FontSurface::FontSurface(int wv, int hv) : XSurface(wv, hv), _fontData(nullptr), _msgWraps(false), _bgColor(DEFAULT_BG_COLOR), _fontReduced(false), _fontJustify(JUSTIFY_NONE) { create(w, h); - _textColors[0] = 0; - _textColors[1] = 0x40; - _textColors[2] = 0x30; - _textColors[3] = 0x20; + setTextColor(0); } /** |