aboutsummaryrefslogtreecommitdiff
path: root/common/system.h
diff options
context:
space:
mode:
authorJody Northup2009-06-24 06:44:30 +0000
committerJody Northup2009-06-24 06:44:30 +0000
commit865129a5630017f05d08e778ba1ef430c23cd55a (patch)
tree302b20f7e4366d8e5b91cffde7420a0f719771ec /common/system.h
parent4a380dc0d8b1a75fa31e0b4511e03b0782b43f89 (diff)
downloadscummvm-rg350-865129a5630017f05d08e778ba1ef430c23cd55a.tar.gz
scummvm-rg350-865129a5630017f05d08e778ba1ef430c23cd55a.tar.bz2
scummvm-rg350-865129a5630017f05d08e778ba1ef430c23cd55a.zip
made the cursor's pixel format a member of the cursor object, merged ____CursorFormat functions into equivalent ____Cursor functions.
svn-id: r41825
Diffstat (limited to 'common/system.h')
-rw-r--r--common/system.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/system.h b/common/system.h
index 1f91fc900d..fad9cf378a 100644
--- a/common/system.h
+++ b/common/system.h
@@ -714,8 +714,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
*/
- virtual void setMouseCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor = 0xFFFFFFFF, int cursorTargetScale = 1) = 0;
+ 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