aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui/mactextwindow.h
diff options
context:
space:
mode:
authorEugene Sandulenko2019-10-15 23:57:08 +0200
committerEugene Sandulenko2019-10-15 23:58:00 +0200
commit695ba470636ac079bb12e58297b4723c87b630d1 (patch)
tree7a68decee45ddd599f8231a09b6d83d614d506dd /graphics/macgui/mactextwindow.h
parent1a76b548e5a50b774646b5e7d959d4fdc083ae8c (diff)
downloadscummvm-rg350-695ba470636ac079bb12e58297b4723c87b630d1.tar.gz
scummvm-rg350-695ba470636ac079bb12e58297b4723c87b630d1.tar.bz2
scummvm-rg350-695ba470636ac079bb12e58297b4723c87b630d1.zip
GRAPHICS: MACGUI: Added possibility to create read only text windows
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;