]> git.sur5r.net Git - cc65/blobdiff - include/mouse.h
Some fine tuning of the mouse driver interface harmonization.
[cc65] / include / mouse.h
index 5e69c7ff6960844d291fcc72a1c3aa3eb1d7cca9..64581eda73fa422fe2cb4192da591b3b8edc9f18 100644 (file)
@@ -88,7 +88,17 @@ struct mouse_callbacks {
     /* Hide the mouse cursor. */
 
     void (*show) (void);
-    /* Show the mouse cursor */
+    /* Show the mouse cursor. */
+
+    void (*prep) (void);
+    /* Prepare to move the mouse cursor. This function is called,
+     * even when the cursor is currently invisible.
+     */
+
+    void (*draw) (void);
+    /* Draw the mouse cursor. This function is called,
+     * even when the cursor is currently invisible.
+     */
 
     void __fastcall__ (*movex) (int x);
     /* Move the mouse cursor to the new X coordinate. This function is called,