From a13ba4cee7c57fa55e5704d1bf3039c1e90e3954 Mon Sep 17 00:00:00 2001 From: Kostas Nakos Date: Mon, 28 Sep 2009 07:21:56 +0000 Subject: [PATCH] overload newer incarnation of setmousecursor svn-id: r44437 --- backends/platform/wince/wince-sdl.cpp | 2 +- backends/platform/wince/wince-sdl.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backends/platform/wince/wince-sdl.cpp b/backends/platform/wince/wince-sdl.cpp index 70dc19edf9d..efc09958a2b 100644 --- a/backends/platform/wince/wince-sdl.cpp +++ b/backends/platform/wince/wince-sdl.cpp @@ -1913,7 +1913,7 @@ void OSystem_WINCE3::copyRectToScreen(const byte *src, int pitch, int x, int y, SDL_UnlockSurface(_screen); } -void OSystem_WINCE3::setMouseCursor(const byte *buf, uint w, uint h, int hotspot_x, int hotspot_y, byte keycolor, int cursorTargetScale) { +void OSystem_WINCE3::setMouseCursor(const byte *buf, uint w, uint h, int hotspot_x, int hotspot_y, uint32 keycolor, int cursorTargetScale, const Graphics::PixelFormat *format) { undrawMouse(); if (w == 0 || h == 0) diff --git a/backends/platform/wince/wince-sdl.h b/backends/platform/wince/wince-sdl.h index 7b4d0f2b25f..6900d4fb79a 100644 --- a/backends/platform/wince/wince-sdl.h +++ b/backends/platform/wince/wince-sdl.h @@ -91,7 +91,7 @@ public: // Overloaded from SDL_Common (FIXME) - void setMouseCursor(const byte *buf, uint w, uint h, int hotspot_x, int hotspot_y, byte keycolor, int cursorTargetScale); // overloaded by CE backend + void setMouseCursor(const byte *buf, uint w, uint h, int hotspot_x, int hotspot_y, uint32 keycolor, int cursorTargetScale, const Graphics::PixelFormat *format); // overloaded by CE backend void undrawMouse(); void blitCursor(); bool showMouse(bool visible);