|
Problem hiding Mac cursor |
Runesabre
Member #7,573
August 2006
|
I use a custom rendered mouse in my game so I hide the regular system mouse. On Windows I do a combination of scare_mouse and a show_mouse(NULL). On Linux, I do a show_os_cursor(MOUSE_CURSOR_NONE). On Mac, I can't seem to hide the mouse cursor regardless of what combination of Allegro mouse handling calls I make. I've had this problem with Allegro 4.2.0, 4.2.1 and the latest 4.2.2. Does anyone have any suggestions on how I can get the Mac mouse cursor to hide? _______________ |
Elias
Member #358
May 2000
|
show_os_cursor(MOUSE_CURSOR_NONE) should work everywhere, no need for platform specifics for that. You need platform specific code for the other way around though, since e.g. under Windows, you normally won't get a system cursor in fullscreen modes. -- |
Peter Hull
Member #1,136
March 2001
|
Does exmouse work for you? Pete
|
Runesabre
Member #7,573
August 2006
|
I'll check out exmouse tonight, Peter and see what the results are. _______________ |
Peter Hull
Member #1,136
March 2001
|
Is this the same as this one I'm going to look into it. I think this came up a while ago, didn't it... Pete -- -- -- -- -- -- -- -- [edit] Can you try the attached patch?
|
|