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="FishingWatcher.lua"/>
    <FontString name="FishingWatchFontTemplate" inherits="GameFontNormal" virtual="true" justifyH="LEFT">
        <Size>
            <AbsDimension x="0" y="13"/>
        </Size>
    </FontString>

    <Frame name="FishingWatchDragFrame" toplevel="true" enableMouse="true" movable="true" parent="UIParent" hidden="true">
        <Size>
                <AbsDimension x="280" y="20"/>
        </Size>
        <Layers>
                <Layer level="BACKGROUND">
                        <Texture name="$parentBackground" file="Interface\ChatFrame\ChatFrameBackground">
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="-2" y="3"/>
                                                </Offset>
                                        </Anchor>
                                        <Anchor point="TOPRIGHT">
                                                <Offset>
                                                        <AbsDimension x="2" y="3"/>
                                                </Offset>
                                        </Anchor>
                                        <Anchor point="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="-2" y="-6"/>
                                                </Offset>
                                        </Anchor>
                                        <Anchor point="BOTTOMRIGHT">
                                                <Offset>
                                                        <AbsDimension x="3" y="-6"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Texture>
                        <Texture name="$parentTopLeft" file="Interface\ChatFrame\ChatFrameBorder">
                                <Size>
                                        <AbsDimension x="16" y="16"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT"/>
                                </Anchors>
                                <TexCoords left="0" right="0.25" top="0" bottom="0.125"/>
                        </Texture>
                        <Texture name="$parentTopRight" file="Interface\ChatFrame\ChatFrameBorder">
                                <Size>
                                        <AbsDimension x="16" y="16"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT"/>
                                </Anchors>
                                <TexCoords left="0.75" right="1.0" top="0" bottom="0.125"/>
                        </Texture>
                        <Texture name="$parentBottomLeft" file="Interface\ChatFrame\ChatFrameBorder">
                                <Size>
                                        <AbsDimension x="16" y="16"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT"/>
                                </Anchors>
                                <TexCoords left="0" right="0.25" top="0.7265625" bottom="0.8515625"/>
                        </Texture>
                        <Texture name="$parentBottomRight" file="Interface\ChatFrame\ChatFrameBorder">
                                <Size>
                                        <AbsDimension x="16" y="16"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT"/>
                                </Anchors>
                                <TexCoords left="0.75" right="1.0" top="0.7265625" bottom="0.8515625"/>
                        </Texture>
                        <Texture name="$parentTop" file="Interface\ChatFrame\ChatFrameBorder">
                                <Size>
                                        <AbsDimension x="16" y="16"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="LEFT"/>
                                        <Anchor point="RIGHT"/>
                                </Anchors>
                                <TexCoords left="0.25" right="0.75" top="0" bottom="0.125"/>
                        </Texture>
                        <Texture name="$parentBottom" file="Interface\ChatFrame\ChatFrameBorder">
                                <Size>
                                        <AbsDimension x="16" y="16"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="LEFT"/>
                                        <Anchor point="RIGHT"/>
                                </Anchors>
                                <TexCoords left="0.25" right="0.75" top="0.7265625" bottom="0.8515625"/>
                        </Texture>
                        <Texture name="$parentLeft" file="Interface\ChatFrame\ChatFrameBorder">
                                <Size>
                                        <AbsDimension x="16" y="16"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOP"/>
                                        <Anchor point="BOTTOM"/>
                                </Anchors>
                                <TexCoords left="0" right="0.25" top="0.125" bottom="0.7265625"/>
                        </Texture>
                        <Texture name="$parentRight" file="Interface\ChatFrame\ChatFrameBorder">
                                <Size>
                                        <AbsDimension x="16" y="16"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOP"/>
                                        <Anchor point="BOTTOM"/>
                                </Anchors>
                                <TexCoords left="0.75" right="1.0" top="0.125" bottom="0.7265625"/>
                        </Texture>
                </Layer>
        </Layers>
        <Scripts>
                <OnEnter>
                        GameTooltip:SetOwner(this, "ANCHOR_TOPLEFT");
                        GameTooltip:SetText(FishingBuddy.LEFTCLICKTODRAG);
                </OnEnter>
                <OnLeave>
                        GameTooltip:Hide();
                </OnLeave>
                <OnMouseDown>
                        if ( arg1 == "LeftButton" ) then
                                this:StartMoving();
                        end
                </OnMouseDown>
                <OnMouseUp>
                        this:StopMovingOrSizing();
                </OnMouseUp>
        </Scripts>
    </Frame>

    <Frame name="FishingWatchFrame" toplevel="true" enableMouse="false" movable="true" parent="UIParent" hidden="true">
                <Size>
                        <AbsDimension x="280" y="20"/>
                </Size>
                <Anchors>
                        <Anchor point="TOPRIGHT" relativeTo="FishingWatchDragFrame" relativePoint="TOPRIGHT">
                                <Offset>
                                        <AbsDimension x="0" y="0"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Layers>
                        <Layer level="BACKGROUND">
                                <FontString name="FishingWatchLine1" inherits="FishingWatchFontTemplate" hidden="true">
                                        <Size>
                                                <AbsDimension x="0" y="13"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT"/>
                                        </Anchors>
                                </FontString>
                                <FontString name="FishingWatchLine2" inherits="FishingWatchFontTemplate" hidden="true">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="FishingWatchLine1" relativePoint="BOTTOMLEFT"/>
                                        </Anchors>
                                </FontString>
                                <FontString name="FishingWatchLine3" inherits="FishingWatchFontTemplate" hidden="true">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="FishingWatchLine2" relativePoint="BOTTOMLEFT"/>
                                        </Anchors>
                                </FontString>
                                <FontString name="FishingWatchLine4" inherits="FishingWatchFontTemplate" hidden="true">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="FishingWatchLine3" relativePoint="BOTTOMLEFT"/>
                                        </Anchors>
                                </FontString>
                                <FontString name="FishingWatchLine5" inherits="FishingWatchFontTemplate" hidden="true">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="FishingWatchLine4" relativePoint="BOTTOMLEFT"/>
                                        </Anchors>
                                </FontString>
                                <FontString name="FishingWatchLine6" inherits="FishingWatchFontTemplate" hidden="true">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="FishingWatchLine5" relativePoint="BOTTOMLEFT"/>
                                        </Anchors>
                                </FontString>
                                <FontString name="FishingWatchLine7" inherits="FishingWatchFontTemplate" hidden="true">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="FishingWatchLine6" relativePoint="BOTTOMLEFT"/>
                                        </Anchors>
                                </FontString>
                                <FontString name="FishingWatchLine8" inherits="FishingWatchFontTemplate" hidden="true">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="FishingWatchLine7" relativePoint="BOTTOMLEFT"/>
                                        </Anchors>
                                </FontString>
                                <FontString name="FishingWatchLine9" inherits="FishingWatchFontTemplate" hidden="true">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="FishingWatchLine8" relativePoint="BOTTOMLEFT"/>
                                        </Anchors>
                                </FontString>
                                <FontString name="FishingWatchLine10" inherits="FishingWatchFontTemplate" hidden="true">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="FishingWatchLine9" relativePoint="BOTTOMLEFT"/>
                                        </Anchors>
                                </FontString>
                                <FontString name="FishingWatchLine11" inherits="FishingWatchFontTemplate" hidden="true">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="FishingWatchLine10" relativePoint="BOTTOMLEFT"/>
                                        </Anchors>
                                </FontString>
                                <FontString name="FishingWatchLine12" inherits="FishingWatchFontTemplate" hidden="true">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="FishingWatchLine11" relativePoint="BOTTOMLEFT"/>
                                        </Anchors>
                                </FontString>
                                <FontString name="FishingWatchLine13" inherits="FishingWatchFontTemplate" hidden="true">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="FishingWatchLine12" relativePoint="BOTTOMLEFT"/>
                                        </Anchors>
                                </FontString>
                                <FontString name="FishingWatchLine14" inherits="FishingWatchFontTemplate" hidden="true">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="FishingWatchLine13" relativePoint="BOTTOMLEFT"/>
                                        </Anchors>
                                </FontString>
                                <FontString name="FishingWatchLine15" inherits="FishingWatchFontTemplate" hidden="true">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="FishingWatchLine14" relativePoint="BOTTOMLEFT"/>
                                        </Anchors>
                                </FontString>
                                <FontString name="FishingWatchLine16" inherits="FishingWatchFontTemplate" hidden="true">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="FishingWatchLine15" relativePoint="BOTTOMLEFT"/>
                                        </Anchors>
                                </FontString>
                                <FontString name="FishingWatchLine17" inherits="FishingWatchFontTemplate" hidden="true">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="FishingWatchLine16" relativePoint="BOTTOMLEFT"/>
                                        </Anchors>
                                </FontString>
                                <FontString name="FishingWatchLine18" inherits="FishingWatchFontTemplate" hidden="true">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="FishingWatchLine17" relativePoint="BOTTOMLEFT"/>
                                        </Anchors>
                                </FontString>
                                <FontString name="FishingWatchLine19" inherits="FishingWatchFontTemplate" hidden="true">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="FishingWatchLine18" relativePoint="BOTTOMLEFT"/>
                                        </Anchors>
                                </FontString>
                                <FontString name="FishingWatchLine20" inherits="FishingWatchFontTemplate" hidden="true">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="FishingWatchLine19" relativePoint="BOTTOMLEFT"/>
                                        </Anchors>
                                </FontString>
                        </Layer>
                </Layers>
                <Scripts>
                        <OnLoad>
                                FishingBuddy.WatchFrame.OnLoad();
                        </OnLoad>
                        <OnUpdate>
                                FishingBuddy.WatchFrame.OnUpdate(arg1);
                        </OnUpdate>
                </Scripts>
        </Frame>
</Ui>