diff options
author | Max Horn | 2005-03-12 16:33:03 +0000 |
---|---|---|
committer | Max Horn | 2005-03-12 16:33:03 +0000 |
commit | 4b5b9bc984e78904b05d22be32796eeee4720d71 (patch) | |
tree | 673c61b07967edf0f0a3b04665709a484dc67046 /common | |
parent | 6f7315d9506c66ec8ffdf7430b289d542e13f74c (diff) | |
download | scummvm-rg350-4b5b9bc984e78904b05d22be32796eeee4720d71.tar.gz scummvm-rg350-4b5b9bc984e78904b05d22be32796eeee4720d71.tar.bz2 scummvm-rg350-4b5b9bc984e78904b05d22be32796eeee4720d71.zip |
mouse cursor palette better fits into the 'mouse' category than in the 'graphics' category (IMO)
svn-id: r17102
Diffstat (limited to 'common')
-rw-r--r-- | common/system.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/common/system.h b/common/system.h index 639729ab03..0c66f77334 100644 --- a/common/system.h +++ b/common/system.h @@ -282,30 +282,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. * Client code has to to call updateScreen to ensure any changes are @@ -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) {}; + //@} |