<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi all!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I wanted to ask if we should have functions in 
the Window module to set/get  the mousecursor type. Currently there's only 
WaitCursor().</FONT></DIV>
<DIV><FONT face=Arial size=2>Sometimes it might be nice to have other cursors 
available as well - like the helpcursor or editcursor (crosshair).</FONT></DIV>
<DIV><FONT face=Arial size=2>I have written code 
for Window.SetMouseCursor() and Window.GetMouseCursor() 
functions.</FONT></DIV>
<DIV><FONT face=Arial size=2>The available cursortypes are stored in a 
new dictionary: Window.Cursors = {STD, NONE, CROSS, WAIT, HELP, PAINT, TEXT} 
similar to the windowtypes</FONT></DIV>
<DIV><FONT face=Arial size=2>Setting the help-mousecursor would be done with 
Window.SetMouseCursor(Window.Cursors.HELP)</FONT></DIV>
<DIV><FONT face=Arial size=2>If called without argument, 
Window.SetMouseCursor()  restores the default cursor (same as if it were 
called with Window.Cursors.STD as argument).</FONT></DIV>
<DIV><FONT face=Arial size=2>The GetMouseCursor() function returns an integer 
which can be compared against the values in the dictionary, or -1 for unknown 
cursortype.</FONT></DIV>
<DIV><FONT face=Arial size=2>What do you think?</FONT></DIV>
<DIV><FONT face=Arial size=2>Also - if something like this would be integrated, 
should all cursor types be supported or just the ones above?</FONT></DIV>
<DIV><FONT face=Arial size=2>In Blender <FONT size=2>BIF_graphics.h </FONT>there 
are even more types available like <FONT size=2>CURSOR_X_MOVE, CURSOR_Y_MOVE, 
CURSOR_PENCIL,... </FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT size=2>Some of them are just the standard 
arrow cursor although they have a different name.</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Michael</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>