NavDisplay Refactoring

From FlightGear wiki
Revision as of 19:49, 18 October 2016 by Hooray (talk | contribs) (Created page with "{{Stub}} == Background == {{See also|Howto:Prototyping a new NavDisplay Style}} We need to clean up the ND code, this page is intended to keep a list of items pending. ==...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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)