void DoMyWindow(int windowID) { GUI.Label(new Rect(10, 20, 280, 20), "Depth below keel: " + MPFunctions.DepthBelowKeel(FlightGlobals.ActiveVessel)); GUI.Label(new Rect(10, 35, 280, 20), "Dive angle: " + MPFunctions.GetPitch(FlightGlobals.ActiveVessel)); GUI.DragWindow(); }