aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/tattoo/widget_text.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-03-10 21:51:47 -0500
committerPaul Gilbert2016-03-14 20:56:27 -0400
commit3da3dda187b4f88b21c3c7015c953fe0b30b2a50 (patch)
tree37cef401337051f8c02ca6cfcdbcef2aca331892 /engines/sherlock/tattoo/widget_text.cpp
parentb4e3d4abc16d9996651874c8952b1ce846dcb6a1 (diff)
downloadscummvm-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_text.cpp')
-rw-r--r--engines/sherlock/tattoo/widget_text.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sherlock/tattoo/widget_text.cpp b/engines/sherlock/tattoo/widget_text.cpp
index d8d229d277..a29cd2700f 100644
--- a/engines/sherlock/tattoo/widget_text.cpp
+++ b/engines/sherlock/tattoo/widget_text.cpp
@@ -166,7 +166,7 @@ void WidgetText::render(const Common::String &str) {
// Allocate a surface for the window
_surface.create(_bounds.width(), _bounds.height());
- _surface.fill(TRANSPARENCY);
+ _surface.clear(TRANSPARENCY);
// Form the background for the new window
makeInfoArea();
@@ -195,7 +195,7 @@ void WidgetMessage::load(const Common::String &str, int time) {
// Allocate a surface for the window
_surface.create(_bounds.width(), _bounds.height());
- _surface.fill(TRANSPARENCY);
+ _surface.clear(TRANSPARENCY);
// Form the background for the new window and write the line of text
makeInfoArea();