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  
3 <Script file="GuildAdsConfig.lua"/>
4  
5 <CheckButton name="GuildAdsConfig_CheckButton" virtual="true">
6  
7  
8  
9 <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
10  
11 <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
12  
13 <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
14  
15
16  
17 <TextInsets>
18  
19 </TextInsets>
20  
21 <Backdrop name="$parentBackdrop" bgFile="Interface\TutorialFrame\TutorialFrameBackground" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
22  
23 <AbsValue val="8"/>
24  
25 <TileSize>
26  
27 </TileSize>
28  
29  
30  
31 <Frame name="GuildAdsConfig_OptionFrameBoxTemplate" inherits="OptionFrameBoxTemplate" virtual="true">
32  
33 <OnLoad>
34  
35 this:SetBackdropColor(0.15, 0.15, 0.15);
36  
37 </Scripts>
38  
39
40  
41 <Size>
42  
43 </Size>
44  
45 <Anchor point="TOPLEFT">
46  
47 <AbsDimension x="100" y="-104"/>
48  
49 </Anchor>
50  
51 <Backdrop name="$parentBackdrop" bgFile="Interface\TutorialFrame\TutorialFrameBackground" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
52  
53 <AbsValue val="16"/>
54  
55 <TileSize>
56  
57 </TileSize>
58  
59  
60  
61 </Backdrop>
62  
63 <Layer level="BACKGROUND">
64  
65 <Anchors>
66  
67 <Offset>
68  
69 </Offset>
70  
71 </Anchors>
72  
73 </Layer>
74  
75 <Frames>
76  
77  
78  
79 <Offset>
80  
81 </Offset>
82  
83 </Anchors>
84  
85
86  
87 <Size>
88  
89 </Size>
90  
91 <Anchor point="TOP">
92  
93 <AbsDimension x="0" y="-30"/>
94  
95 </Anchor>
96  
97 <Layers>
98  
99 <FontString name="$parentTitleLabel" inherits="GameFontHighlightSmall" text="GUILDADS_CHAT_OPTIONS">
100  
101 <Anchor point="TOP" relativePoint="TOP">
102  
103 <AbsDimension x="0" y="-10"/>
104  
105 </Anchor>
106  
107 </FontString>
108  
109 </Layers>
110  
111
112  
113 <Size>
114  
115 </Size>
116  
117 <Anchor point="TOPLEFT">
118  
119 <AbsDimension x="130" y="-30" />
120  
121 </Anchor>
122  
123 <Layers>
124  
125 <FontString name="$parentLabel" inherits="GameFontNormalSmall" text="GUILDADS_CHAT_ALIAS">
126  
127 <Anchor point="RIGHT" relativePoint="LEFT">
128  
129 <AbsDimension x="-5" y="0"/>
130  
131 </Anchor>
132  
133 </FontString>
134  
135 </Layers>
136  
137
138  
139 <Size>
140  
141 </Size>
142  
143 <Anchor point="TOPLEFT" relativeTo="GuildAds_ChannelAliasEditBox" relativePoint="BOTTOMLEFT">
144  
145 <AbsDimension x="0" y="-5"/>
146  
147 </Anchor>
148  
149 <Layers>
150  
151 <FontString name="$parentLabel" inherits="GameFontNormalSmall" text="GUILDADS_CHAT_COMMAND">
152  
153 <Anchor point="RIGHT" relativePoint="LEFT">
154  
155 <AbsDimension x="-2" y="0"/>
156  
157 </Anchor>
158  
159 </FontString>
160  
161 </Layers>
162  
163
164  
165 <Anchors>
166  
167 <Offset>
168  
169  
170  
171 </Anchors>
172  
173 <Layer level="ARTWORK">
174  
175 <Anchors>
176  
177 <Offset>
178  
179 </Offset>
180  
181 </Anchors>
182  
183 </Layer>
184  
185 <Scripts>
186  
187 if ( this:GetChecked() ) then
188  
189 GuildAdsConfig_SetUseThisChannel(true);
190  
191 PlaySound("igMainMenuOptionCheckBoxOn");
192  
193 end
194  
195 </Scripts>
196  
197
198  
199 <Size>
200  
201 </Size>
202  
203 <Anchor point="TOPLEFT" relativeTo="GuildAds_ChatUseThisCheckButton" relativePoint="BOTTOMLEFT">
204  
205 <AbsDimension x="110" y="0"/>
206  
207 </Anchor>
208  
209 <Layers>
210  
211 <FontString name="$parentLabel" inherits="GameFontNormalSmall" text="GUILDADS_CHAT_CHANNEL">
212  
213 <Anchor point="RIGHT" relativePoint="LEFT">
214  
215 <AbsDimension x="-5" y="0"/>
216  
217 </Anchor>
218  
219 </FontString>
220  
221  
222  
223
224  
225 <Size>
226  
227 </Size>
228  
229 <Anchor point="TOPLEFT" relativeTo="GuildAds_ChatUseThisCheckButton" relativePoint="BOTTOMLEFT">
230  
231 <AbsDimension x="110" y="-30"/>
232  
233 </Anchor>
234  
235 <Layers>
236  
237 <FontString name="$parentLabel" inherits="GameFontNormalSmall" text="GUILDADS_CHAT_PASSWORD">
238  
239 <Anchor point="RIGHT" relativePoint="LEFT">
240  
241 <AbsDimension x="-5" y="0"/>
242  
243 </Anchor>
244  
245 </FontString>
246  
247 </Layers>
248  
249
250  
251 <Anchors>
252  
253 <Offset>
254  
255 </Offset>
256  
257 </Anchors>
258  
259 <Layer level="ARTWORK">
260  
261 <Anchors>
262  
263 <Offset>
264  
265 </Offset>
266  
267 </Anchors>
268  
269 </Layer>
270  
271 <Scripts>
272  
273  
274  
275 PlaySound("igMainMenuOptionCheckBoxOn");
276  
277 GuildAdsConfig_SetProfileValue("ShowNewAsk", nil);
278  
279 end
280  
281 </Scripts>
282  
283
284  
285 <Anchors>
286  
287 <Offset>
288  
289 </Offset>
290  
291 </Anchors>
292  
293 <Layer level="ARTWORK">
294  
295 <Anchors>
296  
297 <Offset>
298  
299 </Offset>
300  
301 </Anchors>
302  
303 </Layer>
304  
305 <Scripts>
306  
307 if ( this:GetChecked() ) then
308  
309 PlaySound("igMainMenuOptionCheckBoxOn");
310  
311 GuildAdsConfig_SetProfileValue("ShowNewHave", nil);
312  
313 end
314  
315 </Scripts>
316  
317
318  
319 </Frame>
320  
321 <Frame name="GuildAdsConfig_Ads" inherits="GuildAdsConfig_OptionFrameBoxTemplate">
322  
323 <AbsDimension x="380" y="105"/>
324  
325  
326  
327 <Offset>
328  
329 </Offset>
330  
331 </Anchors>
332  
333 <Layer level="ARTWORK">
334  
335 <Anchors>
336  
337 <Offset>
338  
339 </Offset>
340  
341 </Anchors>
342  
343 </Layer>
344  
345 <Frames>
346  
347 <Anchors>
348  
349 <Offset>
350  
351 </Offset>
352  
353 </Anchors>
354  
355 <Layer level="ARTWORK">
356  
357 <Anchors>
358  
359 <Offset>
360  
361 </Offset>
362  
363 </Anchors>
364  
365 </Layer>
366  
367 <Scripts>
368  
369 if ( this:GetChecked() ) then
370  
371 else
372  
373 end
374  
375 </OnClick>
376  
377 </CheckButton>
378  
379 <CheckButton name="GuildAds_ShowOfflinePlayerCheckButton" inherits="GuildAdsConfig_CheckButton">
380  
381 <Anchor point="TOPLEFT" relativeTo="GuildAds_PublishMyAdsCheckButton" relativePoint="BOTTOMLEFT">
382  
383 <AbsDimension x="0" y="-10"/>
384  
385 </Anchor>
386  
387 <Layers>
388  
389 <FontString name="GuildAds_ShowOfflinePlayerCheckButtonText" inherits="GameFontNormalSmall" text="SHOW_OFFLINE_MEMBERS" >
390  
391 <Anchor point="LEFT" relativePoint="RIGHT">
392  
393  
394  
395 </Anchor>
396  
397 </FontString>
398  
399 </Layers>
400  
401 <OnClick>
402  
403 PlaySound("igMainMenuOptionCheckBoxOff");
404  
405 PlaySound("igMainMenuOptionCheckBoxOn");
406  
407 GuildAds_ShowOfflinePlayer(this:GetChecked());
408  
409 </Scripts>
410  
411
412  
413 <Anchors>
414  
415 <Offset>
416  
417 </Offset>
418  
419 </Anchors>
420  
421 <Layer level="ARTWORK">
422  
423 <Anchors>
424  
425 <Offset>
426  
427 </Offset>
428  
429 </Anchors>
430  
431 </Layer>
432  
433 <Scripts>
434  
435 if ( this:GetChecked() ) then
436  
437 else
438  
439 end
440  
441 </OnClick>
442  
443 </CheckButton>
444  
445  
446  
447
448  
449 <Size>
450  
451 </Size>
452  
453 <Anchor point="TOP" relativeTo="GuildAdsConfig_Ads" relativePoint="BOTTOM">
454  
455 <AbsDimension x="0" y="-5"/>
456  
457 </Anchor>
458  
459 <Layers>
460  
461 <FontString name="$parentTitleLabel" inherits="GameFontHighlightSmall" text="GUILDADS_ICON_OPTIONS">
462  
463 <Anchor point="TOP" relativePoint="TOP">
464  
465 <AbsDimension x="0" y="-10"/>
466  
467 </Anchor>
468  
469 </FontString>
470  
471 </Layers>
472  
473 <Slider name="GuildAds_MinimapArcSlider" inherits="OptionsSliderTemplate">
474  
475 <AbsDimension x="360" y="16"/>
476  
477 <Anchors>
478  
479 <Offset>
480  
481 </Offset>
482  
483 </Anchors>
484  
485 <OnLoad>
486  
487 getglobal(this:GetName().."High"):SetText("360");
488  
489 this:SetMinMaxValues(0,360);
490  
491 </OnLoad>
492  
493 GuildAds.Config.MinimapArcOffset = this:GetValue();
494  
495 </OnValueChanged>
496  
497  
498  
499 <Slider name="GuildAds_MinimapRadiusSlider" inherits="OptionsSliderTemplate">
500  
501 <AbsDimension x="360" y="16"/>
502  
503 <Anchors>
504  
505 <Offset>
506  
507 </Offset>
508  
509 </Anchors>
510  
511 <OnLoad>
512  
513 getglobal(this:GetName().."High"):SetText("150");
514  
515 this:SetMinMaxValues(0,150);
516  
517 </OnLoad>
518  
519 GuildAds.Config.MinimapRadiusOffset = this:GetValue();
520  
521 </OnValueChanged>
522  
523 </Slider>
524  
525 </Frame>
526  
527 </Frames>
528  
529 <OnMouseUp>
530  
531 this:StopMovingOrSizing();
532  
533 end
534  
535 <OnMouseDown>
536  
537 this:StartMoving();
538  
539 end
540  
541 <OnHide>
542  
543 this:StopMovingOrSizing();
544  
545 end
546  
547 GuildAdsConfigFrame_OnHide();
548  
549 <OnShow>
550  
551 </OnShow>
552  
553 </Frame>
554  
555
556