vanilla-wow-addons – Rev 1

Subversion Repositories:
Rev:
<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">
    <Script file="localization.lua"/>
    <Script file="BuyEmAll.lua"/>
        <Frame name="BuyEmAllFrame" frameStrata="HIGH" parent="UIParent" toplevel="true" enableMouse="true" enableKeyboard="true" hidden="true">
                <Size>
                        <AbsDimension x="172" y="128"/>
                </Size>
                <Layers>
                        <Layer level="BACKGROUND">
                                <Texture name="$parentTopTex" file="Interface\MoneyFrame\UI-MoneyFrame2">
                                        <Size x="172" y="14"/>
                                        <Anchors>
                                                <Anchor point="TOP" relativePoint="TOP"/>
                                        </Anchors>
                                        <TexCoords left="0" right="0.671875" top="0" bottom=".109375"/>
                                </Texture>
                                <Texture name="$parentMoneyTex" file="Interface\MoneyFrame\UI-MoneyFrame">
                                        <Size x="172" y="34"/>
                                        <Anchors>
                                                <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentTopTex"/>
                                        </Anchors>
                                        <TexCoords left="0" right="0.671875" top=".109375" bottom=".375"/>
                                </Texture>
                                <Texture name="$parentBottomTex" file="Interface\MoneyFrame\UI-MoneyFrame2">
                                        <Size x="172" y="20"/>
                                        <Anchors>
                                                <Anchor point="BOTTOM" relativePoint="BOTTOM"/>
                                        </Anchors>
                                        <TexCoords left="0" right="0.671875" top=".59375" bottom=".75"/>
                                </Texture>
                                <Texture name="$parentBackTex" file="Interface\MoneyFrame\UI-MoneyFrame2">
                                        <Size x="172" y="128"/>
                                        <Anchors>
                                                <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentMoneyTex"/>
                                                <Anchor point="BOTTOM" relativePoint="TOP" relativeTo="$parentBottomTex"/>
                                        </Anchors>
                                        <TexCoords left="0" right="0.671875" top=".375" bottom=".59375"/>
                                </Texture>
                                <FontString name="BuyEmAllText" inherits="GameFontHighlight" justifyH="RIGHT">
                                        <Anchors>
                                                <Anchor point="TOPRIGHT">
                                                        <Offset x="-50" y="-23"/>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                </Layers>
                <Frames>
                        <Button name="BuyEmAllLeftButton">
                                <Size x="16" y="16"/>
                                <Anchors>
                                        <Anchor point="RIGHT" relativePoint="TOP">
                                                <Offset x="-59" y="-30"/>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                BuyEmAllLeft_Click();
                                        </OnClick>
                                </Scripts>
                                <NormalTexture file="Interface\MoneyFrame\Arrow-Left-Up"/>
                                <PushedTexture file="Interface\MoneyFrame\Arrow-Left-Down"/>
                                <DisabledTexture file="Interface\MoneyFrame\Arrow-Left-Disabled"/>
                        </Button>
                        <Button name="BuyEmAllRightButton">
                                <Size x="16" y="16"/>
                                <Anchors>
                                        <Anchor point="LEFT" relativePoint="TOP">
                                                <Offset x="64" y="-30"/>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                BuyEmAllRight_Click();
                                        </OnClick>
                                </Scripts>
                                <NormalTexture file="Interface\MoneyFrame\Arrow-Right-Up"/>
                                <PushedTexture file="Interface\MoneyFrame\Arrow-Right-Down"/>
                                <DisabledTexture file="Interface\MoneyFrame\Arrow-Right-Disabled"/>
                        </Button>
                        <Frame name="BuyEmAllCostMoney" inherits="SmallMoneyFrameTemplate">
                                <Size x="120" y="24"/>
                                <Anchors>
                                        <Anchor point="TOP" relativePoint="TOP">
                                                <Offset x="8" y="-44"/>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                BuyEmAllCostMoney_OnLoad()
                                        </OnLoad>
                                </Scripts>
                        </Frame>
                        <Button name="BuyEmAllOkayButton" inherits="UIPanelButtonTemplate" text="OKAY">
                                <Size x="70" y="24"/>
                                <Anchors>
                                        <Anchor point="RIGHT" relativePoint="BOTTOM">
                                                <Offset x="1" y="28"/>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                BuyEmAllOkay_Click();
                                        </OnClick>
                                </Scripts>
                        </Button>
                        <Button name="BuyEmAllCancelButton" inherits="UIPanelButtonTemplate" text="CANCEL">
                                <Size x="70" y="24"/>
                                <Anchors>
                                        <Anchor point="LEFT" relativePoint="BOTTOM">
                                                <Offset x="1" y="28"/>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                BuyEmAllCancel_Click();
                                        </OnClick>
                                </Scripts>
                        </Button>
            <Button name="BuyEmAllStackButton" inherits="UIPanelButtonTemplate">
                                <Size x="70" y="24"/>
                                <Anchors>
                    <Anchor point="BOTTOMLEFT" relativeTo="BuyEmAllOkayButton" relativePoint="TOPLEFT"/>
                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                BuyEmAllStack_Click()
                                        </OnClick>
                                        <OnEnter>
                                                BuyEmAllStackButton_Enter()
                                        </OnEnter>
                                        <OnLeave>
                                                BuyEmAllMSButton_Leave()
                                        </OnLeave>
                                </Scripts>
            </Button>
                        <Button name="BuyEmAllMaxButton" inherits="UIPanelButtonTemplate">
                                <Size x="70" y="24"/>
                                <Anchors>
                                        <Anchor point="BOTTOMLEFT" relativeTo="BuyEmAllCancelButton" relativePoint="TOPLEFT"/>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                BuyEmAllMax_Click()                                             
                                        </OnClick>
                                        <OnEnter>
                                                BuyEmAllMaxButton_Enter()
                                        </OnEnter>
                                        <OnLeave>
                                                BuyEmAllMSButton_Leave()
                                        </OnLeave>
                                </Scripts>
                        </Button>
                </Frames>
                <Scripts>
            <OnLoad>
                BuyEmAllFrame_OnLoad()
            </OnLoad>
                        <OnHide>
                                BuyEmAllFrame_OnHide();
                        </OnHide>
                        <OnChar>
                                BuyEmAllFrame_OnChar();
                        </OnChar>
                        <OnKeyDown>
                                BuyEmAllFrame_OnKeyDown();
                        </OnKeyDown>
                </Scripts>
        </Frame>
</Ui>