aboutsummaryrefslogtreecommitdiff
path: root/engines/pink/objects
diff options
context:
space:
mode:
authorEugene Sandulenko2019-10-15 23:39:22 +0200
committerEugene Sandulenko2019-10-15 23:58:00 +0200
commit1a76b548e5a50b774646b5e7d959d4fdc083ae8c (patch)
treed8b5a5041600dcaa818ae2b6f89ed91bd0c905d8 /engines/pink/objects
parent84d5a23c1dcfa5c81789fc89e5dfec355eff870e (diff)
downloadscummvm-rg350-1a76b548e5a50b774646b5e7d959d4fdc083ae8c.tar.gz
scummvm-rg350-1a76b548e5a50b774646b5e7d959d4fdc083ae8c.tar.bz2
scummvm-rg350-1a76b548e5a50b774646b5e7d959d4fdc083ae8c.zip
PINK: Disable border for all text windows
Diffstat (limited to 'engines/pink/objects')
-rw-r--r--engines/pink/objects/actions/action_text.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/pink/objects/actions/action_text.cpp b/engines/pink/objects/actions/action_text.cpp
index 0c9889377b..aae783a070 100644
--- a/engines/pink/objects/actions/action_text.cpp
+++ b/engines/pink/objects/actions/action_text.cpp
@@ -109,6 +109,9 @@ void ActionText::start() {
_txtWnd->setBorder(noborder, true);
+ Graphics::TransparentSurface *noborder2 = new Graphics::TransparentSurface(*noborder, true);
+ _txtWnd->setBorder(noborder2, false);
+
if (_actor->getPage()->getGame()->getLanguage() == Common::EN_ANY)
_txtWnd->appendText(str, font);
} else {