diff options
author | Paul Gilbert | 2018-12-31 18:34:42 -0800 |
---|---|---|
committer | Paul Gilbert | 2018-12-31 18:34:42 -0800 |
commit | 1021da132b2ed37232461c1ff44b78164b0a4ee5 (patch) | |
tree | 51efb87db162a9a229ad5d6fb1c2ecb8d9d230fe /engines/glk/conf.h | |
parent | f25b3d93c1596eadc49578b8b331609168678429 (diff) | |
download | scummvm-rg350-1021da132b2ed37232461c1ff44b78164b0a4ee5.tar.gz scummvm-rg350-1021da132b2ed37232461c1ff44b78164b0a4ee5.tar.bz2 scummvm-rg350-1021da132b2ed37232461c1ff44b78164b0a4ee5.zip |
GLK: Splitting font related info from Conf into their own classes
Diffstat (limited to 'engines/glk/conf.h')
-rw-r--r-- | engines/glk/conf.h | 32 |
1 files changed, 3 insertions, 29 deletions
diff --git a/engines/glk/conf.h b/engines/glk/conf.h index ca9de2ed08..74372312ce 100644 --- a/engines/glk/conf.h +++ b/engines/glk/conf.h @@ -24,6 +24,7 @@ #define GLK_CONF_H #include "glk/glk_types.h" +#include "glk/fonts.h" #include "glk/windows.h" namespace Glk { @@ -68,26 +69,8 @@ private: */ void parseColor(const Common::String &str, byte *color); public: - Common::String _morePrompt; - byte _moreColor[3], _moreSave[3]; - FACES _moreFont; - int _moreAlign; - double _monoAspect; - double _propAspect; - double _monoSize; - Common::String _monoR; - Common::String _monoB; - Common::String _monoI; - Common::String _monoZ; - Common::String _monoFont; - double _propSize; - Common::String _propR; - Common::String _propB; - Common::String _propI; - Common::String _propZ; - Common::String _propFont; - int _leading; - int _baseLine; + MonoFontInfo _monoInfo; + PropFontInfo _propInfo; int _cols, _rows; int _lockCols, _lockRows; int _wMarginX, _wMarginY; @@ -96,20 +79,11 @@ public: int _wBorderX, _wBorderY; int _tMarginX, _tMarginY; double _gamma; - byte _caretColor[3], _caretSave[3]; - byte _linkColor[3], _linkSave[3]; byte _borderColor[3], _borderSave[3]; byte _windowColor[3], _windowSave[3]; int _lcd; - int _caretShape; - int _linkStyle; int _scrollWidth; byte _scrollBg[3], _scrollFg[3]; - int _justify; - int _quotes; - int _dashes; - int _spaces; - int _caps; bool _graphics; bool _sound; bool _speak; |