Canvas widgets: Difference between revisions

Jump to navigation Jump to search
m
→‎Picking & Widget Callbacks {{Pending}}: http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg37907.html
m (→‎Picking & Widget Callbacks {{Pending}}: http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg37907.html)
Line 334: Line 334:


And new GUI styles could be easily created by adding new CSS files, while new widgets could be added by adding new SVG files and Nasal modules which load the elements and implement their callbacks
And new GUI styles could be easily created by adding new CSS files, while new widgets could be added by adding new SVG files and Nasal modules which load the elements and implement their callbacks
Currently I'm copying all values to the property tree. The following properties are set on the canvas of the active window:
* mouse/x
* mouse/y
* mouse/dx
* mouse/dy
* mouse/button
* mouse/state
* mouse/mod
* mouse/scroll
* mouse/event


=== Layout Management ===
=== Layout Management ===

Navigation menu