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_Player_Pet.lua"/>
4  
5  
6 <Frame name="Perl_Config_Player_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_Player_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="PERL_LOCALIZED_CONFIG_PLAYERPET">
32 <Anchors>
33 <Anchor point="TOP" relativeTo="Perl_Config_Player_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="PERL_LOCALIZED_CONFIG_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="PERL_LOCALIZED_CONFIG_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="PERL_LOCALIZED_CONFIG_BUFF_SIZE_SMALL">
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="PERL_LOCALIZED_CONFIG_DEBUFF_SIZE_SMALL">
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="PERL_LOCALIZED_CONFIG_BUFF_NUMBER">
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="PERL_LOCALIZED_CONFIG_DEBUFF_NUMBER">
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="PERL_LOCALIZED_CONFIG_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="PERL_LOCALIZED_CONFIG_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="PERL_LOCALIZED_CONFIG_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 <CheckButton name="$parent_CheckButton1" inherits="UICheckButtonTemplate" id="1">
135 <Size>
136 <AbsDimension x="20" y="20"/>
137 </Size>
138 <Anchors>
139 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Misc_Text">
140 <Offset>
141 <AbsDimension x="20" y="-20"/>
142 </Offset>
143 </Anchor>
144 </Anchors>
145 <Scripts>
146 <OnLoad>
147 getglobal(this:GetName().."Text"):SetText(PERL_LOCALIZED_CONFIG_PLAYERPET_EXPERIENCE);
148 </OnLoad>
149 <OnClick>
150 Perl_Config_Player_Pet_ShowXP_Update();
151 </OnClick>
152 </Scripts>
153 </CheckButton>
154  
155 <CheckButton name="$parent_CheckButton8" inherits="UICheckButtonTemplate" id="8">
156 <Size>
157 <AbsDimension x="20" y="20"/>
158 </Size>
159 <Anchors>
160 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton1">
161 <Offset>
162 <AbsDimension x="0" y="-20"/>
163 </Offset>
164 </Anchor>
165 </Anchors>
166 <Scripts>
167 <OnLoad>
168 getglobal(this:GetName().."Text"):SetText(PERL_LOCALIZED_CONFIG_COMPACT);
169 </OnLoad>
170 <OnClick>
171 Perl_Config_Player_Pet_Compact_Mode_Update();
172 </OnClick>
173 </Scripts>
174 </CheckButton>
175  
176 <CheckButton name="$parent_CheckButton9" inherits="UICheckButtonTemplate" id="9">
177 <Size>
178 <AbsDimension x="20" y="20"/>
179 </Size>
180 <Anchors>
181 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton8">
182 <Offset>
183 <AbsDimension x="0" y="-20"/>
184 </Offset>
185 </Anchor>
186 </Anchors>
187 <Scripts>
188 <OnLoad>
189 getglobal(this:GetName().."Text"):SetText(PERL_LOCALIZED_CONFIG_PLAYERPET_HIDENAME);
190 </OnLoad>
191 <OnClick>
192 Perl_Config_Player_Pet_Hide_Name_Update();
193 </OnClick>
194 </Scripts>
195 </CheckButton>
196  
197 <CheckButton name="$parent_CheckButton5" inherits="UICheckButtonTemplate" id="5">
198 <Size>
199 <AbsDimension x="20" y="20"/>
200 </Size>
201 <Anchors>
202 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton9">
203 <Offset>
204 <AbsDimension x="0" y="-20"/>
205 </Offset>
206 </Anchor>
207 </Anchors>
208 <Scripts>
209 <OnLoad>
210 getglobal(this:GetName().."Text"):SetText(PERL_LOCALIZED_CONFIG_PORTRAITS);
211 </OnLoad>
212 <OnClick>
213 Perl_Config_Player_Pet_Portrait_Update();
214 </OnClick>
215 </Scripts>
216 </CheckButton>
217  
218 <CheckButton name="$parent_CheckButton6" inherits="UICheckButtonTemplate" id="6">
219 <Size>
220 <AbsDimension x="20" y="20"/>
221 </Size>
222 <Anchors>
223 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton5">
224 <Offset>
225 <AbsDimension x="20" y="-20"/>
226 </Offset>
227 </Anchor>
228 </Anchors>
229 <Scripts>
230 <OnLoad>
231 getglobal(this:GetName().."Text"):SetText(PERL_LOCALIZED_CONFIG_THREED_PORTRAITS);
232 </OnLoad>
233 <OnClick>
234 Perl_Config_Player_Pet_3D_Portrait_Update();
235 </OnClick>
236 </Scripts>
237 </CheckButton>
238  
239 <CheckButton name="$parent_CheckButton7" inherits="UICheckButtonTemplate" id="7">
240 <Size>
241 <AbsDimension x="20" y="20"/>
242 </Size>
243 <Anchors>
244 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton6">
245 <Offset>
246 <AbsDimension x="-20" y="-20"/>
247 </Offset>
248 </Anchor>
249 </Anchors>
250 <Scripts>
251 <OnLoad>
252 getglobal(this:GetName().."Text"):SetText(PERL_LOCALIZED_CONFIG_COMBAT_TEXT);
253 </OnLoad>
254 <OnClick>
255 Perl_Config_Player_Pet_Portrait_Combat_Text_Update();
256 </OnClick>
257 </Scripts>
258 </CheckButton>
259  
260 <CheckButton name="$parent_CheckButton3" inherits="UICheckButtonTemplate" id="3">
261 <Size>
262 <AbsDimension x="20" y="20"/>
263 </Size>
264 <Anchors>
265 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton7">
266 <Offset>
267 <AbsDimension x="0" y="-20"/>
268 </Offset>
269 </Anchor>
270 </Anchors>
271 <Scripts>
272 <OnLoad>
273 getglobal(this:GetName().."Text"):SetText(PERL_LOCALIZED_CONFIG_PLAYERPET_LOCK);
274 </OnLoad>
275 <OnClick>
276 Perl_Config_Player_Pet_Lock_Update();
277 </OnClick>
278 </Scripts>
279 </CheckButton>
280  
281 <Slider name="$parent_Slider1" inherits="OptionsSliderTemplate" minValue="1" maxValue="149" valueStep="1">
282 <Size>
283 <AbsDimension x="200" y="15"/>
284 </Size>
285 <Anchors>
286 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Scaling_Text">
287 <Offset>
288 <AbsDimension x="20" y="-20"/>
289 </Offset>
290 </Anchor>
291 </Anchors>
292 <Scripts>
293 <OnValueChanged>
294 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
295 Perl_Config_Player_Pet_Set_Scale(getglobal(this:GetName()):GetValue());
296 </OnValueChanged>
297 </Scripts>
298 </Slider>
299  
300 <CheckButton name="$parent_CheckButton4" inherits="UICheckButtonTemplate" id="4">
301 <Size>
302 <AbsDimension x="20" y="20"/>
303 </Size>
304 <Anchors>
305 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parent_Slider1">
306 <Offset>
307 <AbsDimension x="20" y="0"/>
308 </Offset>
309 </Anchor>
310 </Anchors>
311 <Scripts>
312 <OnLoad>
313 getglobal(this:GetName().."Text"):SetText(PERL_LOCALIZED_CONFIG_SCALING_SET_CURRENT);
314 </OnLoad>
315 <OnClick>
316 Perl_Config_Player_Pet_Set_Scale();
317 </OnClick>
318 </Scripts>
319 </CheckButton>
320  
321 <Slider name="$parent_Slider2" inherits="OptionsSliderTemplate" minValue="0" maxValue="16" valueStep="1">
322 <Size>
323 <AbsDimension x="150" y="15"/>
324 </Size>
325 <Anchors>
326 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Buff_Text">
327 <Offset>
328 <AbsDimension x="20" y="-25"/>
329 </Offset>
330 </Anchor>
331 </Anchors>
332 <Scripts>
333 <OnValueChanged>
334 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
335 Perl_Config_Player_Pet_Set_Buffs(getglobal(this:GetName()):GetValue());
336 </OnValueChanged>
337 </Scripts>
338 </Slider>
339  
340 <Slider name="$parent_Slider3" inherits="OptionsSliderTemplate" minValue="0" maxValue="16" valueStep="1">
341 <Size>
342 <AbsDimension x="150" y="15"/>
343 </Size>
344 <Anchors>
345 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Debuff_Text">
346 <Offset>
347 <AbsDimension x="20" y="-25"/>
348 </Offset>
349 </Anchor>
350 </Anchors>
351 <Scripts>
352 <OnValueChanged>
353 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
354 Perl_Config_Player_Pet_Set_Debuffs(getglobal(this:GetName()):GetValue());
355 </OnValueChanged>
356 </Scripts>
357 </Slider>
358  
359 <Slider name="$parent_Slider4" inherits="OptionsSliderTemplate" minValue="0" maxValue="100" valueStep="1">
360 <Size>
361 <AbsDimension x="200" y="15"/>
362 </Size>
363 <Anchors>
364 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Transparency_Text">
365 <Offset>
366 <AbsDimension x="20" y="-20"/>
367 </Offset>
368 </Anchor>
369 </Anchors>
370 <Scripts>
371 <OnValueChanged>
372 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
373 Perl_Config_Player_Pet_Set_Transparency(getglobal(this:GetName()):GetValue());
374 </OnValueChanged>
375 </Scripts>
376 </Slider>
377  
378 <Slider name="$parent_Slider5" inherits="OptionsSliderTemplate" minValue="1" maxValue="7" valueStep="1">
379 <Size>
380 <AbsDimension x="150" y="15"/>
381 </Size>
382 <Anchors>
383 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Buff_Location_Text">
384 <Offset>
385 <AbsDimension x="20" y="-25"/>
386 </Offset>
387 </Anchor>
388 </Anchors>
389 <Scripts>
390 <OnValueChanged>
391 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
392 Perl_Config_Player_Pet_Set_Buff_Location(getglobal(this:GetName()):GetValue());
393 </OnValueChanged>
394 </Scripts>
395 </Slider>
396  
397 <Slider name="$parent_Slider6" inherits="OptionsSliderTemplate" minValue="1" maxValue="7" valueStep="1">
398 <Size>
399 <AbsDimension x="150" y="15"/>
400 </Size>
401 <Anchors>
402 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Debuff_Location_Text">
403 <Offset>
404 <AbsDimension x="20" y="-25"/>
405 </Offset>
406 </Anchor>
407 </Anchors>
408 <Scripts>
409 <OnValueChanged>
410 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
411 Perl_Config_Player_Pet_Set_Debuff_Location(getglobal(this:GetName()):GetValue());
412 </OnValueChanged>
413 </Scripts>
414 </Slider>
415  
416 <Slider name="$parent_Slider7" inherits="OptionsSliderTemplate" minValue="1" maxValue="50" valueStep="1">
417 <Size>
418 <AbsDimension x="150" y="15"/>
419 </Size>
420 <Anchors>
421 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Buff_Size_Text">
422 <Offset>
423 <AbsDimension x="20" y="-25"/>
424 </Offset>
425 </Anchor>
426 </Anchors>
427 <Scripts>
428 <OnValueChanged>
429 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
430 Perl_Config_Player_Pet_Set_Buff_Size(getglobal(this:GetName()):GetValue());
431 </OnValueChanged>
432 </Scripts>
433 </Slider>
434  
435 <Slider name="$parent_Slider8" inherits="OptionsSliderTemplate" minValue="1" maxValue="50" valueStep="1">
436 <Size>
437 <AbsDimension x="150" y="15"/>
438 </Size>
439 <Anchors>
440 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Debuff_Size_Text">
441 <Offset>
442 <AbsDimension x="20" y="-25"/>
443 </Offset>
444 </Anchor>
445 </Anchors>
446 <Scripts>
447 <OnValueChanged>
448 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
449 Perl_Config_Player_Pet_Set_Debuff_Size(getglobal(this:GetName()):GetValue());
450 </OnValueChanged>
451 </Scripts>
452 </Slider>
453 </Frames>
454  
455 </Frame>
456 </Ui>