aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui/mactextwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/macgui/mactextwindow.h')
-rw-r--r--graphics/macgui/mactextwindow.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/macgui/mactextwindow.h b/graphics/macgui/mactextwindow.h
index 942fdd4fab..c236f47e47 100644
--- a/graphics/macgui/mactextwindow.h
+++ b/graphics/macgui/mactextwindow.h
@@ -63,6 +63,9 @@ public:
void appendText(Common::String str, const MacFont *macFont, bool skipAdd = false);
void clearText();
+ void setEditable(bool editable) { _editable = editable; }
+ void setSelectable(bool selectable) { _selectable = selectable; }
+
void undrawCursor();
const Common::String getInput() { return _inputText; }
@@ -94,6 +97,8 @@ public:
bool _cursorDirty;
Common::Rect *_cursorRect;
bool _cursorOff;
+ bool _editable;
+ bool _selectable;
int _scrollPos;