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="Perl_Config.lua"/>
4  
5  
6 <Frame name="Perl_Config_Frame" frameStrata="DIALOG" hidden="true" enableMouse="true">
7 <Scripts>
8 <OnEvent>
9 Perl_Config_OnEvent(event);
10 </OnEvent>
11 <OnLoad>
12 Perl_Config_OnLoad();
13 </OnLoad>
14 </Scripts>
15 <Size>
16 <AbsDimension x="600" y="500"/>
17 </Size>
18 <Anchors>
19 <Anchor point="CENTER"/>
20 </Anchors>
21 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
22 <TileSize>
23 <AbsValue val="32"/>
24 </TileSize>
25 <EdgeSize>
26 <AbsValue val="32"/>
27 </EdgeSize>
28 <BackgroundInsets>
29 <AbsInset left="11" right="12" top="12" bottom="11"/>
30 </BackgroundInsets>
31 </Backdrop>
32 <Layers>
33 <Layer level="ARTWORK">
34 <Texture name="Perl_Config_Header" file="Interface\DialogFrame\UI-DialogBox-Header">
35 <Size>
36 <AbsDimension x="256" y="64"/>
37 </Size>
38 <Anchors>
39 <Anchor point="TOP">
40 <Offset>
41 <AbsDimension x="0" y="12"/>
42 </Offset>
43 </Anchor>
44 </Anchors>
45 </Texture>
46 <FontString inherits="GameFontNormal" text="Perl Config">
47 <Anchors>
48 <Anchor point="TOP" relativeTo="Perl_Config_Header">
49 <Offset>
50 <AbsDimension x="0" y="-14"/>
51 </Offset>
52 </Anchor>
53 </Anchors>
54 </FontString>
55  
56 <FontString name="$parent_Title_Text" inherits="GameFontNormal" text="Perl Classic Unit Frames">
57 <Anchors>
58 <Anchor point="TOPLEFT">
59 <Offset>
60 <AbsDimension x="55" y="-15"/>
61 </Offset>
62 </Anchor>
63 </Anchors>
64 </FontString>
65  
66 <FontString name="$parent_Version_Text" inherits="GameFontNormal" text="Version 0.58">
67 <Anchors>
68 <Anchor point="TOPRIGHT">
69 <Offset>
70 <AbsDimension x="-90" y="-15"/>
71 </Offset>
72 </Anchor>
73 </Anchors>
74 </FontString>
75 </Layer>
76 </Layers>
77  
78 <Frames>
79 <Button name="Perl_Config_Close_Button" inherits="UIPanelButtonTemplate" text="Close">
80 <Size>
81 <AbsDimension x="80" y="22"/>
82 </Size>
83 <Anchors>
84 <Anchor point="BOTTOMRIGHT">
85 <Offset>
86 <AbsDimension x="-20" y="20"/>
87 </Offset>
88 </Anchor>
89 </Anchors>
90 <Scripts>
91 <OnClick>
92 Perl_Config_Toggle();
93 </OnClick>
94 </Scripts>
95 </Button>
96  
97 <Button name="Perl_Config_Close_X_Button" inherits="UIPanelCloseButton">
98 <Anchors>
99 <Anchor point="TOPRIGHT">
100 <Offset>
101 <AbsDimension x="-4" y="-4"/>
102 </Offset>
103 </Anchor>
104 </Anchors>
105 <Scripts>
106 <OnClick>
107 Perl_Config_Toggle();
108 </OnClick>
109 </Scripts>
110 </Button>
111  
112 <Button name="Perl_Config_All_Button" inherits="UIPanelButtonTemplate" text="All">
113 <Size>
114 <AbsDimension x="100" y="22"/>
115 </Size>
116 <Anchors>
117 <Anchor point="CENTER">
118 <Offset>
119 <AbsDimension x="0" y="215"/>
120 </Offset>
121 </Anchor>
122 </Anchors>
123 <Scripts>
124 <OnClick>
125 Perl_Config_All_Display();
126 </OnClick>
127 </Scripts>
128 </Button>
129  
130 <Button name="Perl_Config_ArcaneBar_Button" inherits="UIPanelButtonTemplate" text="ArcaneBar">
131 <Size>
132 <AbsDimension x="100" y="22"/>
133 </Size>
134 <Anchors>
135 <Anchor point="CENTER">
136 <Offset>
137 <AbsDimension x="-210" y="185"/>
138 </Offset>
139 </Anchor>
140 </Anchors>
141 <Scripts>
142 <OnClick>
143 Perl_Config_ArcaneBar_Display();
144 </OnClick>
145 </Scripts>
146 </Button>
147  
148 <Button name="Perl_Config_CombatDisplay_Button" inherits="UIPanelButtonTemplate" text="CombatDisplay">
149 <Size>
150 <AbsDimension x="100" y="22"/>
151 </Size>
152 <Anchors>
153 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="Perl_Config_ArcaneBar_Button">
154 <Offset>
155 <AbsDimension x="5" y="0"/>
156 </Offset>
157 </Anchor>
158 </Anchors>
159 <Scripts>
160 <OnClick>
161 Perl_Config_CombatDisplay_Display();
162 </OnClick>
163 </Scripts>
164 </Button>
165  
166 <Button name="Perl_Config_Party_Button" inherits="UIPanelButtonTemplate" text="Party">
167 <Size>
168 <AbsDimension x="100" y="22"/>
169 </Size>
170 <Anchors>
171 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="Perl_Config_CombatDisplay_Button">
172 <Offset>
173 <AbsDimension x="5" y="0"/>
174 </Offset>
175 </Anchor>
176 </Anchors>
177 <Scripts>
178 <OnClick>
179 Perl_Config_Party_Display();
180 </OnClick>
181 </Scripts>
182 </Button>
183  
184 <Button name="Perl_Config_Party_Pet_Button" inherits="UIPanelButtonTemplate" text="Party Pet">
185 <Size>
186 <AbsDimension x="100" y="22"/>
187 </Size>
188 <Anchors>
189 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="Perl_Config_Party_Button">
190 <Offset>
191 <AbsDimension x="5" y="0"/>
192 </Offset>
193 </Anchor>
194 </Anchors>
195 <Scripts>
196 <OnClick>
197 Perl_Config_Party_Pet_Display();
198 </OnClick>
199 </Scripts>
200 </Button>
201  
202 <Button name="Perl_Config_Player_Button" inherits="UIPanelButtonTemplate" text="Player">
203 <Size>
204 <AbsDimension x="100" y="22"/>
205 </Size>
206 <Anchors>
207 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="Perl_Config_Party_Pet_Button">
208 <Offset>
209 <AbsDimension x="5" y="0"/>
210 </Offset>
211 </Anchor>
212 </Anchors>
213 <Scripts>
214 <OnClick>
215 Perl_Config_Player_Display();
216 </OnClick>
217 </Scripts>
218 </Button>
219  
220 <Button name="Perl_Config_Player_Buff_Button" inherits="UIPanelButtonTemplate" text="Player Buff">
221 <Size>
222 <AbsDimension x="100" y="22"/>
223 </Size>
224 <Anchors>
225 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="Perl_Config_ArcaneBar_Button">
226 <Offset>
227 <AbsDimension x="0" y="-5"/>
228 </Offset>
229 </Anchor>
230 </Anchors>
231 <Scripts>
232 <OnClick>
233 Perl_Config_Player_Buff_Display();
234 </OnClick>
235 </Scripts>
236 </Button>
237  
238 <Button name="Perl_Config_Player_Pet_Button" inherits="UIPanelButtonTemplate" text="Player Pet">
239 <Size>
240 <AbsDimension x="100" y="22"/>
241 </Size>
242 <Anchors>
243 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="Perl_Config_Player_Buff_Button">
244 <Offset>
245 <AbsDimension x="5" y="0"/>
246 </Offset>
247 </Anchor>
248 </Anchors>
249 <Scripts>
250 <OnClick>
251 Perl_Config_Player_Pet_Display();
252 </OnClick>
253 </Scripts>
254 </Button>
255  
256 <Button name="Perl_Config_Raid_Button" inherits="UIPanelButtonTemplate" text="Raid">
257 <Size>
258 <AbsDimension x="100" y="22"/>
259 </Size>
260 <Anchors>
261 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="Perl_Config_Player_Pet_Button">
262 <Offset>
263 <AbsDimension x="5" y="0"/>
264 </Offset>
265 </Anchor>
266 </Anchors>
267 <Scripts>
268 <OnClick>
269 Perl_Config_Raid_Display();
270 </OnClick>
271 </Scripts>
272 </Button>
273  
274 <Button name="Perl_Config_Target_Button" inherits="UIPanelButtonTemplate" text="Target">
275 <Size>
276 <AbsDimension x="100" y="22"/>
277 </Size>
278 <Anchors>
279 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="Perl_Config_Raid_Button">
280 <Offset>
281 <AbsDimension x="5" y="0"/>
282 </Offset>
283 </Anchor>
284 </Anchors>
285 <Scripts>
286 <OnClick>
287 Perl_Config_Target_Display();
288 </OnClick>
289 </Scripts>
290 </Button>
291  
292 <Button name="Perl_Config_Target_Target_Button" inherits="UIPanelButtonTemplate" text="Target Target">
293 <Size>
294 <AbsDimension x="100" y="22"/>
295 </Size>
296 <Anchors>
297 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="Perl_Config_Target_Button">
298 <Offset>
299 <AbsDimension x="5" y="0"/>
300 </Offset>
301 </Anchor>
302 </Anchors>
303 <Scripts>
304 <OnClick>
305 Perl_Config_Target_Target_Display();
306 </OnClick>
307 </Scripts>
308 </Button>
309 </Frames>
310 </Frame>
311  
312  
313 <Frame name="Perl_Config_NotInstalled_Frame" frameStrata="DIALOG" hidden="true" enableMouse="true">
314 <Size>
315 <AbsDimension x="600" y="380"/>
316 </Size>
317 <Anchors>
318 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="Perl_Config_Frame">
319 <Offset>
320 <AbsDimension x="0" y="-120"/>
321 </Offset>
322 </Anchor>
323 </Anchors>
324 <Layers>
325 <Layer level="ARTWORK">
326 <Texture name="Perl_Config_NotInstalled_Header" file="Interface\DialogFrame\UI-DialogBox-Header">
327 <Size>
328 <AbsDimension x="256" y="64"/>
329 </Size>
330 <Anchors>
331 <Anchor point="TOP">
332 <Offset>
333 <AbsDimension x="0" y="12"/>
334 </Offset>
335 </Anchor>
336 </Anchors>
337 </Texture>
338 <FontString inherits="GameFontNormal" text="Not Installed">
339 <Anchors>
340 <Anchor point="TOP" relativeTo="Perl_Config_NotInstalled_Header">
341 <Offset>
342 <AbsDimension x="0" y="-14"/>
343 </Offset>
344 </Anchor>
345 </Anchors>
346 </FontString>
347  
348 <FontString inherits="GameFontNormal" text="The requested mod is not installed or enabled.">
349 <Anchors>
350 <Anchor point="TOP" relativeTo="Perl_Config_NotInstalled_Header">
351 <Offset>
352 <AbsDimension x="0" y="-80"/>
353 </Offset>
354 </Anchor>
355 </Anchors>
356 </FontString>
357 </Layer>
358 </Layers>
359  
360 <Frames>
361 <Button name="Perl_Config_Close_Button" inherits="UIPanelButtonTemplate" text="Close">
362 <Size>
363 <AbsDimension x="80" y="22"/>
364 </Size>
365 <Anchors>
366 <Anchor point="BOTTOMRIGHT">
367 <Offset>
368 <AbsDimension x="-20" y="20"/>
369 </Offset>
370 </Anchor>
371 </Anchors>
372 <Scripts>
373 <OnClick>
374 Perl_Config_Toggle();
375 </OnClick>
376 </Scripts>
377 </Button>
378 </Frames>
379 </Frame>
380  
381  
382 <Frame name="Perl_Config_ButtonFrame" parent="Minimap" enableMouse="true" hidden="false" frameStrata="LOW">
383 <Size>
384 <AbsDimension x="32" y="32"/>
385 </Size>
386 <Anchors>
387 <Anchor point="TOPLEFT" relativeTo="Minimap" relativePoint="RIGHT">
388 <Offset>
389 <AbsDimension x="2" y="0"/>
390 </Offset>
391 </Anchor>
392 </Anchors>
393 <Frames>
394 <Button name="PerlButton">
395 <Size>
396 <AbsDimension x="32" y="32"/>
397 </Size>
398 <Anchors>
399 <Anchor point="TOPLEFT">
400 <Offset>
401 <AbsDimension x="0" y="0"/>
402 </Offset>
403 </Anchor>
404 </Anchors>
405 <NormalTexture file="Interface\AddOns\Perl_Config\Perl_Minimap_Button"/>
406 <HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
407 <Scripts>
408 <OnClick>
409 Perl_Config_Button_OnClick();
410 </OnClick>
411 <OnEnter>
412 GameTooltip:SetOwner(this, "ANCHOR_LEFT");
413 GameTooltip:SetText("Perl Options");
414 </OnEnter>
415 <OnLeave>
416 GameTooltip:Hide();
417 </OnLeave>
418 </Scripts>
419 </Button>
420 </Frames>
421 </Frame>
422  
423 </Ui>