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

        <Frame name="IMBA_KelThuzadInterrupt" toplevel="true" parent="UIParent" enableMouse="true" movable="true" hidden="true" frameStrata="HIGH">
                <Size>
                        <AbsDimension x="220" y="230"/>
                </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_TimerFrostbolt" inherits="IMBA_BarTimerTemplate">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="$parent_Title" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-4"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Size>
                                        <AbsDimension x="200" y="16"/>
                                </Size>
                                <Scripts>
                                        <OnLoad>
                                                IMBA_InitBarTimer(this);
                                                getglobal(this:GetName().."BG"):SetWidth(this:GetWidth());
                                        </OnLoad>
                                </Scripts>
                        </StatusBar>
                        <Frame name="$parent_TitleInterrupters" inherits="IMBA_TitleTemplate">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="$parent_TimerFrostbolt" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-4"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Frame>
                        <StatusBar name="$parent_Interrupt1" inherits="IMBA_BarTimerTemplate">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="$parent_TitleInterrupters" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="10" y="-4"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </StatusBar>
                        <StatusBar name="$parent_Interrupt2" inherits="IMBA_BarTimerTemplate">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="$parent_Interrupt1" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-4"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </StatusBar>                    
                        <StatusBar name="$parent_Interrupt3" inherits="IMBA_BarTimerTemplate">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="$parent_Interrupt2" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-4"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </StatusBar>
                        <StatusBar name="$parent_Interrupt4" inherits="IMBA_BarTimerTemplate">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="$parent_Interrupt3" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-4"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </StatusBar>
                        <StatusBar name="$parent_Interrupt5" inherits="IMBA_BarTimerTemplate">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="$parent_Interrupt4" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-4"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </StatusBar>
                        <StatusBar name="$parent_Interrupt6" inherits="IMBA_BarTimerTemplate">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="$parent_Interrupt5" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-4"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </StatusBar>
                        <StatusBar name="$parent_Interrupt7" inherits="IMBA_BarTimerTemplate">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="$parent_Interrupt6" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-4"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </StatusBar>
                        <StatusBar name="$parent_Interrupt8" inherits="IMBA_BarTimerTemplate">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="$parent_Interrupt7" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-4"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </StatusBar>
                        <Frame name="$parent_Icon1" inherits="IMBA_IconTemplate">
                                <Anchors>
                                        <Anchor point="RIGHT" relativeTo="$parent_Interrupt1" relativePoint="LEFT">
                                                <Offset>
                                                        <AbsDimension x="-2" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Frame>
                        <Frame name="$parent_Icon2" inherits="IMBA_IconTemplate">
                                <Anchors>
                                        <Anchor point="RIGHT" relativeTo="$parent_Interrupt2" relativePoint="LEFT">
                                                <Offset>
                                                        <AbsDimension x="-2" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Frame>
                        <Frame name="$parent_Icon3" inherits="IMBA_IconTemplate">
                                <Anchors>
                                        <Anchor point="RIGHT" relativeTo="$parent_Interrupt3" relativePoint="LEFT">
                                                <Offset>
                                                        <AbsDimension x="-2" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Frame>
                        <Frame name="$parent_Icon4" inherits="IMBA_IconTemplate">
                                <Anchors>
                                        <Anchor point="RIGHT" relativeTo="$parent_Interrupt4" relativePoint="LEFT">
                                                <Offset>
                                                        <AbsDimension x="-2" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Frame>
                        <Frame name="$parent_Icon5" inherits="IMBA_IconTemplate">
                                <Anchors>
                                        <Anchor point="RIGHT" relativeTo="$parent_Interrupt5" relativePoint="LEFT">
                                                <Offset>
                                                        <AbsDimension x="-2" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Frame>
                        <Frame name="$parent_Icon6" inherits="IMBA_IconTemplate">
                                <Anchors>
                                        <Anchor point="RIGHT" relativeTo="$parent_Interrupt6" relativePoint="LEFT">
                                                <Offset>
                                                        <AbsDimension x="-2" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Frame>
                        <Frame name="$parent_Icon7" inherits="IMBA_IconTemplate">
                                <Anchors>
                                        <Anchor point="RIGHT" relativeTo="$parent_Interrupt7" relativePoint="LEFT">
                                                <Offset>
                                                        <AbsDimension x="-2" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Frame>
                        <Frame name="$parent_Icon8" inherits="IMBA_IconTemplate">
                                <Anchors>
                                        <Anchor point="RIGHT" relativeTo="$parent_Interrupt8" relativePoint="LEFT">
                                                <Offset>
                                                        <AbsDimension x="-2" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Frame>
                        <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_KelThuzadInterrupt:Hide();
                                        </OnMouseDown>
                                </Scripts>
                        </Frame>
                        
                </Frames>
                <Scripts>
                        <OnLoad>
                                IMBA_KelThuzadInterrupt_OnLoad();
                        </OnLoad>
                        <OnUpdate>
                                IMBA_KelThuzadInterrupt_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_KelThuzadInterrupt_RegisterEvents();
                        </OnShow>
                        <OnEvent>
                                IMBA_KelThuzadInterrupt_OnEvent(event);
                        </OnEvent>
                        <OnHide>
                        IMBA_KelThuzadInterrupt_UnregisterEvents();
                         if ( this.isMoving ) then
                          this:StopMovingOrSizing();
                          this.isMoving = false;
                         end
                        </OnHide>
                </Scripts>
        </Frame>
</Ui>

Generated by GNU Enscript 1.6.5.90.