aboutsummaryrefslogtreecommitdiff
path: root/engines/pink
diff options
context:
space:
mode:
authorEugene Sandulenko2019-09-30 23:45:57 +0200
committerEugene Sandulenko2019-09-30 23:46:25 +0200
commit11e0c9571eb3d9de68cd09a2b888896be2a26817 (patch)
tree7cc70bac90afef767403c5f5c80a417e7fc5624f /engines/pink
parent06acfd515f2e210b8f0b0e628b107db785fcd692 (diff)
downloadscummvm-rg350-11e0c9571eb3d9de68cd09a2b888896be2a26817.tar.gz
scummvm-rg350-11e0c9571eb3d9de68cd09a2b888896be2a26817.tar.bz2
scummvm-rg350-11e0c9571eb3d9de68cd09a2b888896be2a26817.zip
PINK: Use proper window border for PDA
Diffstat (limited to 'engines/pink')
-rw-r--r--engines/pink/objects/actions/action_text.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/engines/pink/objects/actions/action_text.cpp b/engines/pink/objects/actions/action_text.cpp
index a5b97b10c2..0b2e886242 100644
--- a/engines/pink/objects/actions/action_text.cpp
+++ b/engines/pink/objects/actions/action_text.cpp
@@ -90,6 +90,20 @@ void ActionText::start() {
_txtWnd->move(_xLeft, _yTop);
_txtWnd->resize(_xRight - _xLeft, _yBottom - _yTop);
+ Common::File f;
+
+ f.open("ScrollbarOnlyWin95active.bmp");
+ if (f.isOpen()) {
+ _txtWnd->loadBorder(f, true);
+ f.close();
+ }
+
+ f.open("ScrollbarOnlyWin95inactive.bmp");
+ if (f.isOpen()) {
+ _txtWnd->loadBorder(f, false);
+ f.close();
+ }
+
if (_actor->getPage()->getGame()->getLanguage() == Common::EN_ANY)
_txtWnd->appendText(str, font);
} else {