6,566
edits
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 | ||
| | |param2 = mappings | ||
| | |param2text = vector of display mappings, one mapping per value of ctrl | ||
| | |param3 = callback | ||
| | |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) | ||
| | |param2 = target | ||
| | |param2text = property (node or path); DU number to which the source will be mapped | ||
| | |param3 = 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 == |