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