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/
C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
        <Script file="CharacterPaperdoll.lua"/>
        <Frame name="rpgoCPDframe" hidden="false" toplevel="true" parent="PaperDollFrame">
                <Size>
                        <AbsDimension x="400" y="100"/>
                </Size>
                <Anchors>
                        <Anchor point="TOPLEFT">
                                <Offset>
                                        <AbsDimension x="110" y="-52"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Scripts>
                        <OnLoad>
                                rpgoCPD_OnLoad();
                        </OnLoad>
                        <OnEvent>
                                rpgoCPD_Restore();
                        </OnEvent>
                        <OnHide>
                                rpgoCPD_Restore();
                        </OnHide>
                </Scripts>
        </Frame>
        <Button name="rpgoCPDframeUISaveButton" parent="PaperDollFrame" toplevel="true" inherits="UIPanelButtonTemplate" text="pic">
                <Size>
                        <AbsDimension x="40" y="20"/>
                </Size>
                <Anchors>
                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
                                <Offset>
                                        <AbsDimension x="74" y="-54"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Scripts>
                        <OnClick>
                                rpgoCPD_PicSave();
                        </OnClick>
                        <OnEnter>
                                rpgo_SetTooltip();
                                GameTooltip:SetText("Click to enlarge CharacterPaperdoll for Screenshot");
                        </OnEnter>
                        <OnLeave>
                                GameTooltip:Hide();
                        </OnLeave>
                </Scripts>
        </Button>
</Ui>