aboutsummaryrefslogtreecommitdiff
path: root/engines/gargoyle/window_text_buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gargoyle/window_text_buffer.h')
-rw-r--r--engines/gargoyle/window_text_buffer.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/gargoyle/window_text_buffer.h b/engines/gargoyle/window_text_buffer.h
index fdca1d8793..5359d4e60e 100644
--- a/engines/gargoyle/window_text_buffer.h
+++ b/engines/gargoyle/window_text_buffer.h
@@ -126,9 +126,6 @@ public:
glui32 _echoLineInput;
glui32 *_lineTerminators;
- /* style hints and settings */
- WindowStyle _styles[style_NUMSTYLES];
-
/* for copy selection */
glui32 *_copyBuf;
int _copyPos;
@@ -219,6 +216,11 @@ public:
virtual void cancelCharEvent() override { _charRequest = _charRequestUni = false; }
virtual void flowBreak() override;
+
+ /**
+ * Returns a pointer to the styles for the window
+ */
+ virtual const WindowStyle *getStyles() const override { return _styles; }
};
} // End of namespace Gargoyle