diff options
-rw-r--r-- | devtools/create_pink/ScrollbarOnlyWin95active.bmp | bin | 0 -> 2214 bytes | |||
-rw-r--r-- | devtools/create_pink/ScrollbarOnlyWin95inactive.bmp | bin | 0 -> 2214 bytes | |||
-rw-r--r-- | engines/pink/objects/actions/action_text.cpp | 14 |
3 files changed, 14 insertions, 0 deletions
diff --git a/devtools/create_pink/ScrollbarOnlyWin95active.bmp b/devtools/create_pink/ScrollbarOnlyWin95active.bmp Binary files differnew file mode 100644 index 0000000000..e52606f5d8 --- /dev/null +++ b/devtools/create_pink/ScrollbarOnlyWin95active.bmp diff --git a/devtools/create_pink/ScrollbarOnlyWin95inactive.bmp b/devtools/create_pink/ScrollbarOnlyWin95inactive.bmp Binary files differnew file mode 100644 index 0000000000..75ac5c915e --- /dev/null +++ b/devtools/create_pink/ScrollbarOnlyWin95inactive.bmp 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 { |