예제 #1
0
        /// <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");
            }
        }
예제 #2
0
 public override void Update()
 {
     RendezvousProcessor.RequestUpdate();
 }