Preliminary new references, usings, and code changes to compile for KSP 1.1.
Preliminary new references, usings, and code changes to compile for KSP 1.1.

--- a/Extensions/AppLauncherExtensions.cs
+++ b/Extensions/AppLauncherExtensions.cs
@@ -24,6 +24,7 @@
 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 using KSP;
+using KSP.UI.Screens;
 using System;
 using UnityEngine;
 
@@ -48,10 +49,10 @@
 		*/
 
 		public static ApplicationLauncherButton AddModApplication(this ApplicationLauncher appLauncher,
-			RUIToggleButton.OnTrue onTrue,
-			RUIToggleButton.OnFalse onFalse,
-			RUIToggleButton.OnHover onHover,
-			RUIToggleButton.OnHoverOut onHoverOut,
+			Callback onTrue,
+			Callback onFalse,
+			Callback onHover,
+			Callback onHoverOut,
 			ApplicationLauncher.AppScenes visibleInScenes,
 			Texture texture
 		)
@@ -66,26 +67,8 @@
 		}
 
 		public static ApplicationLauncherButton AddModApplication(this ApplicationLauncher appLauncher,
-			RUIToggleButton.OnTrue onTrue,
-			RUIToggleButton.OnFalse onFalse,
-			RUIToggleButton.OnEnable onEnable,
-			RUIToggleButton.OnDisable onDisable,
-			ApplicationLauncher.AppScenes visibleInScenes,
-			Texture texture
-		)
-		{
-			return appLauncher.AddModApplication(
-				onTrue, onFalse,
-				Dummy, Dummy,
-				onEnable, onDisable,
-				visibleInScenes,
-				texture
-			);
-		}
-
-		public static ApplicationLauncherButton AddModApplication(this ApplicationLauncher appLauncher,
-			RUIToggleButton.OnTrue onTrue,
-			RUIToggleButton.OnFalse onFalse,
+			Callback onTrue,
+			Callback onFalse,
 			ApplicationLauncher.AppScenes visibleInScenes,
 			Texture texture
 		)

--- a/GUIUtils/WindowTools.cs
+++ b/GUIUtils/WindowTools.cs
@@ -23,6 +23,7 @@
 // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
+using KSP.UI.Screens;
 using System;
 using System.Collections.Generic;
 using UnityEngine;
@@ -58,17 +59,18 @@
 		{
 			float lftMargin = window.width;
 
+			// @TODO: Find this stuff
 			switch (EditorLogic.fetch.editorScreen)
 			{
 				case EditorScreen.Actions:
-					lftMargin += EditorPanels.Instance.actionsPanelWidth;
+					// lftMargin += EditorPanels.Instance.panelManager;
 					break;
 				case EditorScreen.Crew:
-					lftMargin += EditorPanels.Instance.crewPanelWidth;
+					// lftMargin += EditorPanels.Instance.crewPanelWidth;
 					break;
 				case EditorScreen.Parts:
 				default:
-					lftMargin += EditorPanels.Instance.partsPanelWidth;
+					// lftMargin += EditorPanels.Instance.partsPanelWidth;
 					break;
 			}
 

file:a/Logging.cs -> file:b/Logging.cs
--- a/Logging.cs
+++ b/Logging.cs
@@ -142,7 +142,7 @@
 			{
 
 				debugmsg.message = Msg;
-				ScreenMessages.PostScreenMessage(debugmsg, true);
+				ScreenMessages.PostScreenMessage(debugmsg);
 			}
 
 			PostLogMessage(Msg, LogChannel.Log);

--- a/Text/Extensions.cs
+++ b/Text/Extensions.cs
@@ -155,7 +155,7 @@
 			return list.SPrint(delimiter, null);
 		}
 
-		public static string ToString(this Vector3d vector, string format)
+		public static string ToString(this Vector3 vector, string format)
 		{
 			return string.Format("{0}, {1}, {2}",
 				vector.x.ToString(format, SIFormatProvider.SIFormatter),

--- a/ToadicusTools.csproj
+++ b/ToadicusTools.csproj
@@ -131,6 +131,12 @@
     <Reference Include="UnityEngine">
       <HintPath>..\_KSPAssemblies\UnityEngine.dll</HintPath>
     </Reference>
+    <Reference Include="KSPUtil">
+      <HintPath>..\_KSPAssemblies\KSPUtil.dll</HintPath>
+    </Reference>
+    <Reference Include="UnityEngine.UI">
+      <HintPath>..\_KSPAssemblies\UnityEngine.UI.dll</HintPath>
+    </Reference>
     <Reference Include="Assembly-CSharp-firstpass">
       <HintPath>..\_KSPAssemblies\Assembly-CSharp-firstpass.dll</HintPath>
     </Reference>

--- a/VectorTools.cs
+++ b/VectorTools.cs
@@ -25,6 +25,8 @@
 
 using System;
 using ToadicusTools.Text;
+using UnityEngine;
+using KSP;
 
 namespace ToadicusTools
 {