diff options
author | Paul Gilbert | 2019-08-04 14:40:01 -0700 |
---|---|---|
committer | Paul Gilbert | 2019-08-04 16:44:22 -0700 |
commit | 8a51f305335810d52d3633f8b1cc910b84c5f0e6 (patch) | |
tree | 4d3330d15c82086bd6fb94e04ef3f4cdd208cfba /engines/glk/window_text_buffer.cpp | |
parent | 2d0912b59b6a5d02f5bfb131e0c288382ca83432 (diff) | |
download | scummvm-rg350-8a51f305335810d52d3633f8b1cc910b84c5f0e6.tar.gz scummvm-rg350-8a51f305335810d52d3633f8b1cc910b84c5f0e6.tar.bz2 scummvm-rg350-8a51f305335810d52d3633f8b1cc910b84c5f0e6.zip |
GLK: Create an intermediate TextWindow base class for text windows
This will make it easier to check whether a window is textual
without having to check for both the grid & buffer classes explicitly
Diffstat (limited to 'engines/glk/window_text_buffer.cpp')
-rw-r--r-- | engines/glk/window_text_buffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/glk/window_text_buffer.cpp b/engines/glk/window_text_buffer.cpp index b182643644..6c312be607 100644 --- a/engines/glk/window_text_buffer.cpp +++ b/engines/glk/window_text_buffer.cpp @@ -36,7 +36,7 @@ namespace Glk { #define SLOP (2 * GLI_SUBPIX) -TextBufferWindow::TextBufferWindow(Windows *windows, uint rock) : Window(windows, rock), +TextBufferWindow::TextBufferWindow(Windows *windows, uint rock) : TextWindow(windows, rock), _font(g_conf->_propInfo), _historyPos(0), _historyFirst(0), _historyPresent(0), _lastSeen(0), _scrollPos(0), _scrollMax(0), _scrollBack(SCROLLBACK), _width(-1), _height(-1), _inBuf(nullptr), _lineTerminators(nullptr), _echoLineInput(true), _ladjw(0), _radjw(0), |