Browse Source

Whitespace fixes

Josh Engebretson 9 years ago
parent
commit
fa19e006e2

+ 40 - 40
Data/AtomicEditor/AtomicNET/ProjectTemplate/Platforms/Android/MainActivity.cs

@@ -7,56 +7,56 @@ using AtomicEngine;
 
 namespace AtomicPlayer
 {
-	[Activity(Label = "AtomicPlayer", MainLauncher = true,
-		Icon = "@drawable/icon", Theme = "@android:style/Theme.NoTitleBar.Fullscreen",
-		ConfigurationChanges = ConfigChanges.KeyboardHidden | ConfigChanges.Orientation,
-		ScreenOrientation = ScreenOrientation.Landscape)]
-	public class MainActivity : Activity
-	{
-		protected override void OnCreate(Bundle bundle)
-		{
-			base.OnCreate(bundle);
-			var mLayout = new AbsoluteLayout(this);
+    [Activity(Label = "AtomicPlayer", MainLauncher = true,
+        Icon = "@drawable/icon", Theme = "@android:style/Theme.NoTitleBar.Fullscreen",
+        ConfigurationChanges = ConfigChanges.KeyboardHidden | ConfigChanges.Orientation,
+        ScreenOrientation = ScreenOrientation.Landscape)]
+    public class MainActivity : Activity
+    {
+        protected override void OnCreate(Bundle bundle)
+        {
+            base.OnCreate(bundle);
+            var mLayout = new AbsoluteLayout(this);
             var surface = AndroidSDLSurface.CreateSurface(this, false, typeof(AtomicMain));
-			mLayout.AddView(surface);
-			SetContentView(mLayout);
-		}
+            mLayout.AddView(surface);
+            SetContentView(mLayout);
+        }
 
-		protected override void OnResume()
-		{
+        protected override void OnResume()
+        {
             AndroidSDLSurface.OnResume();
-			base.OnResume();
-		}
+            base.OnResume();
+        }
 
-		protected override void OnPause()
-		{
+        protected override void OnPause()
+        {
             AndroidSDLSurface.OnPause();
-			base.OnPause();
-		}
+            base.OnPause();
+        }
 
-		public override void OnLowMemory()
-		{
+        public override void OnLowMemory()
+        {
             AndroidSDLSurface.OnLowMemory();
-			base.OnLowMemory();
-		}
+            base.OnLowMemory();
+        }
 
-		protected override void OnDestroy()
-		{
+        protected override void OnDestroy()
+        {
             AndroidSDLSurface.OnDestroy();
-			base.OnDestroy();
-		}
+            base.OnDestroy();
+        }
 
-		public override bool DispatchKeyEvent(KeyEvent e)
-		{
-			if (!AndroidSDLSurface.DispatchKeyEvent(e))
-				return false;
-			return base.DispatchKeyEvent(e);
-		}
+        public override bool DispatchKeyEvent(KeyEvent e)
+        {
+            if (!AndroidSDLSurface.DispatchKeyEvent(e))
+                return false;
+            return base.DispatchKeyEvent(e);
+        }
 
-		public override void OnWindowFocusChanged(bool hasFocus)
-		{
+        public override void OnWindowFocusChanged(bool hasFocus)
+        {
             AndroidSDLSurface.OnWindowFocusChanged(hasFocus);
-			base.OnWindowFocusChanged(hasFocus);
-		}
-	}
+            base.OnWindowFocusChanged(hasFocus);
+        }
+    }
 }

+ 63 - 63
Data/AtomicEditor/AtomicNET/ProjectTemplate/Platforms/Android/Resources/Resource.Designer.cs

