aboutsummaryrefslogtreecommitdiff
path: root/common/system.h
diff options
context:
space:
mode:
authorJody Northup2009-06-13 10:24:52 +0000
committerJody Northup2009-06-13 10:24:52 +0000
commit350dc4290fd5dd8f28af9e63713b48ef2c131f09 (patch)
treeaf86a10ccd48c275b362ca0407ddfd16180a8c0c /common/system.h
parent2ee51a8fa189fc7817fd6d78533664ec870fca48 (diff)
downloadscummvm-rg350-350dc4290fd5dd8f28af9e63713b48ef2c131f09.tar.gz
scummvm-rg350-350dc4290fd5dd8f28af9e63713b48ef2c131f09.tar.bz2
scummvm-rg350-350dc4290fd5dd8f28af9e63713b48ef2c131f09.zip
Fixed cursor code to keep track of cursor formats so that ThemeEngine and/or GuiManager cursors will render properly over the game (on spacebar hit, for instance)
svn-id: r41491
Diffstat (limited to 'common/system.h')
-rw-r--r--common/system.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/system.h b/common/system.h
index f16b560e34..4e282d1f31 100644
--- a/common/system.h
+++ b/common/system.h
@@ -739,6 +739,7 @@ public:
*/
#ifdef ENABLE_16BIT
virtual void setMouseCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor = 0xFFFFFFFF, int cursorTargetScale = 1) = 0;
+ virtual void setCursorFormat(Graphics::PixelFormat format) = 0;
#else
virtual void setMouseCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, byte keycolor = 255, int cursorTargetScale = 1) = 0;
#endif