public void DrawGUI()
 {
     if (WindowVisible && ShowGUI)
     {
         GuiUtils.LoadSkin(GuiUtils.SkinType.Compact);
         GUI.skin  = GuiUtils.skin;
         windowPos = GUILayout.Window(WindowID, windowPos, WindowGUI, WindowTitle, GUILayout.MinWidth(300));
     }
 }
Exemple #2
0
 public void drawGUI()
 {
     if (WindowVisible && ShowGUI)
     {
         if (!HighLogic.CurrentGame.Parameters.CustomParams <GT>().useStock)
         {
             GuiUtils.LoadSkin(HighLogic.CurrentGame.Parameters.CustomParams <GT>().useCompact);
             GUI.skin = GuiUtils.skin;
         }
         else
         {
             GUI.skin = HighLogic.Skin;
         }
         windowPos = ClickThruBlocker.GUILayoutWindow(WindowID, windowPos, WindowGUI, WindowTitle, GUILayout.MinWidth(300));
         //windowPos = GUILayout.Window(WindowID, windowPos, WindowGUI, WindowTitle, GUILayout.MinWidth(300));
     }
 }
Exemple #3
0
 public void drawGUI()
 {
     if (WindowVisible)
     {
         GUI.skin = HighLogic.Skin;
         windowPos = GUILayout.Window(WindowID, windowPos, WindowGUI, WindowTitle, GUILayout.MinWidth(300));
     }
 }