diff options
author | Paul Gilbert | 2016-03-10 21:51:47 -0500 |
---|---|---|
committer | Paul Gilbert | 2016-03-14 20:56:27 -0400 |
commit | 3da3dda187b4f88b21c3c7015c953fe0b30b2a50 (patch) | |
tree | 37cef401337051f8c02ca6cfcdbcef2aca331892 /engines/sherlock/tattoo/widget_password.cpp | |
parent | b4e3d4abc16d9996651874c8952b1ce846dcb6a1 (diff) | |
download | scummvm-rg350-3da3dda187b4f88b21c3c7015c953fe0b30b2a50.tar.gz scummvm-rg350-3da3dda187b4f88b21c3c7015c953fe0b30b2a50.tar.bz2 scummvm-rg350-3da3dda187b4f88b21c3c7015c953fe0b30b2a50.zip |
SHERLOCK: Changed engine to use Graphics::ManagedSurface
Diffstat (limited to 'engines/sherlock/tattoo/widget_password.cpp')
-rw-r--r-- | engines/sherlock/tattoo/widget_password.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sherlock/tattoo/widget_password.cpp b/engines/sherlock/tattoo/widget_password.cpp index 57a5e02653..2a2921026d 100644 --- a/engines/sherlock/tattoo/widget_password.cpp +++ b/engines/sherlock/tattoo/widget_password.cpp @@ -47,7 +47,7 @@ void WidgetPassword::show() { // Create the surface _surface.create(_bounds.width(), _bounds.height()); - _surface.fill(TRANSPARENCY); + _surface.clear(TRANSPARENCY); makeInfoArea(); // Draw the header area @@ -55,8 +55,8 @@ void WidgetPassword::show() { _surface.hLine(3, _surface.fontHeight() + 7, _bounds.width() - 4, INFO_TOP); _surface.hLine(3, _surface.fontHeight() + 8, _bounds.width() - 4, INFO_MIDDLE); _surface.hLine(3, _surface.fontHeight() + 9, _bounds.width() - 4, INFO_BOTTOM); - _surface.transBlitFrom(images[4], Common::Point(0, _surface.fontHeight() + 7 - 1)); - _surface.transBlitFrom(images[5], Common::Point(_bounds.width() - images[5]._width, _surface.fontHeight() + 7 - 1)); + _surface.SHtransBlitFrom(images[4], Common::Point(0, _surface.fontHeight() + 7 - 1)); + _surface.SHtransBlitFrom(images[5], Common::Point(_bounds.width() - images[5]._width, _surface.fontHeight() + 7 - 1)); // Set the password entry data _cursorPos = Common::Point(_surface.widestChar(), _surface.fontHeight() + 12); |