diff options
author | Eugene Sandulenko | 2019-10-15 23:57:36 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-10-15 23:58:00 +0200 |
commit | 6d82e7ee26dad9ef0c89e1afdce29e6b955abd2e (patch) | |
tree | 97dff8cd8d2f833abd5792937428d42a2c323542 /engines/pink | |
parent | 695ba470636ac079bb12e58297b4723c87b630d1 (diff) | |
download | scummvm-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.cpp | 2 |
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()); |