/// <summary> /// Draws the display stack window. /// </summary> private void Window(int windowId) { try { if (this.ShowControlBar) { this.DrawControlBar(); } SectionLibrary.TrackingStationSection.Name = "TRACKING"; ITargetable src = Flight.Readouts.Rendezvous.RendezvousProcessor.TrackingStationSource; if (src != null) { SectionLibrary.TrackingStationSection.Name = "TRACKING (REF: " + RendezvousProcessor.nameForTargetable(src) + ")"; } SectionLibrary.TrackingStationSection.Draw(); GUI.DragWindow(); } catch (Exception ex) { MyLogger.Exception(ex, "DisplayStackTS->Window"); } }
public override void Update() { RendezvousProcessor.RequestUpdate(); }