* Melchior Franz -- Wednesday 07 May 2008:
> Modified Files:
>       fg_commands.cxx 
> Log Message:
> revert accidental commit

Of course this log message is nonsense, and it's fixed in CVS.
The only accident here was with the git gateway, sorry.  :-)


> + 
> + /**
> +  * Set mouse coordinates and cursor.
> +  */

This patch adds a way to set the mouse coordinates and mouse
cursor type via Nasal (or other fgcommand means), for example

  fgcommand("set-cursor", props.Node.new({ x: 0, y:0, cursor: 2 }));

to put the cursor in the top left corner and to switch its
shape to the hourglass (see src/Main/fg_os.hxx; not sure yet
whether symbolic constants are worth it). "x", "y", and "cursor"
are optional. The current cursor number is returned in "cursor".

m.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to