NavDisplay Refactoring

From FlightGear wiki
Jump to navigation Jump to search
This article has been nominated for deletion since 16 November 2024. To discuss it, please visit the talk page.

Do not remove this tag until the discussion is closed.


Reason for the nomination: Article was created and left incomplete several years ago


This article is a stub. You can help the wiki by expanding it.

Background

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)