Canvas EFIS framework: Difference between revisions

Jump to navigation Jump to search
→‎Class EFIS: Fix for duplicated parameters in the {{Nasal doc}} template.
m (+cat: Electronic flight instrument systems)
(→‎Class EFIS: Fix for duplicated parameters in the {{Nasal doc}} template.)
Line 133: Line 133:
|param1 = ctrl
|param1 = ctrl
|param1text =  property path to integer prop, e.g. some selector knob in the cockpit
|param1text =  property path to integer prop, e.g. some selector knob in the cockpit
|param1 = mappings
|param2 = mappings
|param1text = vector of display mappings, one mapping per value of ctrl
|param2text = vector of display mappings, one mapping per value of ctrl
|param1 = callback
|param3 = callback
|param1text = optional function that will be called with current ctrl value
|param3text = optional function that will be called with current ctrl value
}}
}}


Line 145: Line 145:
|param1 = selected  
|param1 = selected  
|param1text = property (node or path); source number (index to sources vector)
|param1text = property (node or path); source number (index to sources vector)
|param1 = target
|param2 = target
|param1text = property (node or path); DU number to which the source will be mapped
|param2text = property (node or path); DU number to which the source will be mapped
|param1 = sources
|param3 = sources
|param1text = optional vector; selected -> source ID (as returned by addSource), defaults to all registered sources
|param3text = optional vector; selected -> source ID (as returned by addSource), defaults to all registered sources
}}
}}


Line 166: Line 166:
|param1text = Index of display
|param1text = Index of display
}}
}}


== Class EFISCanvas ==
== Class EFISCanvas ==

Navigation menu