diff OpenButtonPage.xml @ 43:f02cf040133c

Cleaned up whitespace (and other minor details) in all the XML files.
author madcatzinc@35b17cf1-18cd-47ff-9ca3-31d6b526ef09
date Mon, 29 Apr 2013 17:44:40 +0000
parents 6cb9a2936580
children 3e4739a6a99d
line wrap: on
line diff
--- a/OpenButtonPage.xml	Mon Apr 29 17:44:34 2013 +0000
+++ b/OpenButtonPage.xml	Mon Apr 29 17:44:40 2013 +0000
@@ -1,6 +1,6 @@
 <Ui xmlns="http://www.blizzard.com/wow/ui" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 	<!--
-	Warcraft Plugin for Cyborg MMO7 
+	Warcraft Plugin for Cyborg MMO7
 	Filename: OpenButtonPage.xml
 	Description: The Cyborg Head logo button which opens and closes the UI
 	Copyright (C) 2012 Mad Catz Inc.
@@ -18,140 +18,104 @@
 
 	You should have received a copy of the GNU General Public License
 	along with this program; if not, write to the Free Software
-	Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA. 
+	Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 	-->
+
 	<Frame name="CyborgMMO_OpenButtonPage" movable="true" clampedtoscreen="true" enableMouse="true" hidden="true">
-			<TitleRegion>
-				<Size x="75" y="75"/>
+		<TitleRegion>
+			<Size x="75" y="75"/>
+			<Anchors>
+				<Anchor point="TOPLEFT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
+			</Anchors>
+		</TitleRegion>
+		<Size><AbsDimension x="50" y="50"/></Size>
+		<Anchors>
+			<Anchor point="LEFT" relativeTo="UIParent"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
+		</Anchors>
+		<Frames>
+			<Button name="$parentOpenMainForm" clampedtoscreen="true" enableMouse="true" movable="true">
+				<Size><AbsDimension x="75" y="75"/></Size>
 				<Anchors>
-					<Anchor point="TOPLEFT">
-						<Offset>
-							<AbsDimension x="0" y="0" />
-						</Offset>
-					</Anchor>
+					<Anchor point="TOPLEFT"><Offset><AbsDimension x="16" y="-14"/></Offset></Anchor>
 				</Anchors>
-			</TitleRegion>
-			<Size>
-				<AbsDimension x="50" y="50" />
-			</Size>
-			<Anchors>
-				<Anchor point="LEFT" relativeTo="UIParent">
-					<Offset>
-						<AbsDimension x="0" y="0" />
-					</Offset>
-				</Anchor>
-			</Anchors>
-			<Frames>
-			<Button name="$parentOpenMainForm" clampedtoscreen="true" enableMouse="true" movable="true">
-			<Size>
-				<AbsDimension x="75" y="75" />
-			</Size>
-			<Anchors>
-				<Anchor point="TOPLEFT">
-					<Offset>
-						<AbsDimension x="16" y="-14" />
-					</Offset>
-				</Anchor>
-			</Anchors>
-			<Scripts>
-				<OnLoad>
-					self:RegisterForDrag("LeftButton", "RightButton")
-				</OnLoad>
-				<OnClick>
-					CyborgMMO_Toggle()
-				</OnClick>
-				<OnDragStart>
-					self:StartMoving()
-					self.isMoving = true
-				</OnDragStart>
-				<OnDragStop>
-					self:StopMovingOrSizing()
-					self.isMoving = false
-				</OnDragStop>
-				<OnEnter>
-					CyborgMMO_ShowProfileTooltip(self:GetNormalTexture())
-				</OnEnter>
-				<OnLeave>
-					CyborgMMO_HideProfileTooltip()
-				</OnLeave>
-			</Scripts>
+				<Scripts>
+					<OnLoad>
+						self:RegisterForDrag("LeftButton", "RightButton")
+					</OnLoad>
+					<OnClick>
+						CyborgMMO_Toggle()
+					</OnClick>
+					<OnDragStart>
+						self:StartMoving()
+						self.isMoving = true
+					</OnDragStart>
+					<OnDragStop>
+						self:StopMovingOrSizing()
+						self.isMoving = false
+					</OnDragStop>
+					<OnEnter>
+						CyborgMMO_ShowProfileTooltip(self:GetNormalTexture())
+					</OnEnter>
+					<OnLeave>
+						CyborgMMO_HideProfileTooltip()
+					</OnLeave>
+				</Scripts>
 
