aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Heider2009-01-20 15:26:15 +0000
committerAndre Heider2009-01-20 15:26:15 +0000
commit089548fb817ef1a1d8110828e9e64642abdf1adf (patch)
tree4da3889a5c147dd9bf3fff866563485253fb0338
parent15b3c680da7cef0490f6b737d70eebb737bf6619 (diff)
downloadscummvm-rg350-089548fb817ef1a1d8110828e9e64642abdf1adf.tar.gz
scummvm-rg350-089548fb817ef1a1d8110828e9e64642abdf1adf.tar.bz2
scummvm-rg350-089548fb817ef1a1d8110828e9e64642abdf1adf.zip
use Surface instead of SurfaceKeyColored
svn-id: r35953
-rw-r--r--backends/vkeybd/virtual-keyboard-gui.cpp2
-rw-r--r--backends/vkeybd/virtual-keyboard-gui.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/vkeybd/virtual-keyboard-gui.cpp b/backends/vkeybd/virtual-keyboard-gui.cpp
index 7718cd6293..db7e726635 100644
--- a/backends/vkeybd/virtual-keyboard-gui.cpp
+++ b/backends/vkeybd/virtual-keyboard-gui.cpp
@@ -301,7 +301,7 @@ void VirtualKeyboardGUI::redraw() {
int16 h = _dirtyRect.height();
if (w <= 0 || h <= 0) return;
- Graphics::SurfaceKeyColored surf;
+ Graphics::Surface surf;
surf.create(w, h, sizeof(OverlayColor));
OverlayColor *dst = (OverlayColor *)surf.pixels;
diff --git a/backends/vkeybd/virtual-keyboard-gui.h b/backends/vkeybd/virtual-keyboard-gui.h
index 211293bb5b..cad53d1b75 100644
--- a/backends/vkeybd/virtual-keyboard-gui.h
+++ b/backends/vkeybd/virtual-keyboard-gui.h
@@ -34,7 +34,7 @@
#include "common/rect.h"
#include "common/system.h"
#include "graphics/fontman.h"
-#include "graphics/surface-keycolored.h"
+#include "graphics/surface.h"
namespace Common {