vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 <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/
2 ..\FrameXML\UI.xsd">
3 <Script file="IMBA_AnubRekhan.lua"/>
4  
5 <Frame name="IMBA_AnubRekhan" parent="UIParent" enableMouse="true" movable="true" hidden="true" frameStrata="HIGH">
6 <Size>
7 <AbsDimension x="200" y="72"/>
8 </Size>
9 <Anchors>
10 <Anchor point="CENTER"/>
11 </Anchors>
12 <Backdrop name="$parentBackdrop" bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
13 <EdgeSize>
14 <AbsValue val="16"/>
15 </EdgeSize>
16 <TileSize>
17 <AbsValue val="16"/>
18 </TileSize>
19 <BackgroundInsets>
20 <AbsInset left="5" right="5" top="5" bottom="5"/>
21 </BackgroundInsets>
22 </Backdrop>
23 <Frames>
24 <Frame name="$parent_Title" inherits="IMBA_MainTitleTemplate">
25 <Anchors>
26 <Anchor point="TOP">
27 <Offset>
28 <AbsDimension x="-2" y="-8"/>
29 </Offset>
30 </Anchor>
31 </Anchors>
32 </Frame>
33 <StatusBar name="$parent_TimerLocustSwarmCast" inherits="IMBA_BarTimerTemplate">
34 <Anchors>
35 <Anchor point="TOP" relativeTo="$parent_Title" relativePoint="BOTTOM">
36 <Offset>
37 <AbsDimension x="2" y="-4"/>
38 </Offset>
39 </Anchor>
40 </Anchors>
41 </StatusBar>
42 <StatusBar name="$parent_TimerLocustSwarmCooldown" inherits="IMBA_BarTimerTemplate">
43 <Anchors>
44 <Anchor point="TOP" relativeTo="$parent_TimerLocustSwarmCast" relativePoint="BOTTOM">
45 <Offset>
46 <AbsDimension x="0" y="-4"/>
47 </Offset>
48 </Anchor>
49 </Anchors>
50 </StatusBar>
51 <Frame name="$parent_Close" enableMouse="true">
52 <Size>
53 <AbsDimension x="24" y="24"/>
54 </Size>
55 <Anchors>
56 <Anchor point="TOPRIGHT">
57 <Offset>
58 <AbsDimension x="0" y="0"/>
59 </Offset>
60 </Anchor>
61 </Anchors>
62 <Layers>
63 <Layer level="OVERLAY">
64 <Texture name="$parent_Image" file="Interface\AddOns\IMBA\textures\close.blp">
65 <Size>
66 <AbsDimension x="32" y="32"/>
67 </Size>
68 <Anchors>
69 <Anchor point="TOPRIGHT"/>
70 </Anchors>
71 </Texture>
72 </Layer>
73 </Layers>
74 <Scripts>
75 <OnLoad>
76 this:SetBackdropBorderColor(1, 1, 1, 1);
77 this:SetBackdropColor(0.0,0.0,0.0,0);
78 </OnLoad>
79 <OnMouseDown>
80 IMBA_AnubRekhan:Hide();
81 </OnMouseDown>
82 </Scripts>
83 </Frame>
84  
85 </Frames>
86 <Scripts>
87 <OnLoad>
88 IMBA_AnubRekhan_OnLoad();
89 </OnLoad>
90 <OnEvent>
91 IMBA_AnubRekhan_OnEvent(event);
92 </OnEvent>
93 <OnMouseUp>
94 if ( this.isMoving ) then
95 this:StopMovingOrSizing();
96 this.isMoving = false;
97 end
98 </OnMouseUp>
99 <OnMouseDown>
100 if ( ( ( not this.isLocked ) or ( this.isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then
101 this:StartMoving();
102 this.isMoving = true;
103 end
104 </OnMouseDown>
105 <OnShow>
106 IMBA_AnubRekhan_RegisterEvents();
107 </OnShow>
108 <OnHide>
109 IMBA_AnubRekhan_UnregisterEvents();
110 if ( this.isMoving ) then
111 this:StopMovingOrSizing();
112 this.isMoving = false;
113 end
114 </OnHide>
115 </Scripts>
116 </Frame>
117 </Ui>