PDA

View Full Version : Changing Cursor Icon


pcatalano
10-06-2009, 01:30 PM
Is there an easy way to change the cursor icon (say to a hand, or hourglass, etc.)? I assume one would have to tap into Win32 calls, but I've yet to find a way to do it.

farshizzo
10-08-2009, 12:18 PM
Currently, the only way to change the look of the cursor is to hide the actual mouse cursor ( viz.mouse.setVisible(False) ), and create an on screen texture quad that is linked to the mouse position. Then you just apply a different texture for each cursor you want.

Future versions of Vizard will support setting the cursor using standard win32 methods.

pcatalano
10-14-2009, 10:26 AM
That sorta what I thought. Thanks for letting me know!