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="AggroAlert.lua"/>
4  
5  
6 <Frame name="AggroAlertCore">
7 <Scripts>
8 <OnLoad>
9 AggroAlert_OnLoad();
10 </OnLoad>
11 <OnEvent>
12 AggroAlert_OnEvent(event, arg1, arg2, arg3);
13 </OnEvent>
14 </Scripts>
15 </Frame>
16  
17 <FontString name="AggroAlertFont" font="Fonts\ARIALN.TTF" outline="NORMAL" virtual="true">
18 <FontHeight>
19 <AbsValue val="30"/>
20 </FontHeight>
21 <Color r="1" g="0.2" b="0"/>
22 </FontString>
23  
24 <Frame name="AggroAlert_Frame" toplevel="true" enableMouse="true" movable = "true" parent="UIParent" hidden="true">
25 <Size>
26 <AbsDimension x="240" y="23"/>
27 </Size>
28 <Anchors>
29 <Anchor point="LEFT">
30 </Anchor>
31 </Anchors>
32  
33 <TitleRegion/>
34 <Backdrop name="AggroAlert_Backdrop" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
35 <EdgeSize>
36 <AbsValue val="16"/>
37 </EdgeSize>
38 <BackgroundInsets>
39 <AbsInset left="5" right="5" top="5" bottom="5"/>
40 </BackgroundInsets>
41 </Backdrop>
42  
43 <Layers>
44 <Layer level="ARTWORK">
45 <FontString name="AggroAlert_Text" inherits="GameFontNormal" text="Sathanas">
46 <Anchors>
47 <Anchor point="LEFT" relativeTo="AggroAlert_Frame" relativePoint="LEFT">
48 <Offset>
49 <AbsDimension x="15" y="0"/>
50 </Offset>
51 </Anchor>
52 </Anchors>
53 </FontString>
54  
55 </Layer>
56  
57 <Layer level="ARTWORK">
58 <Texture name="AggroAlert_Bubble" file="Interface\Minimap\MiniMap-TrackingBorder" hidden="true">
59 <Size>
60 <AbsDimension x="55" y="55"/>
61 </Size>
62 <Anchors>
63 <Anchor point="CENTER" relativeTo="AggroAlert_Frame" relativePoint="LEFT">
64 <Offset>
65 <AbsDimension x="4" y="-12"/>
66 </Offset>
67 </Anchor>
68 </Anchors>
69 </Texture>
70 </Layer>
71  
72 <Layer level="OVERLAY">
73 <Texture name="AggroAlert_Skull" file="Interface\TargetingFrame\UI-TargetingFrame-Skull" hidden="true">
74 <Size>
75 <AbsDimension x="24" y="24"/>
76 </Size>
77 <Anchors>
78 <Anchor point="CENTER" relativeTo="AggroAlert_Bubble" relativePoint="CENTER">
79 <Offset>
80 <AbsDimension x="-10" y="10"/>
81 </Offset>
82 </Anchor>
83 </Anchors>
84 </Texture>
85 </Layer>
86  
87 <Layer level="OVERLAY">
88 <Texture name="AggroAlert_Swords" file="Interface\CharacterFrame\UI-StateIcon" alphamode="ADD" hidden="true">
89 <Size>
90 <AbsDimension x="32" y="32"/>
91 </Size>
92 <Anchors>
93 <Anchor point="CENTER" relativeTo="AggroAlert_Bubble" relativePoint="CENTER">
94 <Offset>
95 <AbsDimension x="-10" y="10"/>
96 </Offset>
97 </Anchor>
98 </Anchors>
99 <TexCoords left="0.5" right="1.0" top="0" bottom="0.5"/>
100 </Texture>
101 </Layer>
102 </Layers>
103  
104 <Frames>
105 </Frames>
106  
107 <Scripts>
108 <OnMouseDown>
109 if(arg1 == "LeftButton") and (IsShiftKeyDown()) then
110 this:StartMoving();
111 elseif (arg1 == "LeftButton") then
112 AggroAlert_TargetUnit();
113 end
114 </OnMouseDown>
115  
116 <OnMouseUp>
117 if(arg1 == "LeftButton") then
118 this:StopMovingOrSizing();
119 end
120 </OnMouseUp>
121 </Scripts>
122 </Frame>
123  
124 <Frame name="AggroAlert_BarFrame" parent="AggroAlert_Frame" frameStrata="LOW">
125 <Size>
126 <AbsDimension x="300" y="16"/>
127 </Size>
128 <Anchors>
129 <Anchor point="TOPLEFT" relativeTo="AggroAlert_Frame" relativePoint="TOPLEFT"/>
130 </Anchors>
131 <Frames>
132 <StatusBar name="AggroAlert_Bar" minValue="0" maxValue="100" defaultValue="100">
133 <Size>
134 <AbsDimension x="50" y="16"/>
135 </Size>
136 <Anchors>
137 <Anchor point="TOPLEFT" relativeTo="AggroAlert_Frame" relativePoint="TOPLEFT">
138 <Offset>
139 <AbsDimension x="3" y="-3"/>
140 </Offset>
141 </Anchor>
142 </Anchors>
143 <BarTexture file="Interface\TargetingFrame\UI-StatusBar"/>
144 <BarColor r="0.0" g="1" b="0.0"/>
145 </StatusBar>
146 </Frames>
147 </Frame>
148  
149 <Frame name="AggroAlert_BigWarning" toplevel="true" parent="UIParent" hidden="false">
150 <Size>
151 <AbsDimension x="512" y="128"/>
152 </Size>
153 <Anchors>
154 <Anchor point="CENTER" >
155 <Offset>
156 <AbsDimension x="0" y="284"/>
157 </Offset>
158 </Anchor>
159 </Anchors>
160  
161 <Layers>
162 <Layer level="ARTWORK">
163 <FontString name="AggroAlert_BigWarning_Text" inherits="AggroAlertFont" text="Alexisa smells like cats!">
164 <Size>
165 <AbsDimension x="512" y="128"/>
166 </Size>
167 <Anchors>
168 <Anchor point="CENTER" relativeTo="AggroAlert_BigWarning" relativePoint="Center"/>
169 </Anchors>
170 </FontString>
171 </Layer>
172 </Layers>
173 <Scripts>
174 <OnLoad>
175 AggroAlertFadingFrame_OnLoad();
176 </OnLoad>
177 <OnUpdate>
178 AggroAlertFadingFrame_OnUpdate();
179 </OnUpdate>
180 </Scripts>
181 </Frame>
182  
183 </Ui>