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_Party_Pet.lua"/>
4  
5  
6 <Frame name="Perl_Config_Party_Pet_Frame" frameStrata="DIALOG" hidden="true" enableMouse="true">
7 <Size>
8 <AbsDimension x="600" y="380"/>
9 </Size>
10 <Anchors>
11 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="Perl_Config_Frame">
12 <Offset>
13 <AbsDimension x="0" y="-120"/>
14 </Offset>
15 </Anchor>
16 </Anchors>
17 <Layers>
18 <Layer level="ARTWORK">
19 <Texture name="Perl_Config_Party_Pet_Header" file="Interface\DialogFrame\UI-DialogBox-Header">
20 <Size>
21 <AbsDimension x="256" y="64"/>
22 </Size>
23 <Anchors>
24 <Anchor point="TOP">
25 <Offset>
26 <AbsDimension x="0" y="12"/>
27 </Offset>
28 </Anchor>
29 </Anchors>
30 </Texture>
31 <FontString inherits="GameFontNormal" text="Party Pet">
32 <Anchors>
33 <Anchor point="TOP" relativeTo="Perl_Config_Party_Pet_Header">
34 <Offset>
35 <AbsDimension x="0" y="-14"/>
36 </Offset>
37 </Anchor>
38 </Anchors>
39 </FontString>
40  
41 <FontString name="$parent_Buff_Location_Text" inherits="GameFontNormal" text="Buff Location">
42 <Anchors>
43 <Anchor point="LEFT" relativePoint="TOPLEFT">
44 <Offset>
45 <AbsDimension x="400" y="-90"/>
46 </Offset>
47 </Anchor>
48 </Anchors>
49 </FontString>
50  
51 <FontString name="$parent_Debuff_Location_Text" inherits="GameFontNormal" text="Debuff Location">
52 <Anchors>
53 <Anchor point="LEFT" relativePoint="TOPLEFT">
54 <Offset>
55 <AbsDimension x="400" y="-150"/>
56 </Offset>
57 </Anchor>
58 </Anchors>
59 </FontString>
60  
61 <FontString name="$parent_Buff_Size_Text" inherits="GameFontNormal" text="Buff Size (12 is default)">
62 <Anchors>
63 <Anchor point="LEFT" relativePoint="TOPLEFT">
64 <Offset>
65 <AbsDimension x="400" y="-210"/>
66 </Offset>
67 </Anchor>
68 </Anchors>
69 </FontString>
70  
71 <FontString name="$parent_Debuff_Size_Text" inherits="GameFontNormal" text="Debuff Size (12 is default)">
72 <Anchors>
73 <Anchor point="LEFT" relativePoint="TOPLEFT">
74 <Offset>
75 <AbsDimension x="400" y="-270"/>
76 </Offset>
77 </Anchor>
78 </Anchors>
79 </FontString>
80  
81 <FontString name="$parent_Buff_Text" inherits="GameFontNormal" text="# of Buffs">
82 <Anchors>
83 <Anchor point="LEFT" relativePoint="TOPLEFT">
84 <Offset>
85 <AbsDimension x="200" y="-210"/>
86 </Offset>
87 </Anchor>
88 </Anchors>
89 </FontString>
90  
91 <FontString name="$parent_Debuff_Text" inherits="GameFontNormal" text="# of Debuffs">
92 <Anchors>
93 <Anchor point="LEFT" relativePoint="TOPLEFT">
94 <Offset>
95 <AbsDimension x="200" y="-270"/>
96 </Offset>
97 </Anchor>
98 </Anchors>
99 </FontString>
100  
101 <FontString name="$parent_Misc_Text" inherits="GameFontNormal" text="Misc">
102 <Anchors>
103 <Anchor point="LEFT" relativePoint="TOPLEFT">
104 <Offset>
105 <AbsDimension x="20" y="-30"/>
106 </Offset>
107 </Anchor>
108 </Anchors>
109 </FontString>
110  
111 <FontString name="$parent_Transparency_Text" inherits="GameFontNormal" text="Transparency">
112 <Anchors>
113 <Anchor point="LEFT" relativePoint="TOPLEFT">
114 <Offset>
115 <AbsDimension x="350" y="-30"/>
116 </Offset>
117 </Anchor>
118 </Anchors>
119 </FontString>
120  
121 <FontString name="$parent_Scaling_Text" inherits="GameFontNormal" text="Scaling">
122 <Anchors>
123 <Anchor point="LEFT" relativePoint="TOPLEFT">
124 <Offset>
125 <AbsDimension x="20" y="-325"/>
126 </Offset>
127 </Anchor>
128 </Anchors>
129 </FontString>
130 </Layer>
131 </Layers>
132  
133 <Frames>
134 <Slider name="$parent_Slider1" inherits="OptionsSliderTemplate" minValue="1" maxValue="149" valueStep="1">
135 <Size>
136 <AbsDimension x="200" y="15"/>
137 </Size>
138 <Anchors>
139 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Scaling_Text">
140 <Offset>
141 <AbsDimension x="20" y="-20"/>
142 </Offset>
143 </Anchor>
144 </Anchors>
145 <Scripts>
146 <OnValueChanged>
147 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
148 Perl_Config_Party_Pet_Set_Scale(getglobal(this:GetName()):GetValue());
149 </OnValueChanged>
150 </Scripts>
151 </Slider>
152  
153 <CheckButton name="$parent_CheckButton1" inherits="UICheckButtonTemplate" id="1">
154 <Size>
155 <AbsDimension x="20" y="20"/>
156 </Size>
157 <Anchors>
158 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parent_Slider1">
159 <Offset>
160 <AbsDimension x="20" y="0"/>
161 </Offset>
162 </Anchor>
163 </Anchors>
164 <Scripts>
165 <OnLoad>
166 getglobal(this:GetName().."Text"):SetText("Set To Current UI Scale");
167 </OnLoad>
168 <OnClick>
169 Perl_Config_Party_Pet_Set_Scale();
170 </OnClick>
171 </Scripts>
172 </CheckButton>
173  
174 <Slider name="$parent_Slider2" inherits="OptionsSliderTemplate" minValue="0" maxValue="100" valueStep="1">
175 <Size>
176 <AbsDimension x="200" y="15"/>
177 </Size>
178 <Anchors>
179 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Transparency_Text">
180 <Offset>
181 <AbsDimension x="20" y="-20"/>
182 </Offset>
183 </Anchor>
184 </Anchors>
185 <Scripts>
186 <OnValueChanged>
187 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
188 Perl_Config_Party_Pet_Set_Transparency(getglobal(this:GetName()):GetValue());
189 </OnValueChanged>
190 </Scripts>
191 </Slider>
192  
193 <Slider name="$parent_Slider3" inherits="OptionsSliderTemplate" minValue="0" maxValue="16" valueStep="1">
194 <Size>
195 <AbsDimension x="150" y="15"/>
196 </Size>
197 <Anchors>
198 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Buff_Text">
199 <Offset>
200 <AbsDimension x="20" y="-25"/>
201 </Offset>
202 </Anchor>
203 </Anchors>
204 <Scripts>
205 <OnValueChanged>
206 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
207 Perl_Config_Party_Pet_Set_Buffs(getglobal(this:GetName()):GetValue());
208 </OnValueChanged>
209 </Scripts>
210 </Slider>
211  
212 <Slider name="$parent_Slider4" inherits="OptionsSliderTemplate" minValue="0" maxValue="16" valueStep="1">
213 <Size>
214 <AbsDimension x="150" y="15"/>
215 </Size>
216 <Anchors>
217 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Debuff_Text">
218 <Offset>
219 <AbsDimension x="20" y="-25"/>
220 </Offset>
221 </Anchor>
222 </Anchors>
223 <Scripts>
224 <OnValueChanged>
225 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
226 Perl_Config_Party_Pet_Set_Debuffs(getglobal(this:GetName()):GetValue());
227 </OnValueChanged>
228 </Scripts>
229 </Slider>
230  
231 <Slider name="$parent_Slider5" inherits="OptionsSliderTemplate" minValue="1" maxValue="50" valueStep="1">
232 <Size>
233 <AbsDimension x="150" y="15"/>
234 </Size>
235 <Anchors>
236 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Buff_Size_Text">
237 <Offset>
238 <AbsDimension x="20" y="-25"/>
239 </Offset>
240 </Anchor>
241 </Anchors>
242 <Scripts>
243 <OnValueChanged>
244 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
245 Perl_Config_Party_Pet_Set_Buff_Size(getglobal(this:GetName()):GetValue());
246 </OnValueChanged>
247 </Scripts>
248 </Slider>
249  
250 <Slider name="$parent_Slider6" inherits="OptionsSliderTemplate" minValue="1" maxValue="50" valueStep="1">
251 <Size>
252 <AbsDimension x="150" y="15"/>
253 </Size>
254 <Anchors>
255 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Debuff_Size_Text">
256 <Offset>
257 <AbsDimension x="20" y="-25"/>
258 </Offset>
259 </Anchor>
260 </Anchors>
261 <Scripts>
262 <OnValueChanged>
263 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
264 Perl_Config_Party_Pet_Set_Debuff_Size(getglobal(this:GetName()):GetValue());
265 </OnValueChanged>
266 </Scripts>
267 </Slider>
268  
269 <Slider name="$parent_Slider7" inherits="OptionsSliderTemplate" minValue="1" maxValue="5" valueStep="1">
270 <Size>
271 <AbsDimension x="150" y="15"/>
272 </Size>
273 <Anchors>
274 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Buff_Location_Text">
275 <Offset>
276 <AbsDimension x="20" y="-25"/>
277 </Offset>
278 </Anchor>
279 </Anchors>
280 <Scripts>
281 <OnValueChanged>
282 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
283 Perl_Config_Party_Pet_Set_Buff_Location(getglobal(this:GetName()):GetValue());
284 </OnValueChanged>
285 </Scripts>
286 </Slider>
287  
288 <Slider name="$parent_Slider8" inherits="OptionsSliderTemplate" minValue="1" maxValue="5" valueStep="1">
289 <Size>
290 <AbsDimension x="150" y="15"/>
291 </Size>
292 <Anchors>
293 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Debuff_Location_Text">
294 <Offset>
295 <AbsDimension x="20" y="-25"/>
296 </Offset>
297 </Anchor>
298 </Anchors>
299 <Scripts>
300 <OnValueChanged>
301 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
302 Perl_Config_Party_Pet_Set_Debuff_Location(getglobal(this:GetName()):GetValue());
303 </OnValueChanged>
304 </Scripts>
305 </Slider>
306  
307 <Button name="$parent_Button1" inherits="UIPanelButtonTemplate" text="Reset Frame Positions">
308 <Size>
309 <AbsDimension x="170" y="22"/>
310 </Size>
311 <Anchors>
312 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Misc_Text">
313 <Offset>
314 <AbsDimension x="175" y="-50"/>
315 </Offset>
316 </Anchor>
317 </Anchors>
318 <Scripts>
319 <OnClick>
320 Perl_Party_Pet_Allign();
321 DEFAULT_CHAT_FRAME:AddMessage("|cffffff00Perl Classic Unit Frames: Party_Pet Frame Positions have been reset.");
322 </OnClick>
323 </Scripts>
324 </Button>
325  
326 <CheckButton name="$parent_CheckButton2" inherits="UICheckButtonTemplate" id="2">
327 <Size>
328 <AbsDimension x="20" y="20"/>
329 </Size>
330 <Anchors>
331 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Misc_Text">
332 <Offset>
333 <AbsDimension x="20" y="-20"/>
334 </Offset>
335 </Anchor>
336 </Anchors>
337 <Scripts>
338 <OnLoad>
339 getglobal(this:GetName().."Text"):SetText("Display Portrait Frames");
340 </OnLoad>
341 <OnClick>
342 Perl_Config_Party_Pet_Portrait_Update();
343 </OnClick>
344 </Scripts>
345 </CheckButton>
346  
347 <CheckButton name="$parent_CheckButton3" inherits="UICheckButtonTemplate" id="3">
348 <Size>
349 <AbsDimension x="20" y="20"/>
350 </Size>
351 <Anchors>
352 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton2">
353 <Offset>
354 <AbsDimension x="20" y="-20"/>
355 </Offset>
356 </Anchor>
357 </Anchors>
358 <Scripts>
359 <OnLoad>
360 getglobal(this:GetName().."Text"):SetText("3D Portrait Frames");
361 </OnLoad>
362 <OnClick>
363 Perl_Config_Party_Pet_3D_Portrait_Update();
364 </OnClick>
365 </Scripts>
366 </CheckButton>
367  
368 <CheckButton name="$parent_CheckButton5" inherits="UICheckButtonTemplate" id="5">
369 <Size>
370 <AbsDimension x="20" y="20"/>
371 </Size>
372 <Anchors>
373 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton3">
374 <Offset>
375 <AbsDimension x="-20" y="-20"/>
376 </Offset>
377 </Anchor>
378 </Anchors>
379 <Scripts>
380 <OnLoad>
381 getglobal(this:GetName().."Text"):SetText("Hidden In Raids");
382 </OnLoad>
383 <OnClick>
384 Perl_Config_Party_Pet_Hidden_Update();
385 </OnClick>
386 </Scripts>
387 </CheckButton>
388  
389 <CheckButton name="$parent_CheckButton4" inherits="UICheckButtonTemplate" id="4">
390 <Size>
391 <AbsDimension x="20" y="20"/>
392 </Size>
393 <Anchors>
394 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton5">
395 <Offset>
396 <AbsDimension x="0" y="-20"/>
397 </Offset>
398 </Anchor>
399 </Anchors>
400 <Scripts>
401 <OnLoad>
402 getglobal(this:GetName().."Text"):SetText("Lock Party_Pet Frames");
403 </OnLoad>
404 <OnClick>
405 Perl_Config_Party_Pet_Lock_Update();
406 </OnClick>
407 </Scripts>
408 </CheckButton>
409 </Frames>
410  
411 </Frame>
412 </Ui>