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/windows.cpp | |
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/windows.cpp')
-rw-r--r-- | engines/glk/windows.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/glk/windows.cpp b/engines/glk/windows.cpp index 946a373151..0e59ebcf48 100644 --- a/engines/glk/windows.cpp +++ b/engines/glk/windows.cpp @@ -502,7 +502,7 @@ Window::Window(Windows *windows, uint rock) : _windows(windows), _rock(rock), _attr.hyper = 0; Common::copy(&g_conf->_windowColor[0], &g_conf->_windowColor[3], &_bgColor[0]); - Common::copy(&g_conf->_moreColor[0], &g_conf->_moreColor[3], _fgColor); + Common::copy(&g_conf->_propInfo._moreColor[0], &g_conf->_propInfo._moreColor[3], _fgColor); _dispRock.num = 0; Streams &streams = *g_vm->_streams; @@ -562,6 +562,10 @@ void Window::close(bool recurse) { delete this; } +FontInfo *Window::getFontInfo() { + error("Tried to get font info for a non-text window"); +} + void Window::cancelLineEvent(Event *ev) { Event dummyEv; if (!ev) |