@@ -13,68 +13,68 @@
 
 namespace Application
 {
-	
-	
-	[System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "1.0.0.0")]
-	public partial class Resource
-	{
-		
-		static Resource()
-		{
-			global::Android.Runtime.ResourceIdManager.UpdateIdValues();
-		}
-		
-		public static void UpdateIdValues()
-		{
-		}
-		
-		public partial class Attribute
-		{
-			
-			static Attribute()
-			{
-				global::Android.Runtime.ResourceIdManager.UpdateIdValues();
-			}
-			
-			private Attribute()
-			{
-			}
-		}
-		
-		public partial class Drawable
-		{
-			
-			// aapt resource value: 0x7f020000
-			public const int icon = 2130837504;
-			
-			static Drawable()
-			{
-				global::Android.Runtime.ResourceIdManager.UpdateIdValues();
-			}
-			
-			private Drawable()
-			{
-			}
-		}
-		
-		public partial class String
-		{
-			
-			// aapt resource value: 0x7f030001
-			public const int ApplicationName = 2130903041;
-			
-			// aapt resource value: 0x7f030000
-			public const int app_name = 2130903040;
-			
-			static String()
-			{
-				global::Android.Runtime.ResourceIdManager.UpdateIdValues();
-			}
-			
-			private String()
-			{
-			}
-		}
-	}
+
+
+    [System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "1.0.0.0")]
+    public partial class Resource
+    {
+
+        static Resource()
+        {
+            global::Android.Runtime.ResourceIdManager.UpdateIdValues();
+        }
+
+        public static void UpdateIdValues()
+        {
+        }
+
+        public partial class Attribute
+        {
+
+            static Attribute()
+            {
+                global::Android.Runtime.ResourceIdManager.UpdateIdValues();
+            }
+
+            private Attribute()
+            {
+            }
+        }
+
+        public partial class Drawable
+        {
+
+            // aapt resource value: 0x7f020000
+            public const int icon = 2130837504;
+
+            static Drawable()
+            {
+                global::Android.Runtime.ResourceIdManager.UpdateIdValues();
+            }
+
+            private Drawable()
+            {
+            }
+        }
+
+        public partial class String
+        {
+
+            // aapt resource value: 0x7f030001
+            public const int ApplicationName = 2130903041;
+
+            // aapt resource value: 0x7f030000
+            public const int app_name = 2130903040;
+
+            static String()
+            {
+                global::Android.Runtime.ResourceIdManager.UpdateIdValues();
+            }
+
+            private String()
+            {
+            }
+        }
+    }
 }
 #pragma warning restore 1591

+ 14 - 14
Data/AtomicEditor/AtomicNET/ProjectTemplate/Platforms/iOS/AppUIDelegate.cs

@@ -6,19 +6,19 @@ using AtomicEngine;
 
 namespace AtomicPlayer
 {
-	[Register("AppUIDelegate")]
-	public partial class AppUIDelegate : UIApplicationDelegate
-	{
-		public override bool FinishedLaunching(UIApplication app, NSDictionary options)
-		{
-			LaunchGame();
-			return true;
-		}
+    [Register("AppUIDelegate")]
+    public partial class AppUIDelegate : UIApplicationDelegate
+    {
+        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
+        {
+            LaunchGame();
+            return true;
+        }
 
-		async void LaunchGame()
-		{
-			await Task.Yield();
-			Application.Run<AtomicMain>(new string[0]);
-		}
-	}
+        async void LaunchGame()
+        {
+            await Task.Yield();
+            Application.Run<AtomicMain>(new string[0]);
+        }
+    }
 }

+ 8 - 8
Data/AtomicEditor/AtomicNET/ProjectTemplate/Platforms/iOS/Main.cs

@@ -2,12 +2,12 @@
 
 namespace AtomicPlayer
 {
-	public class AtomicApp
-	{
-		// This is the main entry point of the application.
-		static void Main(string[] args)
-		{
-			UIApplication.Main(args, null, "AppUIDelegate");
-		}
-	}
+    public class AtomicApp
+    {
+        // This is the main entry point of the application.
+        static void Main(string[] args)
+        {
+            UIApplication.Main(args, null, "AppUIDelegate");
+        }
+    }
 }