Exemple #1
0
 private void OnWindow(int windowID)
 {
     GUILayout.BeginHorizontal(GUILayout.Width(500));
     GUILayout.Label("Wind " + MPFunctions.MStoKTS(MPSailRoutines.windForce) + " kts.");
     GUILayout.Label("Lat  " + MPFunctions.GetLat(FlightGlobals.ActiveVessel, 1));
     GUILayout.Label("Long " + MPFunctions.GetLong(FlightGlobals.ActiveVessel, 1));
     GUILayout.Label("Heading " + MPFunctions.GetHeading(MPSailRoutines.TWR1Vessel));
     GUILayout.Label("Body " + MPFunctions.GetBody());
     GUILayout.EndHorizontal();
     GUI.DragWindow();
 }