changeset 47:1a29be548897

Removed all .tga extensions in texture names. They are not needed, and they won't need to be changed if we switch to blp files.
author madcatzinc@35b17cf1-18cd-47ff-9ca3-31d6b526ef09
date Mon, 29 Apr 2013 17:45:04 +0000
parents 3a3dc5e4405a
children 40892c6b6075
files MainPage.xml OpenButtonPage.xml RatPage.xml RatQuickPage.xml WowObjects.lua
diffstat 5 files changed, 37 insertions(+), 37 deletions(-) [+]
line wrap: on
line diff
--- a/MainPage.xml	Mon Apr 29 17:44:58 2013 +0000
+++ b/MainPage.xml	Mon Apr 29 17:45:04 2013 +0000
@@ -55,7 +55,7 @@
 			<Layer level="BACKGROUND">
 				<Texture
 					name="$parentBackgroundTexture"
-					file="Interface\AddOns\CyborgMMO7\Graphics\ParchmentAndAllIcons.tga"
+					file="Interface\AddOns\CyborgMMO7\Graphics\ParchmentAndAllIcons"
 				>
 					<Size><AbsDimension x="512" y="512"/></Size>
 					<Anchors>
@@ -66,7 +66,7 @@
 			<Layer level="ARTWORK">
 				<Texture
 					name="$parentRatCalloutsTexture"
-					file="Interface\AddOns\CyborgMMO7\Graphics\Lines.tga"
+					file="Interface\AddOns\CyborgMMO7\Graphics\Lines"
 				>
 					<Size><AbsDimension x="512" y="512"/></Size>
 					<Anchors>
@@ -119,9 +119,9 @@
 				<Scripts>
 					<OnClick>CyborgMMO_Close()</OnClick>
 				</Scripts>
-				<NormalTexture file="Interface\AddOns\CyborgMMO7\Graphics\CloseButton.tga"/>
-				<PushedTexture file="Interface\AddOns\CyborgMMO7\Graphics\CloseButtonDown.tga"/>
-				<HighlightTexture file="Interface\AddOns\CyborgMMO7\Graphics\CloseButtonOver.tga" alpha=".5"/>
+				<NormalTexture file="Interface\AddOns\CyborgMMO7\Graphics\CloseButton"/>
+				<PushedTexture file="Interface\AddOns\CyborgMMO7\Graphics\CloseButtonDown"/>
+				<HighlightTexture file="Interface\AddOns\CyborgMMO7\Graphics\CloseButtonOver" alpha=".5"/>
 			</Button>
 			<Frame name="$parentSlotList" inherits="CyborgMMO_TemplateRatPage">
 				<Anchors>
--- a/OpenButtonPage.xml	Mon Apr 29 17:44:58 2013 +0000
+++ b/OpenButtonPage.xml	Mon Apr 29 17:45:04 2013 +0000
@@ -61,10 +61,10 @@
 					</OnLeave>
 				</Scripts>
 
-				<NormalTexture file="Interface\AddOns\CyborgMMO7\Graphics\Cyborg.tga">
+				<NormalTexture file="Interface\AddOns\CyborgMMO7\Graphics\Cyborg">
 					<Color r="0.0" g="0.0" b="0.0" a="1"/>
 				</NormalTexture>
-				<HighlightTexture file="Interface\AddOns\CyborgMMO7\Graphics\CyborgGlow.tga">
+				<HighlightTexture file="Interface\AddOns\CyborgMMO7\Graphics\CyborgGlow">
 					<Color r=".38" g=".85" b="1.0" a="0.90"/>
 				</HighlightTexture>
 
@@ -88,7 +88,7 @@
 		<HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
 		<Layers>
 			<Layer level="BACKGROUND">
-				<Texture name="$parentIcon" file="Interface\AddOns\CyborgMMO7\Graphics\Cyborg.tga">
+				<Texture name="$parentIcon" file="Interface\AddOns\CyborgMMO7\Graphics\Cyborg">
 					<Size><AbsDimension x="20" y="20"/></Size>
 					<Anchors>
 						<Anchor point="TOPLEFT"><AbsDimension x="6" y="-5"/></Anchor>
