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="IMBA_KelThuzad.lua"/>

        <Frame name="IMBA_KelThuzad" toplevel="true" parent="UIParent" enableMouse="true" movable="true" hidden="true" frameStrata="HIGH">
                <Size>
                        <AbsDimension x="200" y="243"/>
                </Size>
                <Anchors>
                        <Anchor point="CENTER"/>
                </Anchors>
                <Backdrop name="$parentBackdrop" bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                        <EdgeSize>
                                <AbsValue val="16"/>
                        </EdgeSize>
                        <TileSize>
                                <AbsValue val="16"/>
                        </TileSize>
                        <BackgroundInsets>
                                <AbsInset left="5" right="5" top="5" bottom="5"/>
                        </BackgroundInsets>
                </Backdrop>
                <Frames>
                        <Frame name="$parent_Title" inherits="IMBA_MainTitleTemplate">
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="0" y="-8"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Frame>
                        <StatusBar name="$parent_TimerFissure" inherits="IMBA_BarTimerTemplate">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="$parent_Title" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-4"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </StatusBar>
                        <StatusBar name="$parent_TimerVolley" inherits="IMBA_BarTimerTemplate">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="$parent_TimerFissure" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-4"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </StatusBar>
                        <StatusBar name="$parent_TimerDetonateMana" inherits="IMBA_BarTimerTemplate">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="$parent_TimerVolley" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-4"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </StatusBar>
                        <StatusBar name="$parent_TimerFrostBlast" inherits="IMBA_BarTimerTemplate">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="$parent_TimerDetonateMana" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-4"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </StatusBar>
                        <StatusBar name="$parent_TimerStage1" inherits="IMBA_BarTimerTemplate">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="$parent_TimerFrostBlast" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-4"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </StatusBar>
                        <StatusBar name="$parent_HealthKelThuzad" inherits="IMBA_NameHealthTemplate">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="$parent_TimerStage1" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-4"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </StatusBar>
                        <Frame name="$parent_TitleFrostBlasted" inherits="IMBA_TitleTemplate">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="$parent_HealthKelThuzad" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-4"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Frame>
                        <StatusBar name="$parent_FrostBlast1" inherits="IMBA_UnitHealthTemplate">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="$parent_TitleFrostBlasted" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-4"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </StatusBar>
                        <StatusBar name="$parent_FrostBlast2" inherits="IMBA_UnitHealthTemplate">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="$parent_FrostBlast1" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-4"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </StatusBar>
                        <StatusBar name="$parent_FrostBlast3" inherits="IMBA_UnitHealthTemplate">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="$parent_FrostBlast2" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-4"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </StatusBar>
                        <Frame name="$parent_Close" enableMouse="true">
                                <Size>
                                        <AbsDimension x="24" y="24"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPRIGHT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="OVERLAY">
                                                <Texture name="$parent_Image" file="Interface\AddOns\IMBA\textures\close.blp">
                                                        <Size>
                                                                <AbsDimension x="32" y="32"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="TOPRIGHT"/>
                                                        </Anchors>
                                                </Texture>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                        <OnLoad>
                                                this:SetBackdropBorderColor(1, 1, 1, 1);
                                                this:SetBackdropColor(0.0,0.0,0.0,0);
                                        </OnLoad>
                                        <OnMouseDown>
                                                IMBA_KelThuzad:Hide();
                                        </OnMouseDown>
                                </Scripts>
                        </Frame>
                        
                </Frames>
                <Scripts>
                        <OnLoad>
                                IMBA_KelThuzad_OnLoad();
                        </OnLoad>
                        <OnEvent>
                                IMBA_KelThuzad_OnEvent(event);
                        </OnEvent>
                        <OnUpdate>
                                IMBA_KelThuzad_OnUpdate();
                        </OnUpdate>
                        <OnMouseUp>
                         if ( this.isMoving ) then
                          this:StopMovingOrSizing();
                          this.isMoving = false;
                         end
                        </OnMouseUp>
                        <OnMouseDown>
                         if ( ( ( not this.isLocked ) or ( this.isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then
                          this:StartMoving();
                          this.isMoving = true;
                         end
                        </OnMouseDown>
                        <OnShow>
                                IMBA_KelThuzad_RegisterEvents();
                        </OnShow>
                        <OnHide>
                         IMBA_KelThuzad_UnregisterEvents();
                         if ( this.isMoving ) then
                          this:StopMovingOrSizing();
                          this.isMoving = false;
                         end
                        </OnHide>
                </Scripts>
        </Frame>
</Ui>

Generated by GNU Enscript 1.6.5.90.