Exemple #1
0
 private void UsedOrients(Library.Program selectedProgram, Processor.Processor proc)
 {
     GUILayout.Label("Orients Used", mHeadingStyle, GUILayout.Width(270));
     List<string> usedOrients = new List<string>(selectedProgram.usedOrients);
     usedOrients.Sort();
     foreach (string orient in usedOrients)
     {
         if (proc == null)
         {
             GUILayout.Label(orient, HighLogic.Skin.label, GUILayout.Width(270));
         }
         else
         {
             bool have = proc.IsOrientationSupported(orient);
             GUILayout.Label(orient, have ? mGoodNewsStyle : mBadNewsStyle, GUILayout.Width(270));
         }
     }
 }