NavDisplay Refactoring

From FlightGear wiki
Jump to navigation Jump to search
This article is a stub. You can help the wiki by expanding it.


We need to clean up the ND code, this page is intended to keep a list of items pending.

Switch handling

  • move switches into the aircraft-specific style hash
  • rename value to default_value
  • add an optional values:[] vector
  • add a UI hash to contain UI specific fields (legend/tooltip)
  • also use the UI hash for placement info (top/bottom, i.e. above/below the ND)