Mercurial > wow > itemauditor
view ItemAuditor.xml @ 77:a8fc802b42ba
Changed the QuickAuctions decider to consider the number already owned and only calculate based on what needs to be crated.
Fixed the QuickAuctions decider to return the number of items to be created instead of the number of times to create. This makes a difference with things like Runescroll of Fortitude where 5 are created at once.
author | Asa Ayers <Asa.Ayers@Gmail.com> |
---|---|
date | Sun, 01 Aug 2010 08:42:29 -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>