-			<NormalTexture file="Interface\AddOns\CyborgMMO7\Graphics\Cyborg.tga">
-				<Color r="0.0" g="0.0" b="0.0" a="1" />
-			</NormalTexture>
+				<NormalTexture file="Interface\AddOns\CyborgMMO7\Graphics\Cyborg.tga">
+					<Color r="0.0" g="0.0" b="0.0" a="1"/>
+				</NormalTexture>
+				<HighlightTexture file="Interface\AddOns\CyborgMMO7\Graphics\CyborgGlow.tga">
+					<Color r=".38" g=".85" b="1.0" a="0.90"/>
+				</HighlightTexture>
 
-			<HighlightTexture file="Interface\AddOns\CyborgMMO7\Graphics\CyborgGlow.tga">
-				<Color r=".38" g=".85" b="1.0" a="0.90" />
-			</HighlightTexture>
-			<ButtonText name="$parentText">
-				<FontHeight>
-				<AbsValue val="10" />
-			</FontHeight>
-			</ButtonText>
-				<NormalFont style="GameFontNormal" />
-				<HighlightFont style="GameFontHighlight" />
-				<DisabledFont style="GameFontDisable" />
-				<PushedTextOffset x="0" y="0" />
+				<ButtonText name="$parentText">
+					<FontHeight><AbsValue val="10"/></FontHeight>
+				</ButtonText>
+
+				<NormalFont style="GameFontNormal"/>
+				<HighlightFont style="GameFontHighlight"/>
+				<DisabledFont style="GameFontDisable"/>
+				<PushedTextOffset x="0" y="0"/>
 			</Button>
 		</Frames>
 	</Frame>
 
 	<Frame name="CyborgMMO_MiniMapFrame" parent="Minimap" enableMouse="true" hidden="false" frameStrata="LOW">
-		<Size>
-			<AbsDimension x="32" y="32"/>
-		</Size>
+		<Size><AbsDimension x="32" y="32"/></Size>
 		<Anchors>
 			<Anchor point="TOPLEFT" relativeTo="Minimap" relativePoint="RIGHT">
-				<Offset>
-					<AbsDimension x="2" y="0"/>
-				</Offset>
+				<Offset><AbsDimension x="2" y="0"/></Offset>
 			</Anchor>
 		</Anchors>
 		<Frames>
 			<Button name="$parentButton">
-				<Size>
-					<AbsDimension x="33" y="33"/>
-				</Size>
+				<Size><AbsDimension x="33" y="33"/></Size>
 				<Anchors>
-					<Anchor point="TOPLEFT">
-						<Offset>
-							<AbsDimension x="0" y="0"/>
-						</Offset>
-					</Anchor>
+					<Anchor point="TOPLEFT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
 				</Anchors>
 				<HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
 				<Layers>
 					<Layer level="BACKGROUND">
 						<Texture name="$parent_Icon" file="Interface\AddOns\CyborgMMO7\Graphics\Cyborg.tga">
-							<Size>
-								<AbsDimension x="22" y="22"/>
-							</Size>
+							<Size><AbsDimension x="22" y="22"/></Size>
 							<Anchors>
-								<Anchor point="TOPLEFT">
-									<AbsDimension x="6" y="-5"/>
-								</Anchor>
+								<Anchor point="TOPLEFT"><AbsDimension x="6" y="-5"/></Anchor>
 							</Anchors>
-							<Color r="0.0" g="0.0" b="0.0" a="1" />
+							<Color r="0.0" g="0.0" b="0.0" a="1"/>
 						</Texture>
 					</Layer>
 					<Layer level="ARTWORK">
 						<Texture name="$parent_IconGlow" file="Interface\AddOns\CyborgMMO7\Graphics\CyborgGlow.tga">
-							<Size>
-								<AbsDimension x="22" y="22"/>
-							</Size>
+							<Size><AbsDimension x="22" y="22"/></Size>
 							<Anchors>
-								<Anchor point="TOPLEFT">
-									<AbsDimension x="6" y="-5"/>
-								</Anchor>
+								<Anchor point="TOPLEFT"><AbsDimension x="6" y="-5"/></Anchor>
 							</Anchors>
-							<Color r=".38" g=".85" b="1.0" a="0.90" />
+							<Color r=".38" g=".85" b="1.0" a="0.90"/>
 						</Texture>
 					</Layer>
 					<Layer level="OVERLAY">
 						<Texture file="Interface\Minimap\MiniMap-TrackingBorder">
-							<Size>
-								<AbsDimension x="56" y="56"/>
-							</Size>
+							<Size><AbsDimension x="56" y="56"/></Size>
 							<Anchors>
 								<Anchor point="TOPLEFT"/>
 							</Anchors>
@@ -169,7 +133,7 @@
 						if not CyborgMMO_IsOpen() then
 							CyborgMMO_RatQuickPage:Show()
 						end
-					 </OnMouseUp>
+					</OnMouseUp>
 					<OnEnter>
 						if not CyborgMMO_IsOpen() then
 							CyborgMMO_RatQuickPage:Show()