Touch animation: Difference between revisions

Jump to navigation Jump to search
m
https://sourceforge.net/p/flightgear/simgear/ci/2a60e5e338528f9431c0c27e59610a7a54f4432e/
No edit summary
m (https://sourceforge.net/p/flightgear/simgear/ci/2a60e5e338528f9431c0c27e59610a7a54f4432e/)
Line 3: Line 3:
Designed for 2d objects, such as a canvas placements, this permits the receipt of touch (mouse click) events to enable the simulation of avionics with a touchscreen.
Designed for 2d objects, such as a canvas placements, this permits the receipt of touch (mouse click) events to enable the simulation of avionics with a touchscreen.


The coordinates are passed in as arguments to the action; these can be accessed with Nasal via the cmdarg() method.
The coordinates are passed in as arguments to the action; these can be accessed with Nasal via the cmdarg() method <ref>https://sourceforge.net/p/flightgear/simgear/ci/2a60e5e338528f9431c0c27e59610a7a54f4432e/</ref>.


example:
Example:


<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">

Navigation menu