aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorChris Apers2006-02-11 18:52:32 +0000
committerChris Apers2006-02-11 18:52:32 +0000
commit26a3285b535c32d7abd1b888043ff82b22af5738 (patch)
treecf368b5c55845284a5d3e41180b3c62e00909b84 /backends
parent9649fb50f31e454efc603389abd9d295981404b5 (diff)
downloadscummvm-rg350-26a3285b535c32d7abd1b888043ff82b22af5738.tar.gz
scummvm-rg350-26a3285b535c32d7abd1b888043ff82b22af5738.tar.bz2
scummvm-rg350-26a3285b535c32d7abd1b888043ff82b22af5738.zip
Move setMouseCursor to OS5 class
svn-id: r20571
Diffstat (limited to 'backends')
-rwxr-xr-xbackends/PalmOS/Src/zodiac_mouse.cpp23
1 files changed, 1 insertions, 22 deletions
diff --git a/backends/PalmOS/Src/zodiac_mouse.cpp b/backends/PalmOS/Src/zodiac_mouse.cpp
index 5067117f0f..813da9d56a 100755
--- a/backends/PalmOS/Src/zodiac_mouse.cpp
+++ b/backends/PalmOS/Src/zodiac_mouse.cpp
@@ -1,7 +1,7 @@
/* ScummVM - Scumm Interpreter
* Copyright (C) 2001 Ludvig Strigeus
* Copyright (C) 2001-2006 The ScummVM project
- * Copyright (C) 2002-2005 Chris Apers - PalmOS Backend
+ * Copyright (C) 2002-2006 Chris Apers - PalmOS Backend
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -24,27 +24,6 @@
#include "be_zodiac.h"
-void OSystem_PalmZodiac::setMouseCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, byte keycolor, int cursorTargetScale) {
- if (w == 0 || h == 0)
- return;
-
- _mouseCurState.w = w;
- _mouseCurState.h = h;
-
- _mouseHotspotX = hotspotX;
- _mouseHotspotY = hotspotY;
-
- _mouseKeyColor = keycolor;
-
- // copy new cursor
- byte *dst = _mouseDataP;
- while (h--) {
- memcpy(dst, buf, w);
- dst += MAX_MOUSE_W;
- buf += w;
- }
-}
-
void OSystem_PalmZodiac::draw_mouse() {
if (_mouseDrawn || !_mouseVisible)
return;