view ItemAuditor.xml @ 82:e9f7bc9199ca release 2010-08-05

Fixed Bug 23 - When you purchase multiple stacks of the same item and it is one you have not invested in yet, ItemAuditor mistakenly counted items you have not yet pulled from the mail as items you already owned. This resulted in those items being counted twice.
author Asa Ayers <Asa.Ayers@Gmail.com>
date Thu, 05 Aug 2010 22:20:44 -0700
parents 60ab9a4d2de1
children
line wrap: on
line source
<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="true" parent="UIParent" enableMouse="true" resizable="false" frameStrata="LOW"  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="999" 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>
				<Scripts>
					<OnMouseWheel>
						local direction;
						if delta > 0 then
							direction = "up";
							self:ScrollUp()
						else
							direction = "down";
							self:ScrollDown()
						end
						
						-- WowLua:ScrollingMessageFrameScroll(self, direction, type);
					</OnMouseWheel>
					
				</Scripts>
			</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>
			<Button name="$parentDragHeader">
				<Size y="60"/>
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset x="0" y="-13"/>
					</Anchor>
					<Anchor point="TOPRIGHT">
						<Offset x="0" y="0"/>
					</Anchor>
				</Anchors>
				<Layer level="BACKGROUND"> 
					<Texture name="$parent_Background" setAllPoints="true">
						<Color r="0" g="0" b="1" a="0.5" /> 
					</Texture> 
				</Layer>
				<Scripts>
					<OnMouseDown>
						local parent = self:GetParent()
						if parent:IsMovable() then
						parent:StartMoving()
						end
					</OnMouseDown>
					<OnMouseUp>
						local parent = self:GetParent()
						parent:StopMovingOrSizing()
					</OnMouseUp>
				</Scripts>
			</Button>
		</Frames>
		<Scripts>
		
		</Scripts>
	</Frame>
	<Scripts>
		ItemAuditor_DebugFrame:Hide()
	</Scripts>
</Ui>