From 6d82e7ee26dad9ef0c89e1afdce29e6b955abd2e Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 15 Oct 2019 23:57:36 +0200 Subject: PINK: Set text windows to read-only --- engines/pink/objects/actions/action_text.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/pink/objects/actions/action_text.cpp') 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()); -- cgit v1.2.3