diff ItemAuditor.xml @ 22:66b7c3f5937e

I have removed the ability to show debug messages in the chat window and have replaced it with a new debug frame. /ia debug will show all of the debug messages and everything that IA has printed. This commit also has a small fix so that if you sell something for your exact cost you don't get a message that you made a profit of 0c.
author Asa Ayers <Asa.Ayers@Gmail.com>
date Thu, 08 Jul 2010 19:30:30 -0700
parents
children 819bfdc5d73c
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ItemAuditor.xml	Thu Jul 08 19:30:30 2010 -0700
@@ -0,0 +1,102 @@
+<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
+	../UI.xsd">
+	
+	<Frame name="ItemAuditor_DebugFrame" toplevel="true" movable="false" parent="UIParent" enableMouse="true" resizable="false" frameStrata="MEDIUM"  hidden="true">
+		<Size x="640" y="512"/>
+		<Anchors>
+			<Anchor point="CENTER"/>
+		</Anchors>
+		<Layers>
+			<!--
+			<Layer level="BACKGROUND"> 
+				<Texture name="$parent_Background" setAllPoints="true">
+					<Color r="0" g="0" b="1" a="0.5" /> 
+				</Texture> 
+			</Layer> 
+			-->
+			<Layer level="ARTWORK">
+				<Texture name="$parentTopLeft" file="Interface\HelpFrame\HelpFrame-TopLeft">
+					<Size x="256" y="256"/>
+					<Anchors>
+						<Anchor point="TOPLEFT"/>
+					</Anchors>
+				</Texture>
+				<Texture name="$parentTopRight" file="Interface\HelpFrame\HelpFrame-TopRight">
+					<Size x="128" y="256"/>
+					<Anchors>
+						<Anchor point="TOPRIGHT">
+							<Offset x="42" y="0"/>
+						</Anchor>
+					</Anchors>
+				</Texture>
+				<Texture file="Interface\HelpFrame\HelpFrame-Top">
+					<Size y="256"/>
+					<Anchors>
+						<Anchor point="TOPLEFT" relativeTo="$parentTopLeft" relativePoint="TOPRIGHT" />
+						<Anchor point="TOPRIGHT" relativeTo="$parentTopRight" relativePoint="TOPLEFT" />
+					</Anchors>
+				</Texture>				
+				<Texture name="$parentBotLeft" file="Interface\HelpFrame\HelpFrame-BotLeft">
+					<Size x="256" y="256"/>
+					<Anchors>
+						<Anchor point="BOTTOMLEFT"/>
+					</Anchors>
+				</Texture>
+				<Texture name="$parentBotRight" file="Interface\HelpFrame\HelpFrame-BotRight">
+					<Size x="128" y="256"/>
+					<Anchors>
+						<Anchor point="BOTTOMRIGHT">
+							<Offset x="42" y="0"/>
+						</Anchor>
+					</Anchors>
+				</Texture>
+				<Texture file="Interface\HelpFrame\HelpFrame-Bottom">
+					<Size y="256"/>
+					<Anchors>
+						<Anchor point="BOTTOMLEFT" relativeTo="$parentBotLeft" relativePoint="BOTTOMRIGHT" />
+						<Anchor point="BOTTOMRIGHT" relativeTo="$parentBotRight" relativePoint="BOTTOMLEFT" />
+					</Anchors>
+				</Texture>
+				
+				<FontString name="$parentTitle" inherits="GameFontNormal" text="ItemAuditor|nPlease send a screenshot with a description of the problem to Asa.Ayers@Gmail.com">
+					<Anchors>
+						<Anchor point="TOP">
+							<Offset x="0" y="-15"/>
+						</Anchor>
+					</Anchors>
+				</FontString>
+			</Layer>
+			
+		</Layers>
+		<Frames>
+			<ScrollingMessageFrame name="$parentTxt" maxLines="100" fade="false" enableMouse="true">
+				<Anchors>
+					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
+						<Offset x="25" y="-45"/>
+					</Anchor>
+					<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
+						<Offset x="-15" y="50"/>
+					</Anchor>
+				</Anchors>
+				<FontString font="Interface\AddOns\WowLua\fonts\VeraMono.ttf" justifyH="LEFT">
+					<FontHeight val="14"/>
+				</FontString>
+			</ScrollingMessageFrame>
+			<Button name="ItemAuditorButton_Close" inherits="UIPanelCloseButton">
+				<Anchors>
+					<Anchor point="TOPRIGHT">
+						<Offset x="0" y="-3"/>
+					</Anchor>
+				</Anchors>
+				<Scripts>
+					<OnClick>
+						ItemAuditor_DebugFrame:Hide()
+					</OnClick>
+				</Scripts>
+			</Button>
+		</Frames>
+	</Frame>
+	<Scripts>
+		ItemAuditor_DebugFrame:Hide()
+	</Scripts>
+</Ui>
\ No newline at end of file