vanilla-wow-addons – Blame information for rev 1
?pathlinks?
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 | <Script file="spelldata.lua"/> |
||
3 | <Script file="localization.de.lua"/> |
||
4 | <Script file="localization.fr.lua"/> |
||
5 | <Script file="localization.ko.lua"/> |
||
6 | <Script file="localization.lua"/> |
||
7 | <Script file="TheoryCraftColours.lua"/> |
||
8 | <Script file="TheoryCraftMain.lua"/> |
||
9 | <Script file="TheoryCraftEngine.lua"/> |
||
10 | <Script file="TheoryCraftBuffs.lua"/> |
||
11 | <Script file="TheoryCraftTalents.lua"/> |
||
12 | <Script file="TheoryCraftGear.lua"/> |
||
13 | <Script file="TheoryCraftTooltip.lua"/> |
||
14 | <Script file="TheoryCraftMessy.lua"/> |
||
15 | |||
16 | <CheckButton name="TheoryCraftCheckBoxTemplate" inherits="UICheckButtonTemplate" virtual="true"> |
||
17 | <Scripts> |
||
18 | <OnClick> |
||
19 | if ( this:GetChecked() ) then |
||
20 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
21 | else |
||
22 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
23 | end |
||
24 | </OnClick> |
||
25 | <OnEnter> |
||
26 | if ( this.tooltipText ) then |
||
27 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
28 | GameTooltip:SetText(this.tooltipText, nil, nil, nil, nil, 1); |
||
29 | end |
||
30 | if ( this.tooltipRequirement ) then |
||
31 | GameTooltip:AddLine(this.tooltipRequirement, "", 1.0, 1.0, 1.0); |
||
32 | GameTooltip:Show(); |
||
33 | end |
||
34 | </OnEnter> |
||
35 | <OnLeave> |
||
36 | GameTooltip:Hide(); |
||
37 | </OnLeave> |
||
38 | </Scripts> |
||
39 | </CheckButton> |
||
40 | <CheckButton name="TheoryCraftCB2Template" inherits="TheoryCraftCheckBoxTemplate" virtual="true" > |
||
41 | <HitRectInsets> |
||
42 | <AbsInset left="0" right="-70" top="0" bottom="0"/> |
||
43 | </HitRectInsets> |
||
44 | <Size> |
||
45 | <AbsDimension x="20" y="20"/> |
||
46 | </Size> |
||
47 | <Scripts> |
||
48 | <OnClick> |
||
49 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
50 | </OnClick> |
||
51 | <OnLoad> |
||
52 | TheoryCraft_CheckBoxSetText() |
||
53 | </OnLoad> |
||
54 | <OnClick> |
||
55 | TheoryCraft_CheckBoxToggle() |
||
56 | </OnClick> |
||
57 | <OnEnter> |
||
58 | TheoryCraft_CheckBoxShowDescription() |
||
59 | </OnEnter> |
||
60 | <OnLeave> |
||
61 | GameTooltip:Hide() |
||
62 | </OnLeave> |
||
63 | </Scripts> |
||
64 | </CheckButton> |
||
65 | |||
66 | <EditBox name="TheoryCraft_EditBoxTemplate" autoFocus="false" inherits="InputBoxTemplate" justifyH="CENTER" frameStrata="HIGH" virtual="true"> |
||
67 | <Size><AbsDimension x="47" y="20"/></Size> |
||
68 | <Scripts> |
||
69 | <OnLoad> |
||
70 | this:SetTextColor(1,1,1) |
||
71 | </OnLoad> |
||
72 | <OnTextChanged> |
||
73 | TheoryCraft_UpdateEditBox() |
||
74 | </OnTextChanged> |
||
75 | </Scripts> |
||
76 | <Layers> |
||
77 | <Layer level="BACKGROUND"> |
||
78 | <FontString name="$parentLabel" inherits="GameFontNormalSmall"> |
||
79 | <Color r="1" g="1" b="1"/> |
||
80 | <Anchors> |
||
81 | <Anchor point="RIGHT" relativePoint="LEFT"> |
||
82 | <Offset> |
||
83 | <AbsDimension x="0" y="0"/> |
||
84 | </Offset> |
||
85 | </Anchor> |
||
86 | </Anchors> |
||
87 | </FontString> |
||
88 | </Layer> |
||
89 | </Layers> |
||
90 | </EditBox> |
||
91 | |||
92 | <CheckButton name="TheoryCraftCBTemplate" inherits="OptionsCheckButtonTemplate" virtual="true" > |
||
93 | <Size> |
||
94 | <AbsDimension x="20" y="20"/> |
||
95 | </Size> |
||
96 | <Scripts> |
||
97 | <OnClick> |
||
98 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
99 | </OnClick> |
||
100 | <OnLoad> |
||
101 | TheoryCraft_CheckBoxSetText() |
||
102 | </OnLoad> |
||
103 | <OnClick> |
||
104 | TheoryCraft_CheckBoxToggle() |
||
105 | </OnClick> |
||
106 | <OnEnter> |
||
107 | TheoryCraft_CheckBoxShowDescription() |
||
108 | </OnEnter> |
||
109 | <OnLeave> |
||
110 | GameTooltip:Hide() |
||
111 | </OnLeave> |
||
112 | </Scripts> |
||
113 | </CheckButton> |
||
114 | |||
115 | <Button name="TheoryCraftButtonTemplate" inherits="OptionsButtonTemplate" virtual="true"> |
||
116 | <Size> |
||
117 | <AbsDimension x="73" y="20"/> |
||
118 | </Size> |
||
119 | <Scripts> |
||
120 | <OnClick> |
||
121 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
122 | TheoryCraft_OutfitChange() |
||
123 | </OnClick> |
||
124 | </Scripts> |
||
125 | </Button> |
||
126 | <Frame name="TheoryCraft" parent="UIParent" hidden="true" enableMouse="true" movable="true" > |
||
127 | <Anchors> |
||
128 | <Anchor point="TOP"> |
||
129 | <Offset> |
||
130 | <AbsDimension x="0" y="-20"/> |
||
131 | </Offset> |
||
132 | </Anchor> |
||
133 | </Anchors> |
||
134 | <Size> |
||
135 | <AbsDimension x="340" y="400"/> |
||
136 | </Size> |
||
137 | <Scripts> |
||
138 | <OnMouseDown> |
||
139 | TheoryCraft:StartMoving() |
||
140 | </OnMouseDown> |
||
141 | <OnDragStart> |
||
142 | TheoryCraft:StartMoving() |
||
143 | </OnDragStart> |
||
144 | <OnDragStop> |
||
145 | TheoryCraft:StopMovingOrSizing() |
||
146 | </OnDragStop> |
||
147 | <OnMouseUp> |
||
148 | TheoryCraft:StopMovingOrSizing() |
||
149 | </OnMouseUp> |
||
150 | <OnLoad> |
||
151 | TheoryCraft_OnLoad() |
||
152 | </OnLoad> |
||
153 | <OnEvent> |
||
154 | TheoryCraft_OnEvent() |
||
155 | </OnEvent> |
||
156 | </Scripts> |
||
157 | <Frames> |
||
158 | <Frame name="TheoryCraftSettingsTab" parent="TheoryCraft"> |
||
159 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> |
||
160 | <TileSize> |
||
161 | <AbsValue val="32"/> |
||
162 | </TileSize> |
||
163 | <EdgeSize> |
||
164 | <AbsValue val="32"/> |
||
165 | </EdgeSize> |
||
166 | <BackgroundInsets> |
||
167 | <AbsInset left="11" right="12" top="12" bottom="11"/> |
||
168 | </BackgroundInsets> |
||
169 | </Backdrop> |
||
170 | <Anchors> |
||
171 | <Anchor point="TOP"> |
||
172 | <Offset> |
||
173 | <AbsDimension x="0" y="0"/> |
||
174 | </Offset> |
||
175 | </Anchor> |
||
176 | </Anchors> |
||
177 | <Size> |
||
178 | <AbsDimension x="340" y="400"/> |
||
179 | </Size> |
||
180 | <Layers> |
||
181 | <Layer level="OVERLAY"> |
||
182 | <FontString name="TheoryCraftExtraLineHeading" justifyH="LEFT" justifyV="TOP" inherits="GameFontNormal" text="Embed Line:"> |
||
183 | <Size> |
||
184 | <AbsDimension x="300" y="20"/> |
||
185 | </Size> |
||
186 | <Color r="1.0" g="1" b="0"/> |
||
187 | <Anchors> |
||
188 | <Anchor point="TOPLEFT"> |
||
189 | <Offset> |
||
190 | <AbsDimension x="20" y="-20"/> |
||
191 | </Offset> |
||
192 | </Anchor> |
||
193 | </Anchors> |
||
194 | </FontString> |
||
195 | <FontString name="TheoryCraftRestHeading" justifyH="LEFT" justifyV="TOP" inherits="GameFontNormal" text="Extended Info:"> |
||
196 | <Size> |
||
197 | <AbsDimension x="300" y="20"/> |
||
198 | </Size> |
||
199 | <Color r="1.0" g="1" b="0"/> |
||
200 | <Anchors> |
||
201 | <Anchor point="TOPLEFT"> |
||
202 | <Offset> |
||
203 | <AbsDimension x="20" y="-70"/> |
||
204 | </Offset> |
||
205 | </Anchor> |
||
206 | </Anchors> |
||
207 | </FontString> |
||
208 | <FontString name="TheoryCraftMitHeading" justifyH="LEFT" justifyV="TOP" inherits="GameFontNormal" text="Calculation Settings:"> |
||
209 | <Size> |
||
210 | <AbsDimension x="300" y="20"/> |
||
211 | </Size> |
||
212 | <Color r="1.0" g="1" b="0"/> |
||
213 | <Anchors> |
||
214 | <Anchor point="TOPLEFT"> |
||
215 | <Offset> |
||
216 | <AbsDimension x="20" y="-332"/> |
||
217 | </Offset> |
||
218 | </Anchor> |
||
219 | </Anchors> |
||
220 | </FontString> |
||
221 | </Layer> |
||
222 | </Layers> |
||
223 | <Frames> |
||
224 | <CheckButton name="TheoryCraftembedstyle1" inherits="TheoryCraftCBTemplate"> |
||
225 | <Anchors> |
||
226 | <Anchor point="LEFT" relativeTo="TheoryCraftExtraLineHeading"> |
||
227 | <Offset> |
||
228 | <AbsDimension x="9" y="-14"/> |
||
229 | </Offset> |
||
230 | </Anchor> |
||
231 | </Anchors> |
||
232 | </CheckButton> |
||
233 | <CheckButton name="TheoryCraftembedstyle2" inherits="TheoryCraftCBTemplate"> |
||
234 | <Anchors> |
||
235 | <Anchor point="LEFT" relativeTo="TheoryCraftembedstyle1"> |
||
236 | <Offset> |
||
237 | <AbsDimension x="0" y="-15"/> |
||
238 | </Offset> |
||
239 | </Anchor> |
||
240 | </Anchors> |
||
241 | </CheckButton> |
||
242 | <CheckButton name="TheoryCraftembedstyle3" inherits="TheoryCraftCBTemplate"> |
||
243 | <Anchors> |
||
244 | <Anchor point="LEFT" relativeTo="TheoryCraftembedstyle1"> |
||
245 | <Offset> |
||
246 | <AbsDimension x="140" y="0"/> |
||
247 | </Offset> |
||
248 | </Anchor> |
||
249 | </Anchors> |
||
250 | </CheckButton> |
||
251 | <CheckButton name="TheoryCrafttitles" inherits="TheoryCraftCBTemplate"> |
||
252 | <Anchors> |
||
253 | <Anchor point="TOPLEFT" relativeTo="TheoryCraftRestHeading"> |
||
254 | <Offset> |
||
255 | <AbsDimension x="9" y="-14"/> |
||
256 | </Offset> |
||
257 | </Anchor> |
||
258 | </Anchors> |
||
259 | </CheckButton> |
||
260 | <CheckButton name="TheoryCraftembed" inherits="TheoryCraftCBTemplate"> |
||
261 | <Anchors> |
||
262 | <Anchor point="LEFT" relativeTo="TheoryCrafttitles"> |
||
263 | <Offset> |
||
264 | <AbsDimension x="0" y="-15"/> |
||
265 | </Offset> |
||
266 | </Anchor> |
||
267 | </Anchors> |
||
268 | </CheckButton> |
||
269 | <CheckButton name="TheoryCraftcrit" inherits="TheoryCraftCBTemplate"> |
||
270 | <Anchors> |
||
271 | <Anchor point="LEFT" relativeTo="TheoryCraftembed"> |
||
272 | <Offset> |
||
273 | <AbsDimension x="0" y="-15"/> |
||
274 | </Offset> |
||
275 | </Anchor> |
||
276 | </Anchors> |
||
277 | </CheckButton> |
||
278 | <CheckButton name="TheoryCraftcritdam" inherits="TheoryCraftCBTemplate"> |
||
279 | <Anchors> |
||
280 | <Anchor point="LEFT" relativeTo="TheoryCraftcrit"> |
||
281 | <Offset> |
||
282 | <AbsDimension x="15" y="-15"/> |
||
283 | </Offset> |
||
284 | </Anchor> |
||
285 | </Anchors> |
||
286 | </CheckButton> |
||
287 | <CheckButton name="TheoryCraftsepignite" inherits="TheoryCraftCBTemplate"> |
||
288 | <Anchors> |
||
289 | <Anchor point="LEFT" relativeTo="TheoryCraftcritdam"> |
||
290 | <Offset> |
||
291 | <AbsDimension x="15" y="-15"/> |
||
292 | </Offset> |
||
293 | </Anchor> |
||
294 | </Anchors> |
||
295 | </CheckButton> |
||
296 | <CheckButton name="TheoryCraftrollignites" inherits="TheoryCraftCBTemplate"> |
||
297 | <Anchors> |
||
298 | <Anchor point="LEFT" relativeTo="TheoryCraftsepignite"> |
||
299 | <Offset> |
||
300 | <AbsDimension x="0" y="-15"/> |
||
301 | </Offset> |
||
302 | </Anchor> |
||
303 | </Anchors> |
||
304 | </CheckButton> |
||
305 | <CheckButton name="TheoryCraftdps" inherits="TheoryCraftCBTemplate"> |
||
306 | <Anchors> |
||
307 | <Anchor point="LEFT" relativeTo="TheoryCraftrollignites"> |
||
308 | <Offset> |
||
309 | <AbsDimension x="-30" y="-15"/> |
||
310 | </Offset> |
||
311 | </Anchor> |
||
312 | </Anchors> |
||
313 | </CheckButton> |
||
314 | <CheckButton name="TheoryCraftcombinedot" inherits="TheoryCraftCBTemplate"> |
||
315 | <Anchors> |
||
316 | <Anchor point="LEFT" relativeTo="TheoryCraftdps"> |
||
317 | <Offset> |
||
318 | <AbsDimension x="15" y="-15"/> |
||
319 | </Offset> |
||
320 | </Anchor> |
||
321 | </Anchors> |
||
322 | </CheckButton> |
||
323 | <CheckButton name="TheoryCraftdotoverct" inherits="TheoryCraftCBTemplate"> |
||
324 | <Anchors> |
||
325 | <Anchor point="LEFT" relativeTo="TheoryCraftcombinedot"> |
||
326 | <Offset> |
||
327 | <AbsDimension x="0" y="-15"/> |
||
328 | </Offset> |
||
329 | </Anchor> |
||
330 | </Anchors> |
||
331 | </CheckButton> |
||
332 | <CheckButton name="TheoryCrafthps" inherits="TheoryCraftCBTemplate"> |
||
333 | <Anchors> |
||
334 | <Anchor point="LEFT" relativeTo="TheoryCraftdotoverct"> |
||
335 | <Offset> |
||
336 | <AbsDimension x="-15" y="-15"/> |
||
337 | </Offset> |
||
338 | </Anchor> |
||
339 | </Anchors> |
||
340 | </CheckButton> |
||
341 | <CheckButton name="TheoryCraftdpsdam" inherits="TheoryCraftCBTemplate"> |
||
342 | <Anchors> |
||
343 | <Anchor point="LEFT" relativeTo="TheoryCrafthps"> |
||
344 | <Offset> |
||
345 | <AbsDimension x="0" y="-15"/> |
||
346 | </Offset> |
||
347 | </Anchor> |
||
348 | </Anchors> |
||
349 | </CheckButton> |
||
350 | <CheckButton name="TheoryCraftaveragedam" inherits="TheoryCraftCBTemplate"> |
||
351 | <Anchors> |
||
352 | <Anchor point="LEFT" relativeTo="TheoryCraftdpsdam"> |
||
353 | <Offset> |
||
354 | <AbsDimension x="0" y="-15"/> |
||
355 | </Offset> |
||
356 | </Anchor> |
||
357 | </Anchors> |
||
358 | </CheckButton> |
||
359 | <CheckButton name="TheoryCraftprocs" inherits="TheoryCraftCBTemplate"> |
||
360 | <Anchors> |
||
361 | <Anchor point="LEFT" relativeTo="TheoryCraftaveragedam"> |
||
362 | <Offset> |
||
363 | <AbsDimension x="0" y="-15"/> |
||
364 | </Offset> |
||
365 | </Anchor> |
||
366 | </Anchors> |
||
367 | </CheckButton> |
||
368 | <CheckButton name="TheoryCraftmitigation" inherits="TheoryCraftCBTemplate"> |
||
369 | <Anchors> |
||
370 | <Anchor point="LEFT" relativeTo="TheoryCraftprocs"> |
||
371 | <Offset> |
||
372 | <AbsDimension x="0" y="-15"/> |
||
373 | </Offset> |
||
374 | </Anchor> |
||
375 | </Anchors> |
||
376 | </CheckButton> |
||
377 | <CheckButton name="TheoryCraftresists" inherits="TheoryCraftCBTemplate"> |
||
378 | <Anchors> |
||
379 | <Anchor point="LEFT" relativeTo="TheoryCraftmitigation"> |
||
380 | <Offset> |
||
381 | <AbsDimension x="0" y="-15"/> |
||
382 | </Offset> |
||
383 | </Anchor> |
||
384 | </Anchors> |
||
385 | </CheckButton> |
||
386 | <CheckButton name="TheoryCraftaveragethreat" inherits="TheoryCraftCBTemplate"> |
||
387 | <Anchors> |
||
388 | <Anchor point="LEFT" relativeTo="TheoryCraftresists"> |
||
389 | <Offset> |
||
390 | <AbsDimension x="0" y="-15"/> |
||
391 | </Offset> |
||
392 | </Anchor> |
||
393 | </Anchors> |
||
394 | </CheckButton> |
||
395 | <CheckButton name="TheoryCraftplusdam" inherits="TheoryCraftCBTemplate"> |
||
396 | <Anchors> |
||
397 | <Anchor point="LEFT" relativeTo="TheoryCrafttitles"> |
||
398 | <Offset> |
||
399 | <AbsDimension x="140" y="0"/> |
||
400 | </Offset> |
||
401 | </Anchor> |
||
402 | </Anchors> |
||
403 | </CheckButton> |
||
404 | <CheckButton name="TheoryCraftdamcoef" inherits="TheoryCraftCBTemplate"> |
||
405 | <Anchors> |
||
406 | <Anchor point="LEFT" relativeTo="TheoryCraftplusdam"> |
||
407 | <Offset> |
||
408 | <AbsDimension x="0" y="-15"/> |
||
409 | </Offset> |
||
410 | </Anchor> |
||
411 | </Anchors> |
||
412 | </CheckButton> |
||
413 | <CheckButton name="TheoryCraftdameff" inherits="TheoryCraftCBTemplate"> |
||
414 | <Anchors> |
||
415 | <Anchor point="LEFT" relativeTo="TheoryCraftdamcoef"> |
||
416 | <Offset> |
||
417 | <AbsDimension x="0" y="-15"/> |
||
418 | </Offset> |
||
419 | </Anchor> |
||
420 | </Anchors> |
||
421 | </CheckButton> |
||
422 | <CheckButton name="TheoryCraftdamfinal" inherits="TheoryCraftCBTemplate"> |
||
423 | <Anchors> |
||
424 | <Anchor point="LEFT" relativeTo="TheoryCraftdameff"> |
||
425 | <Offset> |
||
426 | <AbsDimension x="0" y="-15"/> |
||
427 | </Offset> |
||
428 | </Anchor> |
||
429 | </Anchors> |
||
430 | </CheckButton> |
||
431 | <CheckButton name="TheoryCrafthealanddamage" inherits="TheoryCraftCBTemplate"> |
||
432 | <Anchors> |
||
433 | <Anchor point="LEFT" relativeTo="TheoryCraftdamfinal"> |
||
434 | <Offset> |
||
435 | <AbsDimension x="0" y="-15"/> |
||
436 | </Offset> |
||
437 | </Anchor> |
||
438 | </Anchors> |
||
439 | </CheckButton> |
||
440 | <CheckButton name="TheoryCraftnextagi" inherits="TheoryCraftCBTemplate"> |
||
441 | <Anchors> |
||
442 | <Anchor point="LEFT" relativeTo="TheoryCrafthealanddamage"> |
||
443 | <Offset> |
||
444 | <AbsDimension x="0" y="-15"/> |
||
445 | </Offset> |
||
446 | </Anchor> |
||
447 | </Anchors> |
||
448 | </CheckButton> |
||
449 | <CheckButton name="TheoryCraftnextstr" inherits="TheoryCraftCBTemplate"> |
||
450 | <Anchors> |
||
451 | <Anchor point="LEFT" relativeTo="TheoryCraftnextagi"> |
||
452 | <Offset> |
||
453 | <AbsDimension x="0" y="-15"/> |
||
454 | </Offset> |
||
455 | </Anchor> |
||
456 | </Anchors> |
||
457 | </CheckButton> |
||
458 | <CheckButton name="TheoryCraftnextcrit" inherits="TheoryCraftCBTemplate"> |
||
459 | <Anchors> |
||
460 | <Anchor point="LEFT" relativeTo="TheoryCraftnextstr"> |
||
461 | <Offset> |
||
462 | <AbsDimension x="0" y="-15"/> |
||
463 | </Offset> |
||
464 | </Anchor> |
||
465 | </Anchors> |
||
466 | </CheckButton> |
||
467 | <CheckButton name="TheoryCraftnexthit" inherits="TheoryCraftCBTemplate"> |
||
468 | <Anchors> |
||
469 | <Anchor point="LEFT" relativeTo="TheoryCraftnextcrit"> |
||
470 | <Offset> |
||
471 | <AbsDimension x="0" y="-15"/> |
||
472 | </Offset> |
||
473 | </Anchor> |
||
474 | </Anchors> |
||
475 | </CheckButton> |
||
476 | <CheckButton name="TheoryCraftnextpen" inherits="TheoryCraftCBTemplate"> |
||
477 | <Anchors> |
||
478 | <Anchor point="LEFT" relativeTo="TheoryCraftnexthit"> |
||
479 | <Offset> |
||
480 | <AbsDimension x="0" y="-15"/> |
||
481 | </Offset> |
||
482 | </Anchor> |
||
483 | </Anchors> |
||
484 | </CheckButton> |
||
485 | <CheckButton name="TheoryCraftmana" inherits="TheoryCraftCBTemplate"> |
||
486 | <Anchors> |
||
487 | <Anchor point="LEFT" relativeTo="TheoryCraftnextpen"> |
||
488 | <Offset> |
||
489 | <AbsDimension x="0" y="-15"/> |
||
490 | </Offset> |
||
491 | </Anchor> |
||
492 | </Anchors> |
||
493 | </CheckButton> |
||
494 | <CheckButton name="TheoryCraftdpm" inherits="TheoryCraftCBTemplate"> |
||
495 | <Anchors> |
||
496 | <Anchor point="LEFT" relativeTo="TheoryCraftmana"> |
||
497 | <Offset> |
||
498 | <AbsDimension x="0" y="-15"/> |
||
499 | </Offset> |
||
500 | </Anchor> |
||
501 | </Anchors> |
||
502 | </CheckButton> |
||
503 | <CheckButton name="TheoryCrafthpm" inherits="TheoryCraftCBTemplate"> |
||
504 | <Anchors> |
||
505 | <Anchor point="LEFT" relativeTo="TheoryCraftdpm"> |
||
506 | <Offset> |
||
507 | <AbsDimension x="0" y="-15"/> |
||
508 | </Offset> |
||
509 | </Anchor> |
||
510 | </Anchors> |
||
511 | </CheckButton> |
||
512 | <CheckButton name="TheoryCraftmax" inherits="TheoryCraftCBTemplate"> |
||
513 | <Anchors> |
||
514 | <Anchor point="LEFT" relativeTo="TheoryCrafthpm"> |
||
515 | <Offset> |
||
516 | <AbsDimension x="0" y="-15"/> |
||
517 | </Offset> |
||
518 | </Anchor> |
||
519 | </Anchors> |
||
520 | </CheckButton> |
||
521 | <CheckButton name="TheoryCraftmaxevoc" inherits="TheoryCraftCBTemplate"> |
||
522 | <Anchors> |
||
523 | <Anchor point="LEFT" relativeTo="TheoryCraftmax"> |
||
524 | <Offset> |
||
525 | <AbsDimension x="0" y="-15"/> |
||
526 | </Offset> |
||
527 | </Anchor> |
||
528 | </Anchors> |
||
529 | </CheckButton> |
||
530 | <CheckButton name="TheoryCraftlifetap" inherits="TheoryCraftCBTemplate"> |
||
531 | <Anchors> |
||
532 | <Anchor point="LEFT" relativeTo="TheoryCraftmaxevoc"> |
||
533 | <Offset> |
||
534 | <AbsDimension x="0" y="-15"/> |
||
535 | </Offset> |
||
536 | </Anchor> |
||
537 | </Anchors> |
||
538 | </CheckButton> |
||
539 | <CheckButton name="TheoryCraftdontcrit" inherits="TheoryCraftCBTemplate"> |
||
540 | <Anchors> |
||
541 | <Anchor point="TOPLEFT" relativeTo="TheoryCraftMitHeading"> |
||
542 | <Offset> |
||
543 | <AbsDimension x="9" y="-12"/> |
||
544 | </Offset> |
||
545 | </Anchor> |
||
546 | </Anchors> |
||
547 | </CheckButton> |
||
548 | <CheckButton name="TheoryCraftdontresist" inherits="TheoryCraftCB2Template"> |
||
549 | <Anchors> |
||
550 | <Anchor point="LEFT" relativeTo="TheoryCraftdontcrit"> |
||
551 | <Offset> |
||
552 | <AbsDimension x="122" y="0"/> |
||
553 | </Offset> |
||
554 | </Anchor> |
||
555 | </Anchors> |
||
556 | </CheckButton> |
||
557 | <CheckButton name="TheoryCraftuseglock" inherits="TheoryCraftCBTemplate"> |
||
558 | <Anchors> |
||
559 | <Anchor point="LEFT" relativeTo="TheoryCraftdontresist"> |
||
560 | <Offset> |
||
561 | <AbsDimension x="90" y="0"/> |
||
562 | </Offset> |
||
563 | </Anchor> |
||
564 | </Anchors> |
||
565 | </CheckButton> |
||
566 | <EditBox name="TheoryCraftresistArcane" inherits="TheoryCraft_EditBoxTemplate"> |
||
567 | <Size><AbsDimension x="30" y="20"/></Size> |
||
568 | <Anchors> |
||
569 | <Anchor point="TOPLEFT" relativeTo="TheoryCraftdontcrit"> |
||
570 | <Offset> |
||
571 | <AbsDimension x="32" y="-19"/> |
||
572 | </Offset> |
||
573 | </Anchor> |
||
574 | </Anchors> |
||
575 | <Scripts> |
||
576 | <OnLoad> |
||
577 | getglobal(this:GetName().."Label"):SetText("Ar: ") |
||
578 | </OnLoad> |
||
579 | </Scripts> |
||
580 | </EditBox> |
||
581 | <EditBox name="TheoryCraftresistFire" inherits="TheoryCraft_EditBoxTemplate"> |
||
582 | <Size><AbsDimension x="30" y="20"/></Size> |
||
583 | <Anchors> |
||
584 | <Anchor point="LEFT" relativeTo="TheoryCraftresistArcane" relativePoint="RIGHT"> |
||
585 | <Offset> |
||
586 | <AbsDimension x="19" y="0"/> |
||
587 | </Offset> |
||
588 | </Anchor> |
||
589 | </Anchors> |
||
590 | <Scripts> |
||
591 | <OnLoad> |
||
592 | getglobal(this:GetName().."Label"):SetText("Fi: ") |
||
593 | </OnLoad> |
||
594 | </Scripts> |
||
595 | </EditBox> |
||
596 | <EditBox name="TheoryCraftresistNature" inherits="TheoryCraft_EditBoxTemplate"> |
||
597 | <Size><AbsDimension x="30" y="20"/></Size> |
||
598 | <Anchors> |
||
599 | <Anchor point="LEFT" relativeTo="TheoryCraftresistFire" relativePoint="RIGHT"> |
||
600 | <Offset> |
||
601 | <AbsDimension x="22" y="0"/> |
||
602 | </Offset> |
||
603 | </Anchor> |
||
604 | </Anchors> |
||
605 | <Scripts> |
||
606 | <OnLoad> |
||
607 | getglobal(this:GetName().."Label"):SetText("Na: ") |
||
608 | </OnLoad> |
||
609 | </Scripts> |
||
610 | </EditBox> |
||
611 | <EditBox name="TheoryCraftresistFrost" inherits="TheoryCraft_EditBoxTemplate"> |
||
612 | <Size><AbsDimension x="30" y="20"/></Size> |
||
613 | <Anchors> |
||
614 | <Anchor point="LEFT" relativeTo="TheoryCraftresistNature" relativePoint="RIGHT"> |
||
615 | <Offset> |
||
616 | <AbsDimension x="19" y="0"/> |
||
617 | </Offset> |
||
618 | </Anchor> |
||
619 | </Anchors> |
||
620 | <Scripts> |
||
621 | <OnLoad> |
||
622 | getglobal(this:GetName().."Label"):SetText("Fr: ") |
||
623 | </OnLoad> |
||
624 | </Scripts> |
||
625 | </EditBox> |
||
626 | <EditBox name="TheoryCraftresistShadow" inherits="TheoryCraft_EditBoxTemplate"> |
||
627 | <Size><AbsDimension x="30" y="20"/></Size> |
||
628 | <Anchors> |
||
629 | <Anchor point="LEFT" relativeTo="TheoryCraftresistFrost" relativePoint="RIGHT"> |
||
630 | <Offset> |
||
631 | <AbsDimension x="19" y="0"/> |
||
632 | </Offset> |
||
633 | </Anchor> |
||
634 | </Anchors> |
||
635 | <Scripts> |
||
636 | <OnLoad> |
||
637 | getglobal(this:GetName().."Label"):SetText("Sh: ") |
||
638 | </OnLoad> |
||
639 | </Scripts> |
||
640 | </EditBox> |
||
641 | </Frames> |
||
642 | </Frame> |
||
643 | <Button name="TheoryCraftClose" inherits="TheoryCraftButtonTemplate" text="X"> |
||
644 | <Size> |
||
645 | <AbsDimension x="18" y="22"/> |
||
646 | </Size> |
||
647 | <Anchors> |
||
648 | <Anchor point="TOPRIGHT" relativeTo="TheoryCraft" relativePoint="TOPRIGHT"> |
||
649 | <Offset> |
||
650 | <AbsDimension x="-2" y="-2"/> |
||
651 | </Offset> |
||
652 | </Anchor> |
||
653 | </Anchors> |
||
654 | </Button> |
||
655 | </Frames> |
||
656 | </Frame> |
||
657 | <Frame name="TheoryCraftTitleFrame" parent="TheoryCraft" > |
||
658 | <Anchors> |
||
659 | <Anchor point="CENTER" relativePoint="TOP"> |
||
660 | <Offset> |
||
661 | <AbsDimension x="0" y="-4"/> |
||
662 | </Offset> |
||
663 | </Anchor> |
||
664 | </Anchors> |
||
665 | <Size> |
||
666 | <AbsDimension x="95" y="27"/> |
||
667 | </Size> |
||
668 | <Layers> |
||
669 | <Layer level="ARTWORK"> |
||
670 | <Texture name="TheoryCraftFrameTitle" file="Interface\DialogFrame\UI-DialogBox-Header"> |
||
671 | <Size> |
||
672 | <AbsDimension x="200" y="60" /> |
||
673 | </Size> |
||
674 | <Anchors> |
||
675 | <Anchor point="TOP"> |
||
676 | <Offset> |
||
677 | <AbsDimension x="0" y="6" /> |
||
678 | </Offset> |
||
679 | </Anchor> |
||
680 | </Anchors> |
||
681 | </Texture> |
||
682 | </Layer> |
||
683 | <Layer level="OVERLAY"> |
||
684 | <Fontstring name="TheoryCraftTitle" inherits="GameFontNormal" text="TheoryCraft"> |
||
685 | <Anchors> |
||
686 | <Anchor point="TOP"> |
||
687 | <Offset> |
||
688 | <AbsDimension x="0" y="-6"/> |
||
689 | </Offset> |
||
690 | </Anchor> |
||
691 | </Anchors> |
||
692 | <Color r="1" g="1" b="1" a="1"/> |
||
693 | </Fontstring> |
||
694 | </Layer> |
||
695 | </Layers> |
||
696 | </Frame> |
||
697 | <GameTooltip name="TheoryCraftTooltip" inherits="GameTooltipTemplate" parent="UIParent" hidden="true"> |
||
698 | <Scripts> |
||
699 | <OnLoad> |
||
700 | this:SetOwner(UIParent, "ANCHOR_NONE"); |
||
701 | </OnLoad> |
||
702 | </Scripts> |
||
703 | </GameTooltip> |
||
704 | <GameTooltip name="TCTooltip" inherits="GameTooltipTemplate" parent="UIParent" hidden="true"> |
||
705 | <Scripts> |
||
706 | <OnLoad> |
||
707 | this:SetOwner(UIParent, "ANCHOR_NONE"); |
||
708 | </OnLoad> |
||
709 | </Scripts> |
||
710 | </GameTooltip> |
||
711 | |||
712 | <Frame name="TheoryCraftTalentUpdater" parent="UIParent"> |
||
713 | <Anchors> |
||
714 | <Anchor point="TOP"> |
||
715 | <Offset> |
||
716 | <AbsDimension x="10" y="10"/> |
||
717 | </Offset> |
||
718 | </Anchor> |
||
719 | </Anchors> |
||
720 | <Size> |
||
721 | <AbsDimension x="0" y="0"/> |
||
722 | </Size> |
||
723 | <Scripts> |
||
724 | <OnUpdate> |
||
725 | TheoryCraft_UpdateTalents() |
||
726 | if TheoryCraft_Data.TalentsHaveBeenRead then |
||
727 | TheoryCraftTalentUpdater:Hide() |
||
728 | end |
||
729 | </OnUpdate> |
||
730 | </Scripts> |
||
731 | </Frame> |
||
732 | </Ui> |