Touch animation: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 13: Line 13:
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 <ref>https://sourceforge.net/p/flightgear/simgear/ci/2a60e5e338528f9431c0c27e59610a7a54f4432e/</ref>.
The coordinates are passed in as arguments to the action; these can be accessed with Nasal via the <code>cmdarg()</code> method <ref>https://sourceforge.net/p/flightgear/simgear/ci/2a60e5e338528f9431c0c27e59610a7a54f4432e/</ref>.


Example:
Example:

Navigation menu