aboutsummaryrefslogtreecommitdiff
path: root/common/system.h
diff options
context:
space:
mode:
authorJody Northup2009-06-26 10:37:00 +0000
committerJody Northup2009-06-26 10:37:00 +0000
commit27e50db5d7cdbed498d6a61b1ee1ad5405ce33a2 (patch)
tree69b15c5697f95dfd1b28206e68c149fc17b8903d /common/system.h
parent2859c9130462e66df705d534f9a70d1430628be7 (diff)
downloadscummvm-rg350-27e50db5d7cdbed498d6a61b1ee1ad5405ce33a2.tar.gz
scummvm-rg350-27e50db5d7cdbed498d6a61b1ee1ad5405ce33a2.tar.bz2
scummvm-rg350-27e50db5d7cdbed498d6a61b1ee1ad5405ce33a2.zip
Converted OSystem::SetMouseCursor to take pointer to PixelFormat, instead of full PixelFormat. Removed OSystem::setCursorFormat (since I forgot to do so several commits ago)
svn-id: r41901
Diffstat (limited to 'common/system.h')
-rw-r--r--common/system.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/common/system.h b/common/system.h
index af672a505e..28947d00c5 100644
--- a/common/system.h
+++ b/common/system.h
@@ -732,13 +732,9 @@ public:
* @param hotspotY vertical offset from the top side to the hotspot
* @param keycolor transparency color index
* @param cursorTargetScale scale factor which cursor is designed for
- * @param format pixel format which cursor graphic uses
+ * @param format pointer to the pixel format which cursor graphic uses
*/
- virtual void setMouseCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor = 0xFFFFFFFF, int cursorTargetScale = 1, Graphics::PixelFormat format = Graphics::PixelFormat::createFormatCLUT8()) = 0;
-#ifdef ENABLE_RGB_COLOR
- virtual void setCursorFormat(Graphics::PixelFormat format) = 0;
-#endif
-
+ virtual void setMouseCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor = 0xFFFFFFFF, int cursorTargetScale = 1, Graphics::PixelFormat *format = NULL) = 0;
/**
* Replace the specified range of cursor the palette with new colors.