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="ParchmentTack.lua" />
        
        <Button name="ParchmentChapterTitleButtonTemplate" virtual="true">
                <Layers>
                        <Layer level="ARTWORK">
                                <FontString name="$parentText" inherits="GameFontNormal" justifyH="LEFT">
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                </Layers>
                <Scripts>
                        <OnLoad>
                                ParchmentChapterTitleButton_OnLoad();
                        </OnLoad>
                        <OnClick>
                                ParchmentChapterTitleButton_OnClick(arg1);
                        </OnClick>
                </Scripts>
        </Button>

        <Button name="ParchmentChapterTextButtonTemplate" virtual="true">
                <Layers>
                        <Layer level="ARTWORK">
                                <FontString name="$parentText" inherits="GameFontNormal" justifyH="LEFT">
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                </Layers>
        </Button>

    <Frame name="Parchment_Tack_Frame" toplevel="true" parent="UIParent" movable="true" enableMouse="true" hidden="true">
                <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                        <EdgeSize>
                                <AbsValue val="16"/>
                        </EdgeSize>
                        <TileSize>
                                <AbsValue val="16"/>
                        </TileSize>
                        <BackgroundInsets>
                                <AbsInset left="4" right="4" top="4" bottom="4"/>
                        </BackgroundInsets>
                </Backdrop> 
                <Size>
                        <AbsDimension x="300" y="27"/>
                </Size>
        <Anchors>
                        <Anchor point="TOP">
                                <Offset>
                                        <AbsDimension x="0" y="-100"/>
                                </Offset>
                        </Anchor>
       </Anchors>
                <Layers>
                        <Layer level="ARTWORK">
                                <FontString name="Parchment_Tack_Title" inherits="GameFontNormal" text="Tacked Chapters">
                                        <Anchors>
                                                <Anchor point="TOP" >
                                                        <Offset>
                                                                <AbsDimension x="-8" y="-7" />
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                </Layers>          
                <Frames>
                        <Button name="Parchment_Tack_Close" inherits="UIPanelCloseButton">
                                <Size>
                                        <AbsDimension x="16" y="16"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPRIGHT" relativeTo="Parchment_Tack_Frame" relativePoint="TOPRIGHT">
                                                <Offset>
                                                        <AbsDimension x="-6" y="-6"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                Parchment_SlashCommandHandler("hidetack");
                                        </OnClick>
                                </Scripts>
                                <NormalTexture file="Interface\AddOns\Parchment\CloseButton-Up"/>
                                <PushedTexture file="Interface\AddOns\Parchment\CloseButton-Down"/>
                                <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/>
                        </Button>
                        <Button name="Parchment_Tack_Min">
                                <Size>
                                        <AbsDimension x="16" y="16"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPRIGHT" relativeTo="Parchment_Tack_Close" relativePoint="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="-2" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                Parchment_Tack_Minimize();
                                        </OnClick>
                                </Scripts>
                                <NormalTexture file="Interface\AddOns\Parchment\MinimizeButton-Up"/>
                                <PushedTexture file="Interface\AddOns\Parchment\MinimizeButton-Down"/>
                                <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/>
                        </Button>

                        <Button name="ParchmentChapterTitleButton1" inherits="ParchmentChapterTitleButtonTemplate" id="1">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="Parchment_Tack_Frame" relativePoint="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="10" y="-25"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="ParchmentChapterTextButton1" inherits="ParchmentChapterTextButtonTemplate" id="1">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTitleButton1" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="15" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>

                        <Button name="ParchmentChapterTitleButton2" inherits="ParchmentChapterTitleButtonTemplate" id="2">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTextButton1" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="-15" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="ParchmentChapterTextButton2" inherits="ParchmentChapterTextButtonTemplate" id="2">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTitleButton2" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="15" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>

                        <Button name="ParchmentChapterTitleButton3" inherits="ParchmentChapterTitleButtonTemplate" id="3">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTextButton2" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="-15" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="ParchmentChapterTextButton3" inherits="ParchmentChapterTextButtonTemplate" id="3">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTitleButton3" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="15" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>

                        <Button name="ParchmentChapterTitleButton4" inherits="ParchmentChapterTitleButtonTemplate" id="4">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTextButton3" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="-15" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="ParchmentChapterTextButton4" inherits="ParchmentChapterTextButtonTemplate" id="4">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTitleButton4" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="15" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>

                        <Button name="ParchmentChapterTitleButton5" inherits="ParchmentChapterTitleButtonTemplate" id="5">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTextButton4" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="-15" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="ParchmentChapterTextButton5" inherits="ParchmentChapterTextButtonTemplate" id="5">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTitleButton5" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="15" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>

                        <Button name="ParchmentChapterTitleButton6" inherits="ParchmentChapterTitleButtonTemplate" id="6">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTextButton5" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="-15" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="ParchmentChapterTextButton6" inherits="ParchmentChapterTextButtonTemplate" id="6">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTitleButton6" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="15" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>

                        <Button name="ParchmentChapterTitleButton7" inherits="ParchmentChapterTitleButtonTemplate" id="7">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTextButton6" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="-15" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="ParchmentChapterTextButton7" inherits="ParchmentChapterTextButtonTemplate" id="7">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTitleButton7" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="15" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>

                        <Button name="ParchmentChapterTitleButton8" inherits="ParchmentChapterTitleButtonTemplate" id="8">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTextButton7" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="-15" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="ParchmentChapterTextButton8" inherits="ParchmentChapterTextButtonTemplate" id="8">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTitleButton8" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="15" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>

                        <Button name="ParchmentChapterTitleButton9" inherits="ParchmentChapterTitleButtonTemplate" id="9">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTextButton8" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="-15" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="ParchmentChapterTextButton9" inherits="ParchmentChapterTextButtonTemplate" id="9">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTitleButton9" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="15" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>

                        <Button name="ParchmentChapterTitleButton10" inherits="ParchmentChapterTitleButtonTemplate" id="10">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTextButton9" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="-15" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="ParchmentChapterTextButton10" inherits="ParchmentChapterTextButtonTemplate" id="10">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ParchmentChapterTitleButton10" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="15" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>

                </Frames>

                <Scripts>
                         <OnDragStart>
                                ParchmentTack_OnDragStart();
                        </OnDragStart>
                        <OnDragStop>
                                ParchmentTack_OnDragStop();
                        </OnDragStop>
                        <OnMouseUp>
                                ParchmentTack_OnDragStop();
                        </OnMouseUp>
                        <OnLoad>
                                Parchment_Tack_OnLoad();
                        </OnLoad>
                </Scripts>
        </Frame>
</Ui>

Generated by GNU Enscript 1.6.5.90.