From 4b5b9bc984e78904b05d22be32796eeee4720d71 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 12 Mar 2005 16:33:03 +0000 Subject: mouse cursor palette better fits into the 'mouse' category than in the 'graphics' category (IMO) svn-id: r17102 --- common/system.h | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'common/system.h') diff --git a/common/system.h b/common/system.h index 639729ab03..0c66f77334 100644 --- a/common/system.h +++ b/common/system.h @@ -281,30 +281,6 @@ public: */ virtual void setPalette(const byte *colors, uint start, uint num) = 0; - /** - * Replace the specified range of cursor the palette with new colors. - * The palette entries from 'start' till (start+num-1) will be replaced - so - * a full palette update is accomplished via start=0, num=256. - * - * Backends which implement it should have kFeatureCursorHasPalette flag set - * - * @see setPalette - * @see kFeatureCursorHasPalette - */ - virtual void setCursorPalette(const byte *colors, uint start, uint num) {}; - - /** - * Disable or enable cursor palette. - * - * Backends which implement it should have kFeatureCursorHasPalette flag set - * - * @param disable True to disable, false to enable. - * - * @see setPalette - * @see kFeatureCursorHasPalette - */ - virtual void disableCursorPalette(bool disable) {}; - /** * Blit a bitmap to the virtual screen. * The real screen will not immediately be updated to reflect the changes. @@ -411,6 +387,30 @@ public: */ virtual void setMouseCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, byte keycolor = 255, int cursorTargetScale = 1) = 0; + /** + * Replace the specified range of cursor the palette with new colors. + * The palette entries from 'start' till (start+num-1) will be replaced - so + * a full palette update is accomplished via start=0, num=256. + * + * Backends which implement it should have kFeatureCursorHasPalette flag set + * + * @see setPalette + * @see kFeatureCursorHasPalette + */ + virtual void setCursorPalette(const byte *colors, uint start, uint num) {}; + + /** + * Disable or enable cursor palette. + * + * Backends which implement it should have kFeatureCursorHasPalette flag set + * + * @param disable True to disable, false to enable. + * + * @see setPalette + * @see kFeatureCursorHasPalette + */ + virtual void disableCursorPalette(bool disable) {}; + //@} -- cgit v1.2.3