aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMax Horn2011-06-04 00:14:09 +0200
committerMax Horn2011-06-04 11:55:56 +0200
commitce32745d9c26a0b97dce6a137a46ff2004c7be02 (patch)
treebbf618410aa42cd69b0a140de7fb225a9f769ada /common
parent6575cd195bef842697ea0b0ec80c3c1aa91f58e5 (diff)
downloadscummvm-rg350-ce32745d9c26a0b97dce6a137a46ff2004c7be02.tar.gz
scummvm-rg350-ce32745d9c26a0b97dce6a137a46ff2004c7be02.tar.bz2
scummvm-rg350-ce32745d9c26a0b97dce6a137a46ff2004c7be02.zip
BACKENDS: Replace OSystem::disableCursorPalette by setFeatureState calls
Diffstat (limited to 'common')
-rw-r--r--common/system.h24
1 files changed, 6 insertions, 18 deletions
diff --git a/common/system.h b/common/system.h
index e74b878fb7..b7fc870af7 100644
--- a/common/system.h
+++ b/common/system.h
@@ -167,14 +167,14 @@ public:
kFeatureVirtualKeyboard,
/**
- * This flag determines whether or not the cursor can have its own palette.
+ * Backends supporting this feature allow specifying a custom palette
+ * for the cursor. The custom palette is used if the feature state
+ * is set to true by the client code via setFeatureState().
+ *
* It is currently used only by some Macintosh versions of Humongous
- * Entertainment games. If the backend doesn't implement this feature then
- * the engine switches to b/w versions of cursors.
+ * Entertainment games. If the backend doesn't implement this feature
+ * then the engine switches to b/w versions of cursors.
* The GUI also relies on this feature for mouse cursors.
- *
- * To enable the cursor palette call "disableCursorPalette" with false.
- * @see disableCursorPalette
*/
kFeatureCursorPalette,
@@ -800,18 +800,6 @@ public:
*/
virtual void setCursorPalette(const byte *colors, uint start, uint num) {}
- /**
- * Disable or enable cursor palette.
- *
- * Backends which implement it should have kFeatureCursorPalette flag set
- *
- * @param disable True to disable, false to enable.
- *
- * @see setPalette
- * @see kFeatureCursorPalette
- */
- virtual void disableCursorPalette(bool disable) {}
-
//@}