[Scummvm-cvs-logs] CVS: scummvm/common system.h,1.89,1.90
Max Horn
fingolfin at users.sourceforge.net
Sat Mar 12 08:33:20 CET 2005
Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1986
Modified Files:
system.h
Log Message:
mouse cursor palette better fits into the 'mouse' category than in the 'graphics' category (IMO)
Index: system.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/system.h,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -d -r1.89 -r1.90
--- system.h 9 Mar 2005 23:07:30 -0000 1.89
+++ system.h 12 Mar 2005 16:33:03 -0000 1.90
@@ -282,30 +282,6 @@
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 @@
*/
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) {};
+
//@}
More information about the Scummvm-git-logs
mailing list