From ce32745d9c26a0b97dce6a137a46ff2004c7be02 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 4 Jun 2011 00:14:09 +0200 Subject: BACKENDS: Replace OSystem::disableCursorPalette by setFeatureState calls --- common/system.h | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) (limited to 'common') 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) {} - //@} -- cgit v1.2.3