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