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 <!-- Disabled Message -->
4  
5 <Frame name="SH_ClickhealDisabledMessage" virtual="true">
6 <Size>
7 <AbsDimension x="200" y="32"/>
8 </Size>
9 <Layers>
10 <Layer>
11 <FontString name="$parent_Name" inherits="GameFontNormal" justifyH="RIGHT" text="SH_DISABLED_BY_OVERDRIVE_MODE">
12 <Color r="1" g="0" b="0" />
13 </FontString>
14 </Layer>
15 </Layers>
16  
17 </Frame>
18  
19 <!-- options frame -->
20 <Frame name="SH_OptionsFrame2" setAllPoints="true" enableMouse="true" enableKeyboard="true" parent="SH_OptionsFrameCanvas" hidden="true">
21 <Size>
22 <AbsDimension x="390" y="400"/>
23 </Size>
24 <Anchors>
25 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"/>
26 </Anchors>
27  
28 <Frames>
29 <Frame name="$parent_TextLabel1">
30 <Size>
31 <AbsDimension x="120" y="32"/>
32 </Size>
33  
34 <Anchors>
35 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT" />
36 </Anchors>
37  
38 <Layers>
39 <Layer>
40 <FontString name="$parent_Name" inherits="GameFontNormal" justifyH="LEFT" text="SH_CHARACTER_CLASS" />
41 </Layer>
42 </Layers>
43 </Frame>
44  
45 <Frame name="$parent_TextLabel_playerclass">
46 <Size>
47 <AbsDimension x="32" y="32"/>
48 </Size>
49  
50 <Anchors>
51 <Anchor point="LEFT" relativeTo="$parent_TextLabel1" relativePoint="RIGHT">
52 <Offset>
53 <AbsDimension x="0" y="0" />
54 </Offset>
55 </Anchor>
56 </Anchors>
57  
58 <Layers>
59 <Layer>
60 <FontString name="$parent_Name" inherits="GameFontNormal" justifyH="LEFT" text="">
61 <Color r="1" g="1" b="1"/>
62 </FontString>
63 </Layer>
64 </Layers>
65  
66 <Scripts>
67 <OnLoad>
68 local localeClass, playerClass = UnitClass("player");
69 SH_OptionsFrame2_TextLabel_playerclass_Name:SetText(localeClass)
70 </OnLoad>
71 </Scripts>
72 </Frame>
73  
74  
75 <CheckButton name="$parent_CheckButton_enable_clickmode">
76 <Size>
77 <AbsDimension x="24" y="24" />
78 </Size>
79 <Anchors>
80 <Anchor point="TOPLEFT" relativeTo="$parent_TextLabel1" relativePoint="BOTTOMLEFT">
81 <Offset>
82 <AbsDimension x="0" y="-5" />
83 </Offset>
84 </Anchor>
85 </Anchors>
86 <Layers>
87 <Layer>
88 <FontString name="$parent_Name" inherits="GameFontNormal" text="SH_ENABLE_CLICKHEAL">
89 <Anchors>
90 <Anchor point="LEFT" relativePoint="RIGHT">
91 <Offset>
92 <AbsDimension x="-2" y="0" />
93 </Offset>
94 </Anchor>
95 </Anchors>
96 <FontHeight>
97 <AbsValue val="10" />
98 </FontHeight>
99 <Color r="1" g="0.8196079" b="0" />
100 <Shadow>
101 <Color r="0" g="0" b="0" />
102 <Offset>
103 <AbsDimension x="1" y="-1" />
104 </Offset>
105 </Shadow>
106 </FontString>
107 </Layer>
108 </Layers>
109 <Scripts>
110 <OnShow>
111 this:SetChecked(SmartHeal:getConfig('enable','clickmode'))
112 SmartHeal:setClickMode(this:GetChecked())
113 </OnShow>
114 <OnClick>
115 SmartHeal:ClickCheckBox(this:GetName(),this:GetChecked())
116 SmartHeal:setClickMode(this:GetChecked())
117 </OnClick>
118 </Scripts>
119 <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
120 <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
121 <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
122 <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
123 <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" />
124 </CheckButton>
125  
126 <Frame name="$parent_TextLabel2">
127 <Size>
128 <AbsDimension x="120" y="32"/>
129 </Size>
130  
131 <Anchors>
132 <Anchor point="TOPLEFT" relativeTo="$parent_CheckButton_enable_clickmode" relativePoint="BOTTOMLEFT" />
133 <Offset>
134 <AbsDimension x="0" y="-5" />
135 </Offset>
136 </Anchors>
137  
138 <Layers>
139 <Layer>
140 <FontString name="$parent_Name" inherits="GameFontNormal" justifyH="LEFT" text="SH_SHIFTLEFTCLICK" />
141 </Layer>
142 </Layers>
143 </Frame>
144  
145 <Frame name="$parent_TextLabel3">
146 <Size>
147 <AbsDimension x="120" y="32"/>
148 </Size>
149  
150 <Anchors>
151 <Anchor point="TOPLEFT" relativeTo="$parent_TextLabel2" relativePoint="BOTTOMLEFT" />
152 <Offset>
153 <AbsDimension x="0" y="-5" />
154 </Offset>
155 </Anchors>
156  
157 <Layers>
158 <Layer>
159 <FontString name="$parent_Name" inherits="GameFontNormal" justifyH="LEFT" text="SH_SHIFTMIDDLECLICK" />
160 </Layer>
161 </Layers>
162 </Frame>
163  
164 <Frame name="$parent_TextLabel4">
165 <Size>
166 <AbsDimension x="120" y="32"/>
167 </Size>
168  
169 <Anchors>
170 <Anchor point="TOPLEFT" relativeTo="$parent_TextLabel3" relativePoint="BOTTOMLEFT" />
171 <Offset>
172 <AbsDimension x="0" y="-5" />
173 </Offset>
174 </Anchors>
175  
176 <Layers>
177 <Layer>
178 <FontString name="$parent_Name" inherits="GameFontNormal" justifyH="LEFT" text="SH_SHIFTRIGHTCLICK" />
179 </Layer>
180 </Layers>
181 </Frame>
182  
183 <Frame name="$parent_TextLabel5">
184 <Size>
185 <AbsDimension x="120" y="32"/>
186 </Size>
187  
188 <Anchors>
189 <Anchor point="TOPLEFT" relativeTo="$parent_TextLabel4" relativePoint="BOTTOMLEFT" />
190 <Offset>
191 <AbsDimension x="0" y="-5" />
192 </Offset>
193 </Anchors>
194  
195 <Layers>
196 <Layer>
197 <FontString name="$parent_Name" inherits="GameFontNormal" justifyH="LEFT" text="SH_CTRLLEFTCLICK" />
198 </Layer>
199 </Layers>
200 </Frame>
201  
202 <Frame name="$parent_TextLabel6">
203 <Size>
204 <AbsDimension x="120" y="32"/>
205 </Size>
206  
207 <Anchors>
208 <Anchor point="TOPLEFT" relativeTo="$parent_TextLabel5" relativePoint="BOTTOMLEFT" />
209 <Offset>
210 <AbsDimension x="0" y="-5" />
211 </Offset>
212 </Anchors>
213  
214 <Layers>
215 <Layer>
216 <FontString name="$parent_Name" inherits="GameFontNormal" justifyH="LEFT" text="SH_CTRLMIDDLECLICK" />
217 </Layer>
218 </Layers>
219 </Frame>
220  
221 <Frame name="$parent_TextLabel7">
222 <Size>
223 <AbsDimension x="120" y="32"/>
224 </Size>
225  
226 <Anchors>
227 <Anchor point="TOPLEFT" relativeTo="$parent_TextLabel6" relativePoint="BOTTOMLEFT" />
228 <Offset>
229 <AbsDimension x="0" y="-5" />
230 </Offset>
231 </Anchors>
232  
233 <Layers>
234 <Layer>
235 <FontString name="$parent_Name" inherits="GameFontNormal" justifyH="LEFT" text="SH_CTRLRIGHTCLICK" />
236 </Layer>
237 </Layers>
238 </Frame>
239  
240 <Frame name="$parent_TextLabel8">
241 <Size>
242 <AbsDimension x="120" y="32"/>
243 </Size>
244  
245 <Anchors>
246 <Anchor point="TOPLEFT" relativeTo="$parent_TextLabel7" relativePoint="BOTTOMLEFT" />
247 <Offset>
248 <AbsDimension x="0" y="-5" />
249 </Offset>
250 </Anchors>
251  
252 <Layers>
253 <Layer>
254 <FontString name="$parent_Name" inherits="GameFontNormal" justifyH="LEFT" text="SH_ALTLEFTCLICK" />
255 </Layer>
256 </Layers>
257 </Frame>
258  
259 <Frame name="$parent_TextLabel9">
260 <Size>
261 <AbsDimension x="120" y="32"/>
262 </Size>
263  
264 <Anchors>
265 <Anchor point="TOPLEFT" relativeTo="$parent_TextLabel8" relativePoint="BOTTOMLEFT" />
266 <Offset>
267 <AbsDimension x="0" y="-5" />
268 </Offset>
269 </Anchors>
270  
271 <Layers>
272 <Layer>
273 <FontString name="$parent_Name" inherits="GameFontNormal" justifyH="LEFT" text="SH_ALTMIDDLECLICK" />
274 </Layer>
275 </Layers>
276 </Frame>
277  
278 <Frame name="$parent_TextLabel10">
279 <Size>
280 <AbsDimension x="120" y="32"/>
281 </Size>
282  
283 <Anchors>
284 <Anchor point="TOPLEFT" relativeTo="$parent_TextLabel9" relativePoint="BOTTOMLEFT" />
285 <Offset>
286 <AbsDimension x="0" y="-5" />
287 </Offset>
288 </Anchors>
289  
290 <Layers>
291 <Layer>
292 <FontString name="$parent_Name" inherits="GameFontNormal" justifyH="LEFT" text="SH_ALTRIGHTCLICK" />
293 </Layer>
294 </Layers>
295 </Frame>
296  
297 <Frame name="$parent_DropDown_shiftLeftButton_clickmode" inherits="UIDropDownMenuTemplate">
298 <Size>
299 <AbsDimension x="200" y="32"/>
300 </Size>
301 <Anchors>
302 <Anchor point="LEFT" relativeTo="$parent_TextLabel2" relativePoint="RIGHT" />
303 <Offset>
304 <AbsDimension x="5" y="0" />
305 </Offset>
306 </Anchors>
307 <Scripts>
308 <OnShow>
309 SmartHeal:DropDownMenuOnLoad(this,SmartHeal.clickmodeOptionList[SmartHeal.playerClass],
310 SmartHeal:getConfig('shiftLeftButton','clickmode'),
311 SH_ClickHealOnSelect,
312 200);
313 </OnShow>
314 </Scripts>
315 </Frame>
316  
317 <Frame name="$parent_DropDown_shiftMiddleButton_clickmode" inherits="UIDropDownMenuTemplate">
318 <Size>
319 <AbsDimension x="200" y="32"/>
320 </Size>
321 <Anchors>
322 <Anchor point="LEFT" relativeTo="$parent_TextLabel3" relativePoint="RIGHT" />
323 <Offset>
324 <AbsDimension x="5" y="0" />
325 </Offset>
326 </Anchors>
327 <Scripts>
328 <OnShow>
329 SmartHeal:DropDownMenuOnLoad(this,SmartHeal.clickmodeOptionList[SmartHeal.playerClass],
330 SmartHeal:getConfig('shiftMiddleButton','clickmode'),
331 SH_ClickHealOnSelect,
332 200);
333 </OnShow>
334 </Scripts>
335 </Frame>
336  
337 <Frame name="$parent_DropDown_shiftRightButton_clickmode" inherits="UIDropDownMenuTemplate">
338 <Size>
339 <AbsDimension x="200" y="32"/>
340 </Size>
341 <Anchors>
342 <Anchor point="LEFT" relativeTo="$parent_TextLabel4" relativePoint="RIGHT" />
343 <Offset>
344 <AbsDimension x="5" y="0" />
345 </Offset>
346 </Anchors>
347 <Scripts>
348 <OnShow>
349 SmartHeal:DropDownMenuOnLoad(this,SmartHeal.clickmodeOptionList[SmartHeal.playerClass],
350 SmartHeal:getConfig('shiftRightButton','clickmode'),
351 SH_ClickHealOnSelect,
352 200);
353 </OnShow>
354 </Scripts>
355 </Frame>
356  
357 <Frame name="$parent_DropDown_ctrlLeftButton_clickmode" inherits="UIDropDownMenuTemplate">
358 <Size>
359 <AbsDimension x="200" y="32"/>
360 </Size>
361 <Anchors>
362 <Anchor point="LEFT" relativeTo="$parent_TextLabel5" relativePoint="RIGHT" />
363 <Offset>
364 <AbsDimension x="5" y="0" />
365 </Offset>
366 </Anchors>
367 <Scripts>
368 <OnShow>
369 SmartHeal:DropDownMenuOnLoad(this,SmartHeal.clickmodeOptionList[SmartHeal.playerClass],
370 SmartHeal:getConfig('ctrlLeftButton','clickmode'),
371 SH_ClickHealOnSelect,
372 200);
373 </OnShow>
374 </Scripts>
375 </Frame>
376  
377 <Frame name="$parent_DropDown_ctrlMiddleButton_clickmode" inherits="UIDropDownMenuTemplate">
378 <Size>
379 <AbsDimension x="200" y="32"/>
380 </Size>
381 <Anchors>
382 <Anchor point="LEFT" relativeTo="$parent_TextLabel6" relativePoint="RIGHT" />
383 <Offset>
384 <AbsDimension x="5" y="0" />
385 </Offset>
386 </Anchors>
387 <Scripts>
388 <OnShow>
389 SmartHeal:DropDownMenuOnLoad(this,SmartHeal.clickmodeOptionList[SmartHeal.playerClass],
390 SmartHeal:getConfig('ctrlMiddleButton','clickmode'),
391 SH_ClickHealOnSelect,
392 200);
393 </OnShow>
394 </Scripts>
395 </Frame>
396  
397 <Frame name="$parent_DropDown_ctrlRightButton_clickmode" inherits="UIDropDownMenuTemplate">
398 <Size>
399 <AbsDimension x="200" y="32"/>
400 </Size>
401 <Anchors>
402 <Anchor point="LEFT" relativeTo="$parent_TextLabel7" relativePoint="RIGHT" />
403 <Offset>
404 <AbsDimension x="5" y="0" />
405 </Offset>
406 </Anchors>
407 <Scripts>
408 <OnShow>
409 SmartHeal:DropDownMenuOnLoad(this,SmartHeal.clickmodeOptionList[SmartHeal.playerClass],
410 SmartHeal:getConfig('ctrlRightButton','clickmode'),
411 SH_ClickHealOnSelect,
412 200);
413 </OnShow>
414 </Scripts>
415 </Frame>
416  
417 <Frame name="$parent_DropDown_altLeftButton_clickmode" inherits="UIDropDownMenuTemplate">
418 <Size>
419 <AbsDimension x="200" y="32"/>
420 </Size>
421 <Anchors>
422 <Anchor point="LEFT" relativeTo="$parent_TextLabel8" relativePoint="RIGHT" />
423 <Offset>
424 <AbsDimension x="5" y="0" />
425 </Offset>
426 </Anchors>
427 <Scripts>
428 <OnShow>
429 SmartHeal:DropDownMenuOnLoad(this,SmartHeal.clickmodeOptionList[SmartHeal.playerClass],
430 SmartHeal:getConfig('altLeftButton','clickmode'),
431 SH_ClickHealOnSelect,
432 200);
433 </OnShow>
434 </Scripts>
435 </Frame>
436  
437 <Frame name="$parent_DropDown_altMiddleButton_clickmode" inherits="UIDropDownMenuTemplate">
438 <Size>
439 <AbsDimension x="200" y="32"/>
440 </Size>
441 <Anchors>
442 <Anchor point="LEFT" relativeTo="$parent_TextLabel9" relativePoint="RIGHT" />
443 <Offset>
444 <AbsDimension x="5" y="0" />
445 </Offset>
446 </Anchors>
447 <Scripts>
448 <OnShow>
449 SmartHeal:DropDownMenuOnLoad(this,SmartHeal.clickmodeOptionList[SmartHeal.playerClass],
450 SmartHeal:getConfig('altMiddleButton','clickmode'),
451 SH_ClickHealOnSelect,
452 200);
453 </OnShow>
454 </Scripts>
455 </Frame>
456  
457 <Frame name="$parent_DropDown_altRightButton_clickmode" inherits="UIDropDownMenuTemplate">
458 <Size>
459 <AbsDimension x="200" y="32"/>
460 </Size>
461 <Anchors>
462 <Anchor point="LEFT" relativeTo="$parent_TextLabel10" relativePoint="RIGHT" />
463 <Offset>
464 <AbsDimension x="5" y="0" />
465 </Offset>
466 </Anchors>
467 <Scripts>
468 <OnShow>
469 SmartHeal:DropDownMenuOnLoad(this,SmartHeal.clickmodeOptionList[SmartHeal.playerClass],
470 SmartHeal:getConfig('altRightButton','clickmode'),
471 SH_ClickHealOnSelect,
472 200);
473 </OnShow>
474 </Scripts>
475 </Frame>
476  
477 <Frame name="$parent_TextLabel11">
478 <Size>
479 <AbsDimension x="230" y="32"/>
480 </Size>
481  
482 <Anchors>
483 <Anchor point="TOPLEFT" relativeTo="$parent_TextLabel10" relativePoint="BOTTOMLEFT" />
484 <Offset>
485 <AbsDimension x="0" y="-5" />
486 </Offset>
487 </Anchors>
488  
489 <Layers>
490 <Layer>
491 <FontString name="$parent_Name" inherits="GameFontNormal" justifyH="LEFT" text="SH_OVERDRIVE_MODE" />
492 </Layer>
493 </Layers>
494 </Frame>
495  
496 <Frame name="$parent_DropDown_overdrive_clickmode" inherits="UIDropDownMenuTemplate">
497 <Size>
498 <AbsDimension x="80" y="32"/>
499 </Size>
500 <Anchors>
501 <Anchor point="LEFT" relativeTo="$parent_TextLabel11" relativePoint="RIGHT" />
502 <Offset>
503 <AbsDimension x="5" y="0" />
504 </Offset>
505 </Anchors>
506 <Scripts>
507 <OnShow>
508 SmartHeal:DropDownMenuOnLoad(this,SmartHeal.OverDriveOptionList,
509 SmartHeal:getConfig('overdrive','clickmode'),
510 SH_OverDriveOnSelect,
511 80);
512 </OnShow>
513 </Scripts>
514 </Frame>
515  
516 <Frame name="$parent_Disabled_shiftLeftButton_clickmode" hidden="true" inherits="SH_ClickhealDisabledMessage">
517 <Anchors>
518 <Anchor point="LEFT" relativeTo="$parent_TextLabel2" relativePoint="RIGHT" />
519 <Offset><AbsDimension x="30" y="0" /></Offset>
520 </Anchors>
521 </Frame>
522 <Frame name="$parent_Disabled_shiftMiddleButton_clickmode" hidden="true" inherits="SH_ClickhealDisabledMessage">
523 <Anchors>
524 <Anchor point="LEFT" relativeTo="$parent_TextLabel3" relativePoint="RIGHT" />
525 <Offset><AbsDimension x="30" y="0" /></Offset>
526 </Anchors>
527 </Frame>
528 <Frame name="$parent_Disabled_shiftRightButton_clickmode" hidden="true" inherits="SH_ClickhealDisabledMessage">
529 <Anchors>
530 <Anchor point="LEFT" relativeTo="$parent_TextLabel4" relativePoint="RIGHT" />
531 <Offset><AbsDimension x="30" y="0" /></Offset>
532 </Anchors>
533 </Frame>
534 <Frame name="$parent_Disabled_ctrlLeftButton_clickmode" hidden="true" inherits="SH_ClickhealDisabledMessage">
535 <Anchors>
536 <Anchor point="LEFT" relativeTo="$parent_TextLabel5" relativePoint="RIGHT" />
537 <Offset><AbsDimension x="30" y="0" /></Offset>
538 </Anchors>
539 </Frame>
540 <Frame name="$parent_Disabled_ctrlMiddleButton_clickmode" hidden="true" inherits="SH_ClickhealDisabledMessage">
541 <Anchors>
542 <Anchor point="LEFT" relativeTo="$parent_TextLabel6" relativePoint="RIGHT" />
543 <Offset><AbsDimension x="30" y="0" /></Offset>
544 </Anchors>
545 </Frame>
546 <Frame name="$parent_Disabled_ctrlRightButton_clickmode" hidden="true" inherits="SH_ClickhealDisabledMessage">
547 <Anchors>
548 <Anchor point="LEFT" relativeTo="$parent_TextLabel7" relativePoint="RIGHT" />
549 <Offset><AbsDimension x="30" y="0" /></Offset>
550 </Anchors>
551 </Frame>
552 <Frame name="$parent_Disabled_altLeftButton_clickmode" hidden="true" inherits="SH_ClickhealDisabledMessage">
553 <Anchors>
554 <Anchor point="LEFT" relativeTo="$parent_TextLabel8" relativePoint="RIGHT" />
555 <Offset><AbsDimension x="30" y="0" /></Offset>
556 </Anchors>
557 </Frame>
558 <Frame name="$parent_Disabled_altMiddleButton_clickmode" hidden="true" inherits="SH_ClickhealDisabledMessage">
559 <Anchors>
560 <Anchor point="LEFT" relativeTo="$parent_TextLabel9" relativePoint="RIGHT" />
561 <Offset><AbsDimension x="30" y="0" /></Offset>
562 </Anchors>
563 </Frame>
564 <Frame name="$parent_Disabled_altRightButton_clickmode" hidden="true" inherits="SH_ClickhealDisabledMessage">
565 <Anchors>
566 <Anchor point="LEFT" relativeTo="$parent_TextLabel10" relativePoint="RIGHT" />
567 <Offset><AbsDimension x="30" y="0" /></Offset>
568 </Anchors>
569 </Frame>
570  
571 </Frames>
572  
573 <Scripts>
574 <OnShow>
575 SmartHeal:ClickHeal_DropDown_OnShow()
576 </OnShow>
577 <OnKeyDown>
578 if (arg1 == "ESCAPE") then
579 this:GetParent():GetParent():Hide();
580 end
581 </OnKeyDown>
582 </Scripts>
583 </Frame>
584 </UI>