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="CThunWarner.lua"/>
        <GameTooltip name="CThunWarnerTooltip" inherits="GameTooltipTemplate" parent="UIParent" hidden="true"></GameTooltip>
        <GameTooltip name="CThunWarnerStomachTooltip" inherits="GameTooltipTemplate" parent="UIParent" hidden="true"></GameTooltip>
        <Frame name="CThunWarnerFrame" movable="true" toplevel="true" parent="UIParent" hidden="true">
                <Size>
                        <AbsDimension x="16" y="16" />
                </Size>
                <Anchors>
                        <Anchor point="CENTER"/>
                </Anchors>
                <Layers>
                        <Layer level="BACKGROUND">
                                <Texture name="CThunWarnerStatusTexture" file="Interface\AddOns\CThunWarner\CThunWarner-Status"/>
                        </Layer>
                </Layers>
                <Scripts>
                        <OnLoad>
                                CThunWarner_OnLoad();
                                this:RegisterForDrag("LeftButton");
                                this:EnableMouse(1);
                        </OnLoad>
                        <OnEvent>
                                CThunWarner_OnEvent(event);
                        </OnEvent>
                        <OnUpdate>
                                CThunWarner_OnUpdate(arg1)
                        </OnUpdate>
                        <OnDragStart>
                                if(CThunWarnerStatus_Locked == 0) then
                                        this:StartMoving();
                                end
                        </OnDragStart>
                        <OnDragStop>
                                this:StopMovingOrSizing();
                        </OnDragStop>
                </Scripts>
        </Frame>
        <StatusBar name="CThunWarnerStatusBar" drawLayer="BORDER" parent="UIParent" hidden="true">
                <Size>
                        <AbsDimension x="195" y="13"/>
                </Size>
                <Anchors>
                        <Anchor point="LEFT" relativeTo="CThunWarnerFrame" relativePoint="RIGHT">
                                <Offset>
                                        <AbsDimension x="5" y="3"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Layers>
                        <Layer level="ARTWORK">
                                <FontString name="$parentText" inherits="GameFontHighlight">
                                        <Size>
                                                <AbsDimension x="185" y="16"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOP"/>
                                                        <Offset>
                                                                <AbsDimension x="-48" y="0"/>
                                                        </Offset>
                                        </Anchors>
                                </FontString>
                                <Texture name="$parentBorder" file="Interface\CastingBar\UI-CastingBar-Border">
                                        <Size>
                                                <AbsDimension x="256" y="64"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="0" y="23"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                        </Layer>
                </Layers>
                <Scripts>
                        <OnUpdate>
                                CThunWarnerStatusBar_OnUpdate();
                        </OnUpdate>
                </Scripts>
                <BarTexture file="Interface\TargetingFrame\UI-StatusBar"/>
                <BarColor r="0.749" g="0.372" b="1.000"/>
        </StatusBar>
</Ui>