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_Thaddius2.lua"/>
4  
5 <Frame name="IMBA_Thaddius2" parent="UIParent" enableMouse="true" movable="true" hidden="true" frameStrata="HIGH">
6 <Size>
7 <AbsDimension x="200" y="97"/>
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="0" y="-8"/>
29 </Offset>
30 </Anchor>
31 </Anchors>
32 </Frame>
33 <StatusBar name="$parent_TimerPolarity" inherits="IMBA_BarTimerTemplate">
34 <Anchors>
35 <Anchor point="TOP" relativeTo="$parent_Title" relativePoint="BOTTOM">
36 <Offset>
37 <AbsDimension x="0" y="-4"/>
38 </Offset>
39 </Anchor>
40 </Anchors>
41 </StatusBar>
42 <StatusBar name="$parent_TimerEnrage" inherits="IMBA_BarTimerTemplate">
43 <Anchors>
44 <Anchor point="TOP" relativeTo="$parent_TimerPolarity" relativePoint="BOTTOM">
45 <Offset>
46 <AbsDimension x="0" y="-4"/>
47 </Offset>
48 </Anchor>
49 </Anchors>
50 </StatusBar>
51 <StatusBar name="$parent_HealthThaddius" inherits="IMBA_NameHealthTemplate">
52 <Anchors>
53 <Anchor point="TOP" relativeTo="$parent_TimerEnrage" relativePoint="BOTTOM">
54 <Offset>
55 <AbsDimension x="0" y="-4"/>
56 </Offset>
57 </Anchor>
58 </Anchors>
59 </StatusBar>
60 <Frame name="$parent_Close" enableMouse="true">
61 <Size>
62 <AbsDimension x="24" y="24"/>
63 </Size>
64 <Anchors>
65 <Anchor point="TOPRIGHT">
66 <Offset>
67 <AbsDimension x="0" y="0"/>
68 </Offset>
69 </Anchor>
70 </Anchors>
71 <Layers>
72 <Layer level="OVERLAY">
73 <Texture name="$parent_Image" file="Interface\AddOns\IMBA\textures\close.blp">
74 <Size>
75 <AbsDimension x="32" y="32"/>
76 </Size>
77 <Anchors>
78 <Anchor point="TOPRIGHT"/>
79 </Anchors>
80 </Texture>
81 </Layer>
82 </Layers>
83 <Scripts>
84 <OnLoad>
85 this:SetBackdropBorderColor(1, 1, 1, 1);
86 this:SetBackdropColor(0.0,0.0,0.0,0);
87 </OnLoad>
88 <OnMouseDown>
89 IMBA_Thaddius2:Hide();
90 </OnMouseDown>
91 </Scripts>
92 </Frame>
93  
94 </Frames>
95 <Scripts>
96 <OnLoad>
97 IMBA_Thaddius2_OnLoad();
98 </OnLoad>
99 <OnEvent>
100 IMBA_Thaddius2_OnEvent(event);
101 </OnEvent>
102 <OnUpdate>
103 IMBA_Thaddius2_OnUpdate();
104 </OnUpdate>
105 <OnMouseUp>
106 if ( this.isMoving ) then
107 this:StopMovingOrSizing();
108 this.isMoving = false;
109 end
110 </OnMouseUp>
111 <OnMouseDown>
112 if ( ( ( not this.isLocked ) or ( this.isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then
113 this:StartMoving();
114 this.isMoving = true;
115 end
116 </OnMouseDown>
117 <OnShow>
118 IMBA_Thaddius2_RegisterEvents();
119 </OnShow>
120 <OnHide>
121 IMBA_Thaddius2_UnregisterEvents();
122 if ( this.isMoving ) then
123 this:StopMovingOrSizing();
124 this.isMoving = false;
125 end
126 </OnHide>
127 </Scripts>
128 </Frame>
129 </Ui>