From b45ae04c1537350b1a2e2182d77df725816fdcaa Mon Sep 17 00:00:00 2001 From: Stuart Buchanan Date: Wed, 10 Jan 2018 23:11:38 +0000 Subject: [PATCH] Create a Listener-based property publisher. Use it for NavCom, and include the Nav IDs in the display. --- Aircraft/Instruments-3d/FG1000/Models/MFD.svg | 10 +- .../Nasal/Interfaces/GenericEISPublisher.nas | 18 ++- .../Interfaces/GenericNavComPublisher.nas | 26 ++-- .../Nasal/Interfaces/PropertyPublisher.nas | 111 ++++++++++++++---- .../Nasal/Interfaces/PropertyUpdater.nas | 2 +- .../FG1000/Nasal/Surround/Surround.nas | 5 + gui/dialogs/fg1000.xml | 1 - 7 files changed, 122 insertions(+), 51 deletions(-) diff --git a/Aircraft/Instruments-3d/FG1000/Models/MFD.svg b/Aircraft/Instruments-3d/FG1000/Models/MFD.svg index a322b6c40..ae5961c3f 100644 --- a/Aircraft/Instruments-3d/FG1000/Models/MFD.svg +++ b/Aircraft/Instruments-3d/FG1000/Models/MFD.svg @@ -23,9 +23,9 @@ borderopacity="0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" - inkscape:zoom="7.9999999" - inkscape:cx="803.96414" - inkscape:cy="710.97882" + inkscape:zoom="1.4142135" + inkscape:cx="208.90255" + inkscape:cy="491.35422" inkscape:document-units="px" inkscape:current-layer="SurroundGroup" showgrid="true" @@ -279,7 +279,7 @@ hbox