Beispiel #1
0
 public static void AddToGUIUpdateList()
 {
     if (isOpen)
     {
         frame.AddToGUIUpdateList();
     }
 }
Beispiel #2
0
        public override void AddToGUIUpdateList()
        {
            base.AddToGUIUpdateList();

            topPanel.AddToGUIUpdateList();
            bottomPanel.AddToGUIUpdateList();
        }
Beispiel #3
0
        public override void AddToGUIUpdateList()
        {
            base.AddToGUIUpdateList();

            topPanel.AddToGUIUpdateList();
            bottomPanel[selectedRightPanel].AddToGUIUpdateList();
        }
Beispiel #4
0
 public void AddToGUIUpdateList()
 {
     guiFrame.AddToGUIUpdateList();
     if (commander.Frame != null)
     {
         commander.Frame.AddToGUIUpdateList();
     }
 }
Beispiel #5
0
 public static void AddToGUIUpdateList()
 {
     if (!Open)
     {
         return;
     }
     backgroundFrame?.AddToGUIUpdateList();
 }
Beispiel #6
0
 public void AddToGUIUpdateList()
 {
     if (!isPlaying)
     {
         return;
     }
     background.AddToGUIUpdateList();
 }
Beispiel #7
0
 public void AddToGUIUpdateList(bool ignoreChildren = false, int order = 0)
 {
     if (!IsPlaying)
     {
         return;
     }
     background.AddToGUIUpdateList(ignoreChildren, order);
 }
Beispiel #8
0
 public override void AddToGUIUpdateList()
 {
     buttonsTab.AddToGUIUpdateList();
     if (selectedTab > 0)
     {
         menuTabs[(int)selectedTab].AddToGUIUpdateList();
     }
 }
Beispiel #9
0
        public static void AddToGUIUpdateList()
        {
            if (frame == null)
            {
                return;
            }

            frame.AddToGUIUpdateList();
        }
 public override void AddToGUIUpdateList()
 {
     leftPanel.AddToGUIUpdateList();
     rightPanel.AddToGUIUpdateList();
     topPanel.AddToGUIUpdateList();
     bottomPanel.AddToGUIUpdateList();
     if (editBackgroundColor)
     {
         backgroundColorPanel.AddToGUIUpdateList();
     }
 }
Beispiel #11
0
        public void AddToGUIUpdateList()
        {
            infoButton.AddToGUIUpdateList();

            if (GameMode != null)
            {
                GameMode.AddToGUIUpdateList();
            }

            if (infoFrame != null)
            {
                infoFrame.AddToGUIUpdateList();
            }
        }
Beispiel #12
0
        public override void AddToGUIUpdateList()
        {
            if (tutorial != null)
            {
                tutorial.AddToGUIUpdateList();
            }

            if (MapEntity.SelectedList.Count == 1)
            {
                MapEntity.SelectedList[0].AddToGUIUpdateList();
            }
            if (MapEntity.HighlightedListBox != null)
            {
                MapEntity.HighlightedListBox.AddToGUIUpdateList();
            }

            leftPanel.AddToGUIUpdateList();
            topPanel.AddToGUIUpdateList();

            if (wiringMode)
            {
                wiringToolPanel.AddToGUIUpdateList();
            }

            if ((characterMode || wiringMode) && dummyCharacter != null)
            {
                CharacterHUD.AddToGUIUpdateList(dummyCharacter);
                if (dummyCharacter.SelectedConstruction != null)
                {
                    dummyCharacter.SelectedConstruction.AddToGUIUpdateList();
                }
            }
            else
            {
                if (loadFrame != null)
                {
                    loadFrame.AddToGUIUpdateList();
                }
                else if (saveFrame != null)
                {
                    saveFrame.AddToGUIUpdateList();
                }
                else if (selectedTab > -1)
                {
                    GUItabs[selectedTab].AddToGUIUpdateList();
                }
            }

            GUI.AddToGUIUpdateList();
        }
Beispiel #13
0
        public static void AddToGUIUpdateList()
        {
            if (GUIMessageBox.VisibleBox != null)
            {
                GUIMessageBox.VisibleBox.AddToGUIUpdateList();
            }

            if (pauseMenuOpen)
            {
                pauseMenu.AddToGUIUpdateList();
            }

            if (settingsMenuOpen)
            {
                GameMain.Config.SettingsFrame.AddToGUIUpdateList();
            }
        }
Beispiel #14
0
 public override void AddToGUIUpdateList()
 {
     if (ShowCampaignUI || ForceMapUI)
     {
         campaignUIContainer?.AddToGUIUpdateList();
         if (CampaignUI?.UpgradeStore?.HoveredItem != null)
         {
             if (CampaignUI.SelectedTab != InteractionType.Upgrade)
             {
                 return;
             }
             CampaignUI?.UpgradeStore?.ItemInfoFrame.AddToGUIUpdateList(order: 1);
         }
     }
     base.AddToGUIUpdateList();
     CrewManager.AddToGUIUpdateList();
     endRoundButton.AddToGUIUpdateList();
 }
Beispiel #15
0
 public override void AddToGUIUpdateList()
 {
     GuiFrame.AddToGUIUpdateList();
 }
 public override void AddToGUIUpdateList()
 {
     menu.AddToGUIUpdateList();
 }
 public void AddToGUIUpdateList()
 {
     infoFrame?.AddToGUIUpdateList();
     NetLobbyScreen.JobInfoFrame?.AddToGUIUpdateList();
 }
Beispiel #18
0
 public override void AddToGUIUpdateList()
 {
     GuiFrame.AddToGUIUpdateList();
     contextMenu?.AddToGUIUpdateList();
 }