Canvas ND framework: Difference between revisions

Jump to navigation Jump to search
m
Line 128: Line 128:


== Development ==
== Development ==
* use switches hash to procedurally create a GUI dialog with buttons for each toggle_action (TFC,CTR,WXR etc) {{Not done}}
* make sure that the frameworks with properly with time-warp, sim-rate speed-up and replay {{Not done}}
* remove (old) disabled layers
* make the timer update interval configurable via constructor {{Not done}}
* make the timer update interval configurable via constructor {{Not done}}
* consider adding hooks to generalize those huge conditionals in update() some more {{Not done}}
* use foreach() to hide()/show() or setVisible() groups of symbols {{Not done}}
* make this more aircraft agnostic by getting  rid of 747/Boeing specific assumptions {{Not done}}
* unify switch/case|default handling (again, huge conditionals in there) {{Not done}}
* on_update() helper should probably support global listeners and timers, too - i.e. via a hash spec ? {{Not done}}
* the whole symbol lookup needs to cleaned up (getElementById etc) {{Not done}}
* introduce a common "compute" field in the update/predicate hash and make its results available to is_true/false etc {{Not done}}
* use io.include to include boeing specific stuff{{Not done}}
* NDSoruceDriver should be generalized and combined with MapStructure's aircraftpos.controller {{Not done}}
* the radio/autopilot listeners need to be set up in the lcontroller file, they're just empty stubs for now {{Not done}}
* the radio/autopilot listeners need to be set up in the lcontroller file, they're just empty stubs for now {{Not done}}
* there are 3 foreach loops in newMFD() setting up symbols currently-we only need ONE: loop 2+3 should be removed and use the loop #1 method {{Not done}}   
* there are 3 foreach loops in newMFD() setting up symbols currently-we only need ONE: loop 2+3 should be removed and use the loop #1 method {{Not done}}   
Line 138: Line 150:
* move the config hash out of the navdisplay.mfd file and use io.include instead {{Not done}}
* move the config hash out of the navdisplay.mfd file and use io.include instead {{Not done}}
* document SVG symbols currently assumed to be available in the ctor {{Not done}}
* document SVG symbols currently assumed to be available in the ctor {{Not done}}
* consider using some of the SGCondition/StateMachine stuff in SG {{Not done}}
== Bugs ==
== Feature Requests ==


[[Category:Aircraft instruments]]
[[Category:Aircraft instruments]]
[[Category:Canvas]]
[[Category:Canvas]]

Navigation menu