Browse Source

Fix whitespace

Josh Engebretson 9 years ago
parent
commit
5065d4f361

+ 6 - 6
Source/Atomic/UI/UIButton.cpp

@@ -62,19 +62,19 @@ void UIButton::SetSqueezable(bool value)
 
 
 void UIButton::SetToggleMode(bool toggle)
 void UIButton::SetToggleMode(bool toggle)
 {
 {
-	if (!widget_)
-		return;
+    if (!widget_)
+        return;
 
 
-	((TBButton*)widget_)->SetToggleMode(toggle);
+    ((TBButton*)widget_)->SetToggleMode(toggle);
 
 
 }
 }
 
 
 bool UIButton::GetToggleMode() const
 bool UIButton::GetToggleMode() const
 {
 {
-	if (!widget_)
-		return false;
+    if (!widget_)
+        return false;
 
 
-	return ((TBButton*)widget_)->GetToggleMode();
+    return ((TBButton*)widget_)->GetToggleMode();
 }
 }
 
 
 void UIButton::SetEmulationButton(int emulationButton)
 void UIButton::SetEmulationButton(int emulationButton)

+ 3 - 3
Source/Atomic/UI/UIButton.h

@@ -50,9 +50,9 @@ public:
     /// for example a http:// link will open the default browser
     /// for example a http:// link will open the default browser
     void SetURLEnabled(bool enabled) { urlEnabled_ = enabled; }
     void SetURLEnabled(bool enabled) { urlEnabled_ = enabled; }
 
 
-	///Set to true if the button should toggle on and off	
-	void SetToggleMode(bool toggle);
-	bool GetToggleMode() const;
+    ///Set to true if the button should toggle on and off    
+    void SetToggleMode(bool toggle);
+    bool GetToggleMode() const;
 
 
 protected:
 protected:
 
 

+ 7 - 7
Source/ToolCore/NETTools/NETProjectGen.cpp

@@ -837,17 +837,17 @@ namespace ToolCore
         // OutputType
         // OutputType
         XMLElement outputType = pgroup.CreateChild("OutputType");
         XMLElement outputType = pgroup.CreateChild("OutputType");
 
 
-		String oType = outputType_;
+        String oType = outputType_;
 
 
 #ifdef ATOMIC_PLATFORM_WINDOWS
 #ifdef ATOMIC_PLATFORM_WINDOWS
 #ifndef ATOMIC_DEBUG
 #ifndef ATOMIC_DEBUG
 
 
-		if (oType.ToLower() == "exe") 
-		{
-			// use windows subsystem for release builds
-			// TODO: make this an option in the json?
-			oType = "WinExe";
-		}
+        if (oType.ToLower() == "exe") 
+        {
+            // use windows subsystem for release builds
+            // TODO: make this an option in the json?
+            oType = "WinExe";
+        }
 
 
 #endif
 #endif
 #endif
 #endif

+ 2 - 2
Source/ToolCore/ToolEnvironment.cpp

@@ -79,9 +79,9 @@ bool ToolEnvironment::InitFromPackage()
     // atomicNETNuGetBinary_ = ToString("%sBuild/Managed/nuget/nuget.exe", rootSourceDir_.CString());       
     // atomicNETNuGetBinary_ = ToString("%sBuild/Managed/nuget/nuget.exe", rootSourceDir_.CString());       
 
 
 #ifdef ATOMIC_DEBUG
 #ifdef ATOMIC_DEBUG
-	String config = "Debug";
+    String config = "Debug";
 #else
 #else
-	String config = "Release";
+    String config = "Release";
 #endif
 #endif
 
 
     atomicNETRootDir_ = resourcesDir + "ToolData/AtomicNET/";
     atomicNETRootDir_ = resourcesDir + "ToolData/AtomicNET/";