Nasal CDU Framework: Difference between revisions

→‎Line: Added variables
(Started with the pages outline)
 
(→‎Line: Added variables)
Line 9: Line 9:


== Line ==
== Line ==
The line class represents data to be shown on a row of the CDU's display matrix. This does not mean that a line has to span a complete row of the CDU's display matrix.
<code>
  var Line = {
    # "Static"
    hash byID,
    func registerInPropTree(path),
    func formatOutput(input_data),
    func getScreenTextVector(),
    func new(line_data,ptp),
   
    # "Public"
    me.id,
    me.ptp,
    me.used_properties,
    me.line_data,
    me.line_string_length,
    me.active,
    me.enable(),
    me.disable(),
  };
</code>


== Field ==
== Field ==
155

edits