aboutsummaryrefslogtreecommitdiff
path: root/engines/pink
diff options
context:
space:
mode:
authorEugene Sandulenko2019-10-15 23:57:36 +0200
committerEugene Sandulenko2019-10-15 23:58:00 +0200
commit6d82e7ee26dad9ef0c89e1afdce29e6b955abd2e (patch)
tree97dff8cd8d2f833abd5792937428d42a2c323542 /engines/pink
parent695ba470636ac079bb12e58297b4723c87b630d1 (diff)
downloadscummvm-rg350-6d82e7ee26dad9ef0c89e1afdce29e6b955abd2e.tar.gz
scummvm-rg350-6d82e7ee26dad9ef0c89e1afdce29e6b955abd2e.tar.bz2
scummvm-rg350-6d82e7ee26dad9ef0c89e1afdce29e6b955abd2e.zip
PINK: Set text windows to read-only
Diffstat (limited to 'engines/pink')
-rw-r--r--engines/pink/objects/actions/action_text.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/pink/objects/actions/action_text.cpp b/engines/pink/objects/actions/action_text.cpp
index aae783a070..4ee9cf634f 100644
--- a/engines/pink/objects/actions/action_text.cpp
+++ b/engines/pink/objects/actions/action_text.cpp
@@ -97,6 +97,8 @@ void ActionText::start() {
_xRight - _xLeft, align, nullptr, false);
_txtWnd->move(_xLeft, _yTop);
_txtWnd->resize(_xRight - _xLeft, _yBottom - _yTop);
+ _txtWnd->setEditable(false);
+ _txtWnd->setSelectable(false);
Graphics::TransparentSurface *noborder = new Graphics::TransparentSurface();
noborder->create(3, 3, noborder->getSupportedPixelFormat());