@@ -97,7 +97,7 @@
 				</Texture>
 			</Layer>
 			<Layer level="ARTWORK">
-				<Texture name="$parentIconGlow" file="Interface\AddOns\CyborgMMO7\Graphics\CyborgGlow.tga">
+				<Texture name="$parentIconGlow" file="Interface\AddOns\CyborgMMO7\Graphics\CyborgGlow">
 					<Size><AbsDimension x="20" y="20"/></Size>
 					<Anchors>
 						<Anchor point="TOPLEFT"><AbsDimension x="6" y="-5"/></Anchor>
--- a/RatPage.xml	Mon Apr 29 17:44:58 2013 +0000
+++ b/RatPage.xml	Mon Apr 29 17:45:04 2013 +0000
@@ -86,7 +86,7 @@
 				</Anchors>
 				<Layers>
 					<Layer level="ARTWORK">
-						<Texture name="$parentText" file="Interface\AddOns\CyborgMMO7\Graphics\Slot.tga">
+						<Texture name="$parentText" file="Interface\AddOns\CyborgMMO7\Graphics\Slot">
 							<Size><AbsDimension x="33" y="33"/></Size>
 							<Anchors>
 								<Anchor point="CENTER"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
@@ -101,7 +101,7 @@
 				</Anchors>
 				<Layers>
 					<Layer level="ARTWORK">
-						<Texture name="$parentText" file="Interface\AddOns\CyborgMMO7\Graphics\Slot.tga">
+						<Texture name="$parentText" file="Interface\AddOns\CyborgMMO7\Graphics\Slot">
 							<Size><AbsDimension x="33" y="33"/></Size>
 							<Anchors>
 								<Anchor point="CENTER"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
@@ -116,7 +116,7 @@
 				</Anchors>
 				<Layers>
 					<Layer level="ARTWORK">
-						<Texture name="$parentText" file="Interface\AddOns\CyborgMMO7\Graphics\Slot.tga">
+						<Texture name="$parentText" file="Interface\AddOns\CyborgMMO7\Graphics\Slot">
 							<Size><AbsDimension x="33" y="33"/></Size>
 							<Anchors>
 								<Anchor point="CENTER"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
@@ -131,7 +131,7 @@
 				</Anchors>
 				<Layers>
 					<Layer level="ARTWORK">
-						<Texture name="$parentText" file="Interface\AddOns\CyborgMMO7\Graphics\SlotUp.tga">
+						<Texture name="$parentText" file="Interface\AddOns\CyborgMMO7\Graphics\SlotUp">
 							<Size><AbsDimension x="33" y="33"/></Size>
 							<Anchors>
 								<Anchor point="CENTER"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
@@ -146,7 +146,7 @@
 				</Anchors>
 				<Layers>
 					<Layer level="ARTWORK">
-						<Texture name="$parentText" file="Interface\AddOns\CyborgMMO7\Graphics\SlotMiddle.tga">
+						<Texture name="$parentText" file="Interface\AddOns\CyborgMMO7\Graphics\SlotMiddle">
 							<Size><AbsDimension x="33" y="33"/></Size>
 							<Anchors>
 								<Anchor point="CENTER"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
@@ -161,7 +161,7 @@
 				</Anchors>
 				<Layers>
 					<Layer level="ARTWORK">
-						<Texture name="$parentText" file="Interface\AddOns\CyborgMMO7\Graphics\SlotDown.tga">
+						<Texture name="$parentText" file="Interface\AddOns\CyborgMMO7\Graphics\SlotDown">
 							<Size><AbsDimension x="33" y="33"/></Size>
 							<Anchors>
 								<Anchor point="CENTER"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
@@ -176,7 +176,7 @@
 				</Anchors>
 				<Layers>
 					<Layer level="ARTWORK">
-						<Texture name="$parentText" file="Interface\AddOns\CyborgMMO7\Graphics\SlotLeft.tga">
+						<Texture name="$parentText" file="Interface\AddOns\CyborgMMO7\Graphics\SlotLeft">
 							<Size><AbsDimension x="33" y="33"/></Size>
 							<Anchors>
 								<Anchor point="CENTER"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
@@ -191,7 +191,7 @@
 				</Anchors>
 				<Layers>
 					<Layer level="ARTWORK">
-						<Texture name="$parentText" file="Interface\AddOns\CyborgMMO7\Graphics\SlotRight.tga">
+						<Texture name="$parentText" file="Interface\AddOns\CyborgMMO7\Graphics\SlotRight">
 							<Size><AbsDimension x="33" y="33"/></Size>
 							<Anchors>
 								<Anchor point="CENTER"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
@@ -206,7 +206,7 @@
 				</Anchors>
 				<Layers>
 					<Layer level="ARTWORK">
-						<Texture name="$parentText" file="Interface\AddOns\CyborgMMO7\Graphics\Slot.tga">
+						<Texture name="$parentText" file="Interface\AddOns\CyborgMMO7\Graphics\Slot">
 							<Size><AbsDimension x="33" y="33"/></Size>
 							<Anchors>
 								<Anchor point="CENTER"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
@@ -221,7 +221,7 @@
 				</Anchors>
 				<Layers>
 					<Layer level="ARTWORK">
-						<Texture name="$parentText" file="Interface\AddOns\CyborgMMO7\Graphics\Slot.tga">
+						<Texture name="$parentText" file="Interface\AddOns\CyborgMMO7\Graphics\Slot">
 							<Size><AbsDimension x="33" y="33"/></Size>
 							<Anchors>
 								<Anchor point="CENTER"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
@@ -236,7 +236,7 @@
 				</Anchors>
 				<Layers>
 					<Layer level="ARTWORK">
-						<Texture name="$parentText" file="Interface\AddOns\CyborgMMO7\Graphics\Slot.tga">
+						<Texture name="$parentText" file="Interface\AddOns\CyborgMMO7\Graphics\Slot">
 							<Size><AbsDimension x="33" y="33"/></Size>
 							<Anchors>
 								<Anchor point="CENTER"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
@@ -251,7 +251,7 @@
 				</Anchors>
 				<Layers>
 					<Layer level="ARTWORK">
-						<Texture name="$parentText" file="Interface\AddOns\CyborgMMO7\Graphics\SlotLeft.tga">
+						<Texture name="$parentText" file="Interface\AddOns\CyborgMMO7\Graphics\SlotLeft">
 							<Size><AbsDimension x="33" y="33"/></Size>
 							<Anchors>
 								<Anchor point="CENTER"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
@@ -266,7 +266,7 @@
 				</Anchors>
 				<Layers>
 					<Layer level="ARTWORK">
-						<Texture name="$parentText" file="Interface\AddOns\CyborgMMO7\Graphics\SlotRight.tga">
+						<Texture name="$parentText" file="Interface\AddOns\CyborgMMO7\Graphics\SlotRight">
 							<Size><AbsDimension x="33" y="33"/></Size>
 							<Anchors>
 								<Anchor point="CENTER"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
@@ -276,25 +276,25 @@
 				</Layers>
 			</CheckButton>
 			<Button name="Mode1" inherits="CyborgMMO_TemplateMode" id="1">
-				<NormalTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode1Down.tga"/>
-				<PushedTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode1Selected.tga"/>
-				<HighlightTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode1Over.tga"/>
+				<NormalTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode1Down"/>
+				<PushedTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode1Selected"/>
+				<HighlightTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode1Over"/>
 				<Anchors>
 					<Anchor point="TOPLEFT"><Offset><AbsDimension x="384" y="-33"/></Offset></Anchor>
 				</Anchors>
 			</Button>
 			<Button name="Mode2" inherits="CyborgMMO_TemplateMode" id="2">
-				<NormalTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode2Down.tga"/>
-				<PushedTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode2Selected.tga"/>
-				<HighlightTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode2Over.tga"/>
+				<NormalTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode2Down"/>
+				<PushedTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode2Selected"/>
+				<HighlightTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode2Over"/>
 				<Anchors>
 					<Anchor point="TOPLEFT"><Offset><AbsDimension x="384" y="-33"/></Offset></Anchor>
 				</Anchors>
 			</Button>
 			<Button name="Mode3" inherits="CyborgMMO_TemplateMode" id="3">
-				<NormalTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode3Down.tga"/>
-				<PushedTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode3Selected.tga"/>
-				<HighlightTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode3Over.tga"/>
+				<NormalTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode3Down"/>
+				<PushedTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode3Selected"/>
+				<HighlightTexture file="Interface\AddOns\CyborgMMO7\Graphics\Mode3Over"/>
 				<Anchors>
 					<Anchor point="TOPLEFT"><Offset><AbsDimension x="384" y="-33"/></Offset></Anchor>
 				</Anchors>
--- a/RatQuickPage.xml	Mon Apr 29 17:44:58 2013 +0000
+++ b/RatQuickPage.xml	Mon Apr 29 17:45:04 2013 +0000
@@ -62,7 +62,7 @@
 		</Anchors>
 		<Layers>
 			<Layer level="BACKGROUND">
-				<Texture name="$parentBackgroundTexture" file="Interface\AddOns\CyborgMMO7\Graphics\ParchmentAndLeftSide.tga">
+				<Texture name="$parentBackgroundTexture" file="Interface\AddOns\CyborgMMO7\Graphics\ParchmentAndLeftSide">
 					<Size><AbsDimension x="256" y="256"/></Size>
 					<Anchors>
 						<Anchor point="CENTER"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
@@ -70,7 +70,7 @@
 				</Texture>
 			</Layer>
 			<Layer level="ARTWORK">
-				<Texture name="$parentCalloutsTexture" file="Interface\AddOns\CyborgMMO7\Graphics\Lines.tga">
+				<Texture name="$parentCalloutsTexture" file="Interface\AddOns\CyborgMMO7\Graphics\Lines">
 					<Size><AbsDimension x="256" y="256"/></Size>
 					<Anchors>
 						<Anchor point="TOPLEFT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
--- a/WowObjects.lua	Mon Apr 29 17:44:58 2013 +0000
+++ b/WowObjects.lua	Mon Apr 29 17:45:04 2013 +0000
@@ -63,7 +63,7 @@
 	local self = WowObject("callback", callbackName, "")
 
 	self.callbackName = callbackName
-	self.texture = "Interface\\AddOns\\CyborgMMO7\\Graphics\\"..callbackName.."Unselected.tga"
+	self.texture = "Interface\\AddOns\\CyborgMMO7\\Graphics\\"..callbackName.."Unselected"
 
 	setmetatable(self, WowCallback_mt)
 
@@ -71,9 +71,9 @@
 end
 
 function WowCallback_methods:SetTextures(buttonFrame)
-	buttonFrame:SetNormalTexture("Interface\\AddOns\\CyborgMMO7\\Graphics\\"..self.callbackName.."Unselected.tga")
-	buttonFrame:SetPushedTexture("Interface\\AddOns\\CyborgMMO7\\Graphics\\"..self.callbackName.."Down.tga")
-	buttonFrame:SetHighlightTexture("Interface\\AddOns\\CyborgMMO7\\Graphics\\"..self.callbackName.."Over.tga")
+	buttonFrame:SetNormalTexture("Interface\\AddOns\\CyborgMMO7\\Graphics\\"..self.callbackName.."Unselected")
+	buttonFrame:SetPushedTexture("Interface\\AddOns\\CyborgMMO7\\Graphics\\"..self.callbackName.."Down")
+	buttonFrame:SetHighlightTexture("Interface\\AddOns\\CyborgMMO7\\Graphics\\"..self.callbackName.."Over")
 end
 
 function WowCallback_methods:DoAction()