aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk
diff options
context:
space:
mode:
authorMatthew Hoops2012-05-14 00:59:50 -0400
committerMatthew Hoops2012-05-14 09:56:56 -0400
commitb253a05454cd4088a70ac1a90589ebf5db85ed5a (patch)
treeebf119cbc9dbe9c435967886f1885756ceabc31d /engines/mohawk
parentd789df894552bf73709628f09a0282b462df797e (diff)
downloadscummvm-rg350-b253a05454cd4088a70ac1a90589ebf5db85ed5a.tar.gz
scummvm-rg350-b253a05454cd4088a70ac1a90589ebf5db85ed5a.tar.bz2
scummvm-rg350-b253a05454cd4088a70ac1a90589ebf5db85ed5a.zip
GRAPHICS: Hide the WinCursor implementation
Diffstat (limited to 'engines/mohawk')
-rw-r--r--engines/mohawk/cursors.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mohawk/cursors.cpp b/engines/mohawk/cursors.cpp
index 8c72c9875e..3cf5ac740e 100644
--- a/engines/mohawk/cursors.cpp
+++ b/engines/mohawk/cursors.cpp
@@ -157,7 +157,7 @@ void NECursorManager::setCursor(uint16 id) {
Graphics::WinCursorGroup *cursorGroup = Graphics::WinCursorGroup::createCursorGroup(*_exe, id);
if (cursorGroup) {
- Graphics::WinCursor *cursor = cursorGroup->cursors[0].cursor;
+ Graphics::Cursor *cursor = cursorGroup->cursors[0].cursor;
CursorMan.replaceCursor(cursor->getSurface(), cursor->getWidth(), cursor->getHeight(), cursor->getHotspotX(), cursor->getHotspotY(), cursor->getKeyColor());
CursorMan.replaceCursorPalette(cursor->getPalette(), 0, 256);
return;
@@ -257,7 +257,7 @@ void PECursorManager::setCursor(uint16 id) {
Graphics::WinCursorGroup *cursorGroup = Graphics::WinCursorGroup::createCursorGroup(*_exe, id);
if (cursorGroup) {
- Graphics::WinCursor *cursor = cursorGroup->cursors[0].cursor;
+ Graphics::Cursor *cursor = cursorGroup->cursors[0].cursor;
CursorMan.replaceCursor(cursor->getSurface(), cursor->getWidth(), cursor->getHeight(), cursor->getHotspotX(), cursor->getHotspotY(), cursor->getKeyColor());
CursorMan.replaceCursorPalette(cursor->getPalette(), 0, 256);
delete cursorGroup;