Re: [AD] Using system mouse cursor

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Evert Glebbeek wrote:
Really attached this time (I hope).

Yup. :) I have a question, though...

+/* enable_mouse_mickeys:
+ *  Switches the mouse to warp-mode on platforms that need this
+ */
+void enable_mouse_mickeys(AL_CONST int mode)
...
+      if (is_same_bitmap(_mouse_screen, screen)) {
+         show_mouse(NULL);
+         show_mouse(screen);
+      }
...

What's the point of that? That would force the mouse to display on the screen bitmap even if its currently set to a sub bitmap of the screen or even an out-of-view VRAM buffer. I don't think it's very good to go changing which bitmap the mouse is shown on..

- Kitty Cat




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/