aboutsummaryrefslogtreecommitdiff
path: root/graphics/cursorman.h
diff options
context:
space:
mode:
authorEugene Sandulenko2009-06-15 11:46:28 +0000
committerEugene Sandulenko2009-06-15 11:46:28 +0000
commit0ca17a7f8c79940873a4dc82537310584f03e439 (patch)
tree3eb770907973031962b42728c1387007bb8853de /graphics/cursorman.h
parentdcc5e26cab7ea7f24cfe3ac972355e2789aa67d9 (diff)
downloadscummvm-rg350-0ca17a7f8c79940873a4dc82537310584f03e439.tar.gz
scummvm-rg350-0ca17a7f8c79940873a4dc82537310584f03e439.tar.bz2
scummvm-rg350-0ca17a7f8c79940873a4dc82537310584f03e439.zip
Fix compilation when 16BIT code is disabled.
svn-id: r41543
Diffstat (limited to 'graphics/cursorman.h')
-rw-r--r--graphics/cursorman.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/graphics/cursorman.h b/graphics/cursorman.h
index 834d0d2b02..08da3ac802 100644
--- a/graphics/cursorman.h
+++ b/graphics/cursorman.h
@@ -60,11 +60,11 @@ public:
* useful to push a "dummy" cursor and modify it later. The
* cursor will be added to the stack, but not to the backend.
*/
-//#ifdef ENABLE_16BIT
+#ifdef ENABLE_16BIT
void pushCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor = 0xFFFFFFFF, int targetScale = 1);
-//#else
-// void pushCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, byte keycolor = 255, int targetScale = 1);
-//#endif
+#else
+ void pushCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, byte keycolor = 255, int targetScale = 1);
+#endif
/**
* Pop a cursor from the stack, and restore the previous one to the
@@ -85,11 +85,11 @@ public:
* @param keycolor the index for the transparent color
* @param targetScale the scale for which the cursor is designed
*/
-//#ifdef ENABLE_16BIT
+#ifdef ENABLE_16BIT
void replaceCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor = 0xFFFFFFFF, int targetScale = 1);
-//#else
-// void replaceCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, byte keycolor = 255, int targetScale = 1);
-//#endif
+#else
+ void replaceCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, byte keycolor = 255, int targetScale = 1);
+#endif
/**
* Pop all of the cursors and cursor palettes from their respective stacks.