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/
..\FrameXML\UI.xsd">
        <Script file="TitanMoney.lua"/>
        <Frame parent="UIParent">
                <Frames>
                        <Button name="TitanPanelMoneyButton" inherits="TitanPanelButtonTemplate" frameStrata="FULLSCREEN" toplevel="true">
                                <Size>
                                        <AbsDimension x="128" y="16"/>
                                </Size>
                                <Frames>
                                        <!--
                                        <Button name="TitanPanelMoneyCeilingButton" inherits="TitanPanelCeilingButtonTemplate" toplevel="true" hidden="false">
                                                <Size>
                                                        <AbsDimension x="128" y="16"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="CENTER"/>
                                                </Anchors>
                                        </Button>
                                        -->
                                        <Button name="$parentCopperButton" inherits="TitanPanelChildButtonTemplate">
                                                <Size>
                                                        <AbsDimension x="32" y="13"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="RIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-13" y="1"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                TitanPanelMoneyCopperButton_OnClick(arg1);
                                                                TitanPanelButton_OnClick(arg1, 1);
                                                        </OnClick>
                                                </Scripts>
                                                <NormalTexture file="Interface\MoneyFrame\UI-MoneyIcons">
                                                        <Size>
                                                                <AbsDimension x="13" y="13"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="RIGHT"/>
                                                        </Anchors>
                                                        <TexCoords left="0.5" right="0.75" top="0" bottom="1"/>
                                                </NormalTexture>
                                                <NormalText name="$parentText" inherits="GameFontHighlightSmall" justifyH="LEFT">
                                                        <Anchors>
                                                                <Anchor point="LEFT"/>
                                                        </Anchors>
                                                </NormalText>
                                                <PushedTextOffset>
                                                        <AbsDimension x="0" y="0"/>
                                                </PushedTextOffset>
                                        </Button>
                                        <Button name="$parentSilverButton" inherits="TitanPanelChildButtonTemplate">
                                                <Size>
                                                        <AbsDimension x="32" y="13"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="RIGHT" relativeTo="$parentCopperButton" relativePoint="LEFT">
                                                                <Offset>
                                                                        <AbsDimension x="-4" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                TitanPanelMoneySilverButton_OnClick(arg1);
                                                                TitanPanelButton_OnClick(arg1, 1);
                                                        </OnClick>
                                                </Scripts>
                                                <NormalTexture file="Interface\MoneyFrame\UI-MoneyIcons">
                                                        <Size>
                                                                <AbsDimension x="13" y="13"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="RIGHT"/>
                                                        </Anchors>
                                                        <TexCoords left="0.25" right="0.5" top="0" bottom="1"/>
                                                </NormalTexture>
                                                <NormalText name="$parentText" inherits="GameFontHighlightSmall" justifyH="LEFT">
                                                        <Anchors>
                                                                <Anchor point="LEFT"/>
                                                        </Anchors>
                                                </NormalText>
                                                <PushedTextOffset>
                                                        <AbsDimension x="0" y="0"/>
                                                </PushedTextOffset>
                                        </Button>
                                        <Button name="$parentGoldButton" inherits="TitanPanelChildButtonTemplate">
                                                <Size>
                                                        <AbsDimension x="32" y="13"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="RIGHT" relativeTo="$parentSilverButton" relativePoint="LEFT">
                                                                <Offset>
                                                                        <AbsDimension x="-4" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                TitanPanelMoneyGoldButton_OnClick(arg1);
                                                                TitanPanelButton_OnClick(arg1, 1);
                                                        </OnClick>
                                                </Scripts>
                                                <NormalTexture file="Interface\MoneyFrame\UI-MoneyIcons">
                                                        <Size>
                                                                <AbsDimension x="13" y="13"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="RIGHT"/>
                                                        </Anchors>
                                                        <TexCoords left="0" right="0.25" top="0" bottom="1"/>
                                                </NormalTexture>
                                                <NormalText name="$parentText" inherits="GameFontHighlightSmall" justifyH="LEFT">
                                                        <Anchors>
                                                                <Anchor point="LEFT"/>
                                                        </Anchors>
                                                </NormalText>
                                                <PushedTextOffset>
                                                        <AbsDimension x="0" y="0"/>
                                                </PushedTextOffset>
                                        </Button>
                                </Frames>
                                <Scripts>
                                        <OnLoad>
                                                TitanPanelMoneyButton_OnLoad();
                                                TitanPanelButton_OnLoad();
                                        </OnLoad>
                                        <OnEvent>
                                                TitanPanelMoneyButton_OnEvent();
                                        </OnEvent>
                                        <OnShow>
                                                MoneyFrame_UpdateMoney();
                                        </OnShow>
                                        <OnHide>
                                                if ( this.hasPickup == 1 ) then
                                                        CoinPickupFrame:Hide();
                                                        this.hasPickup = 0;
                                                end
                                        </OnHide>
                                </Scripts>
                        </Button>
                </Frames>
        </Frame>
</Ui>