src/gfx.h
changeset 5919 2b58160d667d
parent 5887 063ca43b682c
child 6192 c6adfc929c6b
--- a/src/gfx.h	Sun Jan 14 19:44:27 2007 +0000
+++ b/src/gfx.h	Sun Jan 14 19:57:49 2007 +0000
@@ -108,7 +108,8 @@
 typedef struct CursorVars {
 	Point pos, size, offs, delta; ///< position, size, offset from top-left, and movement
 	Point draw_pos, draw_size;    ///< position and size bounding-box for drawing
-	CursorID sprite; ///< current image of cursor
+	SpriteID sprite; ///< current image of cursor
+	SpriteID pal;
 
 	int wheel;       ///< mouse wheel movement
 	const CursorID *animate_list, *animate_cur; ///< in case of animated cursor, list of frames
@@ -236,6 +237,7 @@
 void DrawOverlappedWindowForAll(int left, int top, int right, int bottom);
 
 void SetMouseCursor(CursorID cursor);
+void SetMouseCursor(SpriteID sprite, SpriteID pal);
 void SetAnimatedMouseCursor(const CursorID *table);
 void CursorTick(void);
 void DrawMouseCursor(void);