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="Player_Pet">
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="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 <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("Enable Experience Bar");
148 </OnLoad>
149 <OnClick>
150 Perl_Config_Player_Pet_ShowXP_Update();
151 </OnClick>
152 </Scripts>
153 </CheckButton>
154  
155 <CheckButton name="$parent_CheckButton5" inherits="UICheckButtonTemplate" id="5">
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("Display Portrait Frame");
169 </OnLoad>
170 <OnClick>
171 Perl_Config_Player_Pet_Portrait_Update();
172 </OnClick>
173 </Scripts>
174 </CheckButton>
175  
176 <CheckButton name="$parent_CheckButton6" inherits="UICheckButtonTemplate" id="6">
177 <Size>
178 <AbsDimension x="20" y="20"/>
179 </Size>
180 <Anchors>
181 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton5">
182 <Offset>
183 <AbsDimension x="20" y="-20"/>
184 </Offset>
185 </Anchor>
186 </Anchors>
187 <Scripts>
188 <OnLoad>
189 getglobal(this:GetName().."Text"):SetText("3D Portrait Frame");
190 </OnLoad>
191 <OnClick>
192 Perl_Config_Player_Pet_3D_Portrait_Update();
193 </OnClick>
194 </Scripts>
195 </CheckButton>
196  
197 <CheckButton name="$parent_CheckButton3" inherits="UICheckButtonTemplate" id="3">
198 <Size>
199 <AbsDimension x="20" y="20"/>
200 </Size>
201 <Anchors>
202 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton6">
203 <Offset>
204 <AbsDimension x="-20" y="-20"/>
205 </Offset>
206 </Anchor>
207 </Anchors>
208 <Scripts>
209 <OnLoad>
210 getglobal(this:GetName().."Text"):SetText("Lock Player_Pet Frame");
211 </OnLoad>
212 <OnClick>
213 Perl_Config_Player_Pet_Lock_Update();
214 </OnClick>
215 </Scripts>
216 </CheckButton>
217  
218 <Slider name="$parent_Slider1" inherits="OptionsSliderTemplate" minValue="1" maxValue="149" valueStep="1">
219 <Size>
220 <AbsDimension x="200" y="15"/>
221 </Size>
222 <Anchors>
223 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Scaling_Text">
224 <Offset>
225 <AbsDimension x="20" y="-20"/>
226 </Offset>
227 </Anchor>
228 </Anchors>
229 <Scripts>
230 <OnValueChanged>
231 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
232 Perl_Config_Player_Pet_Set_Scale(getglobal(this:GetName()):GetValue());
233 </OnValueChanged>
234 </Scripts>
235 </Slider>
236  
237 <CheckButton name="$parent_CheckButton4" inherits="UICheckButtonTemplate" id="4">
238 <Size>
239 <AbsDimension x="20" y="20"/>
240 </Size>
241 <Anchors>
242 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parent_Slider1">
243 <Offset>
244 <AbsDimension x="20" y="0"/>
245 </Offset>
246 </Anchor>
247 </Anchors>
248 <Scripts>
249 <OnLoad>
250 getglobal(this:GetName().."Text"):SetText("Set To Current UI Scale");
251 </OnLoad>
252 <OnClick>
253 Perl_Config_Player_Pet_Set_Scale();
254 </OnClick>
255 </Scripts>
256 </CheckButton>
257  
258 <Slider name="$parent_Slider2" inherits="OptionsSliderTemplate" minValue="0" maxValue="16" valueStep="1">
259 <Size>
260 <AbsDimension x="150" y="15"/>
261 </Size>
262 <Anchors>
263 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Buff_Text">
264 <Offset>
265 <AbsDimension x="20" y="-25"/>
266 </Offset>
267 </Anchor>
268 </Anchors>
269 <Scripts>
270 <OnValueChanged>
271 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
272 Perl_Config_Player_Pet_Set_Buffs(getglobal(this:GetName()):GetValue());
273 </OnValueChanged>
274 </Scripts>
275 </Slider>
276  
277 <Slider name="$parent_Slider3" inherits="OptionsSliderTemplate" minValue="0" maxValue="16" valueStep="1">
278 <Size>
279 <AbsDimension x="150" y="15"/>
280 </Size>
281 <Anchors>
282 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Debuff_Text">
283 <Offset>
284 <AbsDimension x="20" y="-25"/>
285 </Offset>
286 </Anchor>
287 </Anchors>
288 <Scripts>
289 <OnValueChanged>
290 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
291 Perl_Config_Player_Pet_Set_Debuffs(getglobal(this:GetName()):GetValue());
292 </OnValueChanged>
293 </Scripts>
294 </Slider>
295  
296 <Slider name="$parent_Slider4" inherits="OptionsSliderTemplate" minValue="0" maxValue="100" valueStep="1">
297 <Size>
298 <AbsDimension x="200" y="15"/>
299 </Size>
300 <Anchors>
301 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Transparency_Text">
302 <Offset>
303 <AbsDimension x="20" y="-20"/>
304 </Offset>
305 </Anchor>
306 </Anchors>
307 <Scripts>
308 <OnValueChanged>
309 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
310 Perl_Config_Player_Pet_Set_Transparency(getglobal(this:GetName()):GetValue());
311 </OnValueChanged>
312 </Scripts>
313 </Slider>
314  
315 <Slider name="$parent_Slider5" inherits="OptionsSliderTemplate" minValue="1" maxValue="4" valueStep="1">
316 <Size>
317 <AbsDimension x="150" y="15"/>
318 </Size>
319 <Anchors>
320 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Buff_Location_Text">
321 <Offset>
322 <AbsDimension x="20" y="-25"/>
323 </Offset>
324 </Anchor>
325 </Anchors>
326 <Scripts>
327 <OnValueChanged>
328 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
329 Perl_Config_Player_Pet_Set_Buff_Location(getglobal(this:GetName()):GetValue());
330 </OnValueChanged>
331 </Scripts>
332 </Slider>
333  
334 <Slider name="$parent_Slider6" inherits="OptionsSliderTemplate" minValue="1" maxValue="4" valueStep="1">
335 <Size>
336 <AbsDimension x="150" y="15"/>
337 </Size>
338 <Anchors>
339 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Debuff_Location_Text">
340 <Offset>
341 <AbsDimension x="20" y="-25"/>
342 </Offset>
343 </Anchor>
344 </Anchors>
345 <Scripts>
346 <OnValueChanged>
347 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
348 Perl_Config_Player_Pet_Set_Debuff_Location(getglobal(this:GetName()):GetValue());
349 </OnValueChanged>
350 </Scripts>
351 </Slider>
352  
353 <Slider name="$parent_Slider7" inherits="OptionsSliderTemplate" minValue="1" maxValue="50" valueStep="1">
354 <Size>
355 <AbsDimension x="150" y="15"/>
356 </Size>
357 <Anchors>
358 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Buff_Size_Text">
359 <Offset>
360 <AbsDimension x="20" y="-25"/>
361 </Offset>
362 </Anchor>
363 </Anchors>
364 <Scripts>
365 <OnValueChanged>
366 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
367 Perl_Config_Player_Pet_Set_Buff_Size(getglobal(this:GetName()):GetValue());
368 </OnValueChanged>
369 </Scripts>
370 </Slider>
371  
372 <Slider name="$parent_Slider8" inherits="OptionsSliderTemplate" minValue="1" maxValue="50" valueStep="1">
373 <Size>
374 <AbsDimension x="150" y="15"/>
375 </Size>
376 <Anchors>
377 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Debuff_Size_Text">
378 <Offset>
379 <AbsDimension x="20" y="-25"/>
380 </Offset>
381 </Anchor>
382 </Anchors>
383 <Scripts>
384 <OnValueChanged>
385 getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
386 Perl_Config_Player_Pet_Set_Debuff_Size(getglobal(this:GetName()):GetValue());
387 </OnValueChanged>
388 </Scripts>
389 </Slider>
390 </Frames>
391  
392 </Frame>
393 </Ui>