aboutsummaryrefslogtreecommitdiff
path: root/engines/gargoyle/windows.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gargoyle/windows.cpp')
-rw-r--r--engines/gargoyle/windows.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/gargoyle/windows.cpp b/engines/gargoyle/windows.cpp
index 8dc546a61d..0bc16b2c25 100644
--- a/engines/gargoyle/windows.cpp
+++ b/engines/gargoyle/windows.cpp
@@ -89,7 +89,7 @@ WindowStyle G_STYLES[style_NUMSTYLES] = {
Windows::Windows(Graphics::Screen *screen) : _screen(screen), _forceRedraw(true), _moreFocus(false),
_windowList(nullptr), _rootWin(nullptr), _focusWin(nullptr), _mask(nullptr),
- _claimSelect(0) {
+ _claimSelect(0), _currentStr(nullptr) {
_confLockCols = false;
_confLockRows = false;
_wMarginx = 15;
@@ -280,6 +280,10 @@ void Windows::clearSelection() {
_claimSelect = false;
}
+void Windows::setCurrent(Common::WriteStream *stream) {
+ _currentStr = stream;
+}
+
/*--------------------------------------------------------------------------*/
Window::Window(Windows *windows, glui32 rock) : _magicnum(MAGIC_WINDOW_NUM),