WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Changing Cursor Icon (https://forum.worldviz.com/showthread.php?t=2304)

pcatalano 10-06-2009 01:30 PM

Changing Cursor Icon
 
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!


All times are GMT -7. The time now is 05:44 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC