[Scummvm-cvs-logs] SF.net SVN: scummvm: [20571] scummvm/trunk/backends/PalmOS/Src/zodiac_mouse.cpp
chrilith at users.sourceforge.net
chrilith at users.sourceforge.net
Sat Feb 11 10:53:03 CET 2006
Revision: 20571
Author: chrilith
Date: 2006-02-11 10:52:32 -0800 (Sat, 11 Feb 2006)
ViewCVS: http://svn.sourceforge.net/scummvm?rev=20571&view=rev
Log Message:
-----------
Move setMouseCursor to OS5 class
Modified Paths:
--------------
scummvm/trunk/backends/PalmOS/Src/zodiac_mouse.cpp
Modified: scummvm/trunk/backends/PalmOS/Src/zodiac_mouse.cpp
===================================================================
--- scummvm/trunk/backends/PalmOS/Src/zodiac_mouse.cpp 2006-02-11 18:49:05 UTC (rev 20570)
+++ scummvm/trunk/backends/PalmOS/Src/zodiac_mouse.cpp 2006-02-11 18:52:32 UTC (rev 20571)
@@ -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;
More information about the Scummvm-git-logs
mailing list