Canvas properties: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 76: Line 76:
Also see: http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg15464.html
Also see: http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg15464.html


=== Depth Sorting {{Pending}} ===
=== Depth Sorting {{Done}} ===
I think I have to look at depth ordering of groups and especially the ability to hide groups. Not too complicated but not possible from Nasal yet (you could do it by deleting and re-adding all elements but that's not a good solution
Normally elements inside a group are drawn in the order they appear in the property tree. By adding a "z-index" property to certain elements it is possible to change the render order inside a group. It's value defaults to zero, therefore setting a negative value renders the according elements below its siblings and a positive index above the other elements.


=== Symbolic Constants vs. Magic Numbers ===
=== Symbolic Constants vs. Magic Numbers ===
166

edits

Navigation menu