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/ C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd"> |
2 | <Script file="localization.lua"/> |
||
3 | <Script file="Trigger.lua"/> |
||
4 | <Script file="Timers.lua"/> |
||
5 | |||
6 | <Frame name="Timers_EventHandler"> |
||
7 | <Scripts> |
||
8 | <OnUpdate> |
||
9 | Timers_OnUpdate(arg1); |
||
10 | </OnUpdate> |
||
11 | <OnEvent> |
||
12 | Timers_OnEvent(event); |
||
13 | </OnEvent> |
||
14 | <OnLoad> |
||
15 | Timers_OnLoad(); |
||
16 | </OnLoad> |
||
17 | </Scripts> |
||
18 | </Frame> |
||
19 | |||
20 | <Button name="TextButtonTemplate" virtual="true"> |
||
21 | <Size> |
||
22 | <AbsDimension x="22" y="22"/> |
||
23 | </Size> |
||
24 | <NormalText name="$parentText" inherits="GameFontHighlight"> |
||
25 | <Anchors> |
||
26 | <Anchor point="CENTER"> |
||
27 | <Offset> |
||
28 | <AbsDimension x="0" y="2"/> |
||
29 | </Offset> |
||
30 | </Anchor> |
||
31 | </Anchors> |
||
32 | </NormalText> |
||
33 | <NormalTexture file="Interface\AddOns\Timers\Images\Blank" name="$parentTexture"/> |
||
34 | <HighlightTexture file="Interface\Buttons\CheckButtonHilight" alphaMode="ADD"/> |
||
35 | </Button> |
||
36 | |||
37 | <Button name="SortButtonTemplate" virtual="true"> |
||
38 | <Layers> |
||
39 | <Layer level="BACKGROUND"> |
||
40 | <Texture name="$parentLeft" file="Interface\FriendsFrame\WhoFrame-ColumnTabs"> |
||
41 | <Size> |
||
42 | <AbsDimension x="5" y="16"/> |
||
43 | </Size> |
||
44 | <Anchors> |
||
45 | <Anchor point="TOPLEFT"/> |
||
46 | </Anchors> |
||
47 | <TexCoords left="0" right="0.078125" top="0" bottom="0.59375"/> |
||
48 | </Texture> |
||
49 | <Texture name="$parentRight" file="Interface\FriendsFrame\WhoFrame-ColumnTabs"> |
||
50 | <Size> |
||
51 | <AbsDimension x="4" y="16"/> |
||
52 | </Size> |
||
53 | <Anchors> |
||
54 | <Anchor point="TOPRIGHT"/> |
||
55 | </Anchors> |
||
56 | <TexCoords left="0.90625" right="0.96875" top="0" bottom="0.59375"/> |
||
57 | </Texture> |
||
58 | <Texture name="$parentMiddle" file="Interface\FriendsFrame\WhoFrame-ColumnTabs"> |
||
59 | <Size> |
||
60 | <AbsDimension x="10" y="16"/> |
||
61 | </Size> |
||
62 | <Anchors> |
||
63 | <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/> |
||
64 | <Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT"/> |
||
65 | </Anchors> |
||
66 | <TexCoords left="0.078125" right="0.90625" top="0" bottom="0.59375"/> |
||
67 | </Texture> |
||
68 | </Layer> |
||
69 | </Layers> |
||
70 | <Scripts> |
||
71 | <OnLoad> |
||
72 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
73 | </OnLoad> |
||
74 | </Scripts> |
||
75 | <NormalText name="$parentText" inherits="GameFontHighlightSmall"> |
||
76 | <Anchors> |
||
77 | <Anchor point="LEFT"> |
||
78 | <Offset> |
||
79 | <AbsDimension x="8" y="0"/> |
||
80 | </Offset> |
||
81 | </Anchor> |
||
82 | </Anchors> |
||
83 | </NormalText> |
||
84 | <NormalTexture name="$parentArrow" file="Interface\Buttons\UI-SortArrow"> |
||
85 | <Size> |
||
86 | <AbsDimension x="9" y="8"/> |
||
87 | </Size> |
||
88 | <Anchors> |
||
89 | <Anchor point="LEFT" relativeTo="$parentText" relativePoint="RIGHT"> |
||
90 | <Offset> |
||
91 | <AbsDimension x="3" y="-2"/> |
||
92 | </Offset> |
||
93 | </Anchor> |
||
94 | </Anchors> |
||
95 | <TexCoords left="0" right="0.5625" top="0" bottom="1.0"/> |
||
96 | </NormalTexture> |
||
97 | <HighlightTexture file="Interface\PaperDollInfoFrame\UI-Character-Tab-Highlight" alphaMode="ADD"> |
||
98 | <Size> |
||
99 | <AbsDimension x="5" y="24"/> |
||
100 | </Size> |
||
101 | <Anchors> |
||
102 | <Anchor point="LEFT"> |
||
103 | <Offset> |
||
104 | <AbsDimension x="0" y="0"/> |
||
105 | </Offset> |
||
106 | </Anchor> |
||
107 | <Anchor point="RIGHT"> |
||
108 | <Offset> |
||
109 | <AbsDimension x="4" y="0"/> |
||
110 | </Offset> |
||
111 | </Anchor> |
||
112 | </Anchors> |
||
113 | </HighlightTexture> |
||
114 | </Button> |
||
115 | |||
116 | <Button name="TimersTabButtonTemplate" virtual="true" alpha="0.8"> |
||
117 | <Size> |
||
118 | <AbsDimension x="57" y="24"/> |
||
119 | </Size> |
||
120 | <Layers> |
||
121 | <Layer level="BACKGROUND"> |
||
122 | <Texture name="$parentLeftDisabled" file="Interface\PaperDollInfoFrame\UI-Character-ActiveTab"> |
||
123 | <Size> |
||
124 | <AbsDimension x="20" y="24"/> |
||
125 | </Size> |
||
126 | <Anchors> |
||
127 | <Anchor point="TOPLEFT"> |
||
128 | <Offset> |
||
129 | <AbsDimension x="0" y="5"/> |
||
130 | </Offset> |
||
131 | </Anchor> |
||
132 | </Anchors> |
||
133 | <TexCoords left="0" right="0.15625" top="0" bottom="1.0"/> |
||
134 | </Texture> |
||
135 | <Texture name="$parentMiddleDisabled" file="Interface\PaperDollInfoFrame\UI-Character-ActiveTab"> |
||
136 | <Size> |
||
137 | <AbsDimension x="35" y="24"/> |
||
138 | </Size> |
||
139 | <Anchors> |
||
140 | <Anchor point="LEFT" relativeTo="$parentLeftDisabled" relativePoint="RIGHT"/> |
||
141 | </Anchors> |
||
142 | <TexCoords left="0.15625" right="0.84375" top="0" bottom="1.0"/> |
||
143 | </Texture> |
||
144 | <Texture name="$parentRightDisabled" file="Interface\PaperDollInfoFrame\UI-Character-ActiveTab"> |
||
145 | <Size> |
||
146 | <AbsDimension x="20" y="24"/> |
||
147 | </Size> |
||
148 | <Anchors> |
||
149 | <Anchor point="LEFT" relativeTo="$parentMiddleDisabled" relativePoint="RIGHT"/> |
||
150 | </Anchors> |
||
151 | <TexCoords left="0.84375" right="1.0" top="0" bottom="1.0"/> |
||
152 | </Texture> |
||
153 | <Texture name="$parentLeft" file="Interface\PaperDollInfoFrame\UI-Character-InActiveTab"> |
||
154 | <Size> |
||
155 | <AbsDimension x="20" y="24"/> |
||
156 | </Size> |
||
157 | <Anchors> |
||
158 | <Anchor point="TOPLEFT"/> |
||
159 | </Anchors> |
||
160 | <TexCoords left="0" right="0.15625" top="0" bottom="1.0"/> |
||
161 | </Texture> |
||
162 | <Texture name="$parentMiddle" file="Interface\PaperDollInfoFrame\UI-Character-InActiveTab"> |
||
163 | <Size> |
||
164 | <AbsDimension x="35" y="24"/> |
||
165 | </Size> |
||
166 | <Anchors> |
||
167 | <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/> |
||
168 | </Anchors> |
||
169 | <TexCoords left="0.15625" right="0.84375" top="0" bottom="1.0"/> |
||
170 | </Texture> |
||
171 | <Texture name="$parentRight" file="Interface\PaperDollInfoFrame\UI-Character-InActiveTab"> |
||
172 | <Size> |
||
173 | <AbsDimension x="20" y="24"/> |
||
174 | </Size> |
||
175 | <Anchors> |
||
176 | <Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT"/> |
||
177 | </Anchors> |
||
178 | <TexCoords left="0.84375" right="1.0" top="0" bottom="1.0"/> |
||
179 | </Texture> |
||
180 | </Layer> |
||
181 | </Layers> |
||
182 | <Scripts> |
||
183 | <OnLoad> |
||
184 | this:SetFrameLevel(this:GetFrameLevel() + 4); |
||
185 | </OnLoad> |
||
186 | <OnShow> |
||
187 | getglobal(this:GetName().."HighlightTexture"):SetWidth(this:GetTextWidth() + 30); |
||
188 | </OnShow> |
||
189 | <OnClick> |
||
190 | Timers_TabControl(this); |
||
191 | </OnClick> |
||
192 | </Scripts> |
||
193 | <NormalText name="$parentText" inherits="GameFontNormalSmall"> |
||
194 | <Anchors> |
||
195 | <Anchor point="CENTER"> |
||
196 | <Offset> |
||
197 | <AbsDimension x="8" y="4"/> |
||
198 | </Offset> |
||
199 | </Anchor> |
||
200 | </Anchors> |
||
201 | </NormalText> |
||
202 | <HighlightText name="$parentHighlightText" inherits="GameFontHighlightSmall"> |
||
203 | <Anchors> |
||
204 | <Anchor point="CENTER"> |
||
205 | <Offset> |
||
206 | <AbsDimension x="8" y="4"/> |
||
207 | </Offset> |
||
208 | </Anchor> |
||
209 | </Anchors> |
||
210 | </HighlightText> |
||
211 | <DisabledText name="$parentDisabledText" inherits="GameFontHighlightSmall"> |
||
212 | <Anchors> |
||
213 | <Anchor point="CENTER"> |
||
214 | <Offset> |
||
215 | <AbsDimension x="8" y="4"/> |
||
216 | </Offset> |
||
217 | </Anchor> |
||
218 | </Anchors> |
||
219 | </DisabledText> |
||
220 | <HighlightTexture name="$parentHighlightTexture" file="Interface\PaperDollInfoFrame\UI-Character-Tab-Highlight" alphaMode="ADD"> |
||
221 | <Anchors> |
||
222 | <Anchor point="LEFT"> |
||
223 | <Offset> |
||
224 | <AbsDimension x="12" y="2"/> |
||
225 | </Offset> |
||
226 | </Anchor> |
||
227 | <Anchor point="RIGHT"> |
||
228 | <Offset> |
||
229 | <AbsDimension x="3" y="2"/> |
||
230 | </Offset> |
||
231 | </Anchor> |
||
232 | </Anchors> |
||
233 | </HighlightTexture> |
||
234 | </Button> |
||
235 | |||
236 | <EditBox name="TimersEditBoxTemplate" enableMouse="true" autoFocus="false" virtual="true"> |
||
237 | <Scripts> |
||
238 | <OnEscapePressed> |
||
239 | this:ClearFocus(); |
||
240 | </OnEscapePressed> |
||
241 | <OnEditFocusLost> |
||
242 | this:HighlightText(0, 0); |
||
243 | </OnEditFocusLost> |
||
244 | <OnEditFocusGained> |
||
245 | this:HighlightText(); |
||
246 | </OnEditFocusGained> |
||
247 | <OnEnterPressed> |
||
248 | this:ClearFocus(); |
||
249 | </OnEnterPressed> |
||
250 | </Scripts> |
||
251 | <FontString inherits="ChatFontNormal" bytes="100"/> |
||
252 | </EditBox> |
||
253 | |||
254 | <EditBox name="TimersEditBoxDropDownTemplate" enableMouse="true" autoFocus="false" virtual="true"> |
||
255 | <Frames> |
||
256 | <Button name="$parentDropDownButton"> |
||
257 | <Size> |
||
258 | <AbsDimension x="24" y="24"/> |
||
259 | </Size> |
||
260 | <Anchors> |
||
261 | <Anchor point="RIGHT"> |
||
262 | </Anchor> |
||
263 | </Anchors> |
||
264 | <Scripts> |
||
265 | <OnClick> |
||
266 | ToggleDropDownMenu(1, nil, getglobal(this:GetParent():GetName().."DropDownMenu"), this:GetParent(), -35, 0); |
||
267 | </OnClick> |
||
268 | </Scripts> |
||
269 | <NormalTexture file="Interface\Buttons\UI-ScrollBar-ScrollDownButton-Up"/> |
||
270 | <PushedTexture file="Interface\Buttons\UI-ScrollBar-ScrollDownButton-Down"/> |
||
271 | <DisabledTexture file="Interface\Buttons\UI-ScrollBar-ScrollDownButton-Disabled"/> |
||
272 | </Button> |
||
273 | <Frame name="$parentDropDownMenu" inherits="UIDropDownMenuTemplate" id="1" hidden="true"> |
||
274 | <Scripts> |
||
275 | <OnLoad> |
||
276 | TimersDropDownTimerRowMenuEntry_Init(); |
||
277 | </OnLoad> |
||
278 | </Scripts> |
||
279 | </Frame> |
||
280 | </Frames> |
||
281 | <Scripts> |
||
282 | <OnEscapePressed> |
||
283 | this:ClearFocus(); |
||
284 | </OnEscapePressed> |
||
285 | <OnEditFocusLost> |
||
286 | this:HighlightText(0, 0); |
||
287 | </OnEditFocusLost> |
||
288 | <OnEditFocusGained> |
||
289 | this:HighlightText(); |
||
290 | </OnEditFocusGained> |
||
291 | <OnEnterPressed> |
||
292 | this:ClearFocus(); |
||
293 | </OnEnterPressed> |
||
294 | </Scripts> |
||
295 | <FontString inherits="ChatFontNormal" bytes="100"/> |
||
296 | </EditBox> |
||
297 | |||
298 | <Button name="TimersDropDownInputTemplate" virtual="true"> |
||
299 | <Frames> |
||
300 | <Button name="$parentDropDownButton"> |
||
301 | <Size> |
||
302 | <AbsDimension x="24" y="24"/> |
||
303 | </Size> |
||
304 | <Anchors> |
||
305 | <Anchor point="RIGHT"> |
||
306 | </Anchor> |
||
307 | </Anchors> |
||
308 | <Scripts> |
||
309 | <OnClick> |
||
310 | ToggleDropDownMenu(1, nil, getglobal(this:GetParent():GetName().."DropDownMenu"), this:GetParent(), -35, 0); |
||
311 | </OnClick> |
||
312 | </Scripts> |
||
313 | <NormalTexture file="Interface\Buttons\UI-ScrollBar-ScrollDownButton-Up"/> |
||
314 | <PushedTexture file="Interface\Buttons\UI-ScrollBar-ScrollDownButton-Down"/> |
||
315 | <DisabledTexture file="Interface\Buttons\UI-ScrollBar-ScrollDownButton-Disabled"/> |
||
316 | </Button> |
||
317 | <Frame name="$parentDropDownMenu" inherits="UIDropDownMenuTemplate" id="1" hidden="true"> |
||
318 | <Scripts> |
||
319 | <OnLoad> |
||
320 | TimersDropDownTimerRowMenuEntry_Init(); |
||
321 | </OnLoad> |
||
322 | </Scripts> |
||
323 | </Frame> |
||
324 | </Frames> |
||
325 | <NormalText name="$parentText" inherits="GameFontNormalSmall"> |
||
326 | <Anchors> |
||
327 | <Anchor point="CENTER"> |
||
328 | <Offset> |
||
329 | <AbsDimension x="-5" y="0"/> |
||
330 | </Offset> |
||
331 | </Anchor> |
||
332 | </Anchors> |
||
333 | </NormalText> |
||
334 | </Button> |
||
335 | |||
336 | <Button name="TimersRowTemplate" virtual="true"> |
||
337 | <Size> |
||
338 | <AbsDimension x="250" y="20"/> |
||
339 | </Size> |
||
340 | <Layers> |
||
341 | <Layer level="BACKGROUND"> |
||
342 | <Texture name="$parentLeft" file="Interface\AuctionFrame\UI-AuctionItemNameFrame"> |
||
343 | <Size> |
||
344 | <AbsDimension x="10" y="19"/> |
||
345 | </Size> |
||
346 | <Anchors> |
||
347 | <Anchor point="LEFT"> |
||
348 | <Offset> |
||
349 | <AbsDimension x="1" y="2"/> |
||
350 | </Offset> |
||
351 | </Anchor> |
||
352 | </Anchors> |
||
353 | <TexCoords left="0" right="0.078125" top="0" bottom="1.0"/> |
||
354 | </Texture> |
||
355 | <Texture name="$parentMiddle" file="Interface\AuctionFrame\UI-AuctionItemNameFrame"> |
||
356 | <Size> |
||
357 | <AbsDimension x="280" y="19"/> |
||
358 | </Size> |
||
359 | <Anchors> |
||
360 | <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"> |
||
361 | <Offset> |
||
362 | <AbsDimension x="0" y="0"/> |
||
363 | </Offset> |
||
364 | </Anchor> |
||
365 | </Anchors> |
||
366 | <TexCoords left="0.078125" right="0.75" top="0" bottom="1.0"/> |
||
367 | </Texture> |
||
368 | <Texture name="$parentRight" file="Interface\AuctionFrame\UI-AuctionItemNameFrame"> |
||
369 | <Size> |
||
370 | <AbsDimension x="10" y="19"/> |
||
371 | </Size> |
||
372 | <Anchors> |
||
373 | <Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT"> |
||
374 | <Offset> |
||
375 | <AbsDimension x="0" y="0"/> |
||
376 | </Offset> |
||
377 | </Anchor> |
||
378 | </Anchors> |
||
379 | <TexCoords left="0.75" right="0.828125" top="0" bottom="1.0"/> |
||
380 | </Texture> |
||
381 | <FontString name="$parentGrpByPlaytimeTitle" inherits="GameFontHighlightSmall" text="TIMERS_LOC_BYPLAYTIME" justifyH="LEFT"> |
||
382 | <Anchors> |
||
383 | <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPRIGHT"> |
||
384 | <Offset> |
||
385 | <AbsDimension x="-20" y="0"/> |
||
386 | </Offset> |
||
387 | </Anchor> |
||
388 | </Anchors> |
||
389 | <Size> |
||
390 | <AbsDimension x="75" y="20"/> |
||
391 | </Size> |
||
392 | </FontString> |
||
393 | <FontString name="$parentGrpOnStartTitle" inherits="GameFontHighlightSmall" text="TIMERS_LOC_WHENSTARTING" justifyH="LEFT"> |
||
394 | <Anchors> |
||
395 | <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPRIGHT"> |
||
396 | <Offset> |
||
397 | <AbsDimension x="80" y="0"/> |
||
398 | </Offset> |
||
399 | </Anchor> |
||
400 | </Anchors> |
||
401 | <Size> |
||
402 | <AbsDimension x="75" y="20"/> |
||
403 | </Size> |
||
404 | </FontString> |
||
405 | <FontString name="$parentGrpResetCntTitle" inherits="GameFontHighlightSmall" text="TIMERS_LOC_RESETCNT" justifyH="LEFT"> |
||
406 | <Anchors> |
||
407 | <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPRIGHT"> |
||
408 | <Offset> |
||
409 | <AbsDimension x="180" y="0"/> |
||
410 | </Offset> |
||
411 | </Anchor> |
||
412 | </Anchors> |
||
413 | <Size> |
||
414 | <AbsDimension x="75" y="20"/> |
||
415 | </Size> |
||
416 | </FontString> |
||
417 | <FontString name="$parentGrpDeleteTimerTitle" inherits="GameFontHighlightSmall" text="TIMERS_LOC_DELETEBYGROUP" justifyH="LEFT"> |
||
418 | <Anchors> |
||
419 | <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPRIGHT"> |
||
420 | <Offset> |
||
421 | <AbsDimension x="280" y="0"/> |
||
422 | </Offset> |
||
423 | </Anchor> |
||
424 | </Anchors> |
||
425 | <Size> |
||
426 | <AbsDimension x="100" y="20"/> |
||
427 | </Size> |
||
428 | </FontString> |
||
429 | </Layer> |
||
430 | </Layers> |
||
431 | <Frames> |
||
432 | <Button name="$parentMenuButton" inherits="TextButtonTemplate" text="!"> |
||
433 | <Anchors> |
||
434 | <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"> |
||
435 | <Offset> |
||
436 | <AbsDimension x="0" y="2"/> |
||
437 | </Offset> |
||
438 | </Anchor> |
||
439 | </Anchors> |
||
440 | <Scripts> |
||
441 | <OnClick> |
||
442 | Timers_TriggerMenuButton(); |
||
443 | </OnClick> |
||
444 | </Scripts> |
||
445 | </Button> |
||
446 | <Frame name="$parentDropDownMenu" inherits="UIDropDownMenuTemplate" id="1" hidden="true"> |
||
447 | <Scripts> |
||
448 | <OnLoad> |
||
449 | TimersDropDownTimerRowMenu_Init(); |
||
450 | </OnLoad> |
||
451 | </Scripts> |
||
452 | </Frame> |
||
453 | <CheckButton name="$parentActive" inherits="UICheckButtonTemplate"> |
||
454 | <Size> |
||
455 | <AbsDimension x="20" y="20"/> |
||
456 | </Size> |
||
457 | <Anchors> |
||
458 | <Anchor point="TOPLEFT" relativeTo="$parentMenuButton" relativePoint="TOPRIGHT"/> |
||
459 | </Anchors> |
||
460 | <Scripts> |
||
461 | <OnClick> |
||
462 | Timers_ToggleTriggerActive(); |
||
463 | </OnClick> |
||
464 | </Scripts> |
||
465 | </CheckButton> |
||
466 | <EditBox name="$parentEditBox1" inherits="TimersEditBoxTemplate" > |
||
467 | <Size> |
||
468 | <AbsDimension x="160" y="18"/> |
||
469 | </Size> |
||
470 | <Anchors> |
||
471 | <Anchor point="TOPLEFT" relativeTo="$parentMenuButton" relativePoint="TOPRIGHT"/> |
||
472 | </Anchors> |
||
473 | <Scripts> |
||
474 | <OnEditFocusGained> |
||
475 | this:HighlightText(); |
||
476 | TimersEdit_EditName(); |
||
477 | </OnEditFocusGained> |
||
478 | <OnEnterPressed> |
||
479 | TimersEdit_SaveName(); |
||
480 | this:ClearFocus(); |
||
481 | </OnEnterPressed> |
||
482 | </Scripts> |
||
483 | </EditBox> |
||
484 | <Button name="$parentDeleteButton" inherits="TextButtonTemplate" text="D"> |
||
485 | <Anchors> |
||
486 | <Anchor point="LEFT" relativeTo="$parentEditBox1" relativePoint="RIGHT"> |
||
487 | <Offset> |
||
488 | <AbsDimension x="0" y="-2"/> |
||
489 | </Offset> |
||
490 | </Anchor> |
||
491 | </Anchors> |
||
492 | <Scripts> |
||
493 | <OnClick> |
||
494 | TimersEdit_DeleteTimer(this); |
||
495 | </OnClick> |
||
496 | </Scripts> |
||
497 | </Button> |
||
498 | <CheckButton name="$parentGrpByPlaytime" inherits="UICheckButtonTemplate"> |
||
499 | <Size> |
||
500 | <AbsDimension x="20" y="20"/> |
||
501 | </Size> |
||
502 | <Anchors> |
||
503 | <Anchor point="TOPLEFT" relativeTo="$parentEditBox1" relativePoint="TOPRIGHT"/> |
||
504 | </Anchors> |
||
505 | <Scripts> |
||
506 | <OnClick> |
||
507 | Timers_ToggleGrpByPlaytime(); |
||
508 | </OnClick> |
||
509 | </Scripts> |
||
510 | </CheckButton> |
||
511 | <CheckButton name="$parentGrpResetCnt" inherits="UICheckButtonTemplate"> |
||
512 | <Size> |
||
513 | <AbsDimension x="20" y="20"/> |
||
514 | </Size> |
||
515 | <Anchors> |
||
516 | <Anchor point="RIGHT" relativeTo="$parentGrpResetCntTitle" relativePoint="LEFT"/> |
||
517 | </Anchors> |
||
518 | <Scripts> |
||
519 | <OnClick> |
||
520 | Timers_ToggleGrpResetCnt(); |
||
521 | </OnClick> |
||
522 | </Scripts> |
||
523 | </CheckButton> |
||
524 | <CheckButton name="$parentGrpDeleteTimer" inherits="UICheckButtonTemplate"> |
||
525 | <Size> |
||
526 | <AbsDimension x="20" y="20"/> |
||
527 | </Size> |
||
528 | <Anchors> |
||
529 | <Anchor point="RIGHT" relativeTo="$parentGrpDeleteTimerTitle" relativePoint="LEFT"/> |
||
530 | </Anchors> |
||
531 | <Scripts> |
||
532 | <OnClick> |
||
533 | Timers_ToggleGrpDeleteTimer(); |
||
534 | </OnClick> |
||
535 | </Scripts> |
||
536 | </CheckButton> |
||
537 | <EditBox name="$parentEditBox2" inherits="TimersEditBoxTemplate" > |
||
538 | <Size> |
||
539 | <AbsDimension x="100" y="18"/> |
||
540 | </Size> |
||
541 | <Anchors> |
||
542 | <Anchor point="TOPLEFT" relativeTo="$parentEditBox1" relativePoint="TOPRIGHT"> |
||
543 | <Offset> |
||
544 | <AbsDimension x="20"/> |
||
545 | </Offset> |
||
546 | </Anchor> |
||
547 | </Anchors> |
||
548 | <Scripts> |
||
549 | <OnEnterPressed> |
||
550 | TimersEdit_SaveTime(); |
||
551 | this:ClearFocus(); |
||
552 | </OnEnterPressed> |
||
553 | <OnEditFocusGained> |
||
554 | TimersEdit_EditTime(); |
||
555 | this:HighlightText(); |
||
556 | </OnEditFocusGained> |
||
557 | </Scripts> |
||
558 | </EditBox> |
||
559 | <EditBox name="$parentEditBox3" inherits="TimersEditBoxTemplate" > |
||
560 | <Size> |
||
561 | <AbsDimension x="40" y="18"/> |
||
562 | </Size> |
||
563 | <Anchors> |
||
564 | <Anchor point="TOPLEFT" relativeTo="$parentEditBox2" relativePoint="TOPRIGHT"/> |
||
565 | </Anchors> |
||
566 | <Scripts> |
||
567 | <OnEnterPressed> |
||
568 | TimersEdit_SavePrewarn(); |
||
569 | this:ClearFocus(); |
||
570 | </OnEnterPressed> |
||
571 | </Scripts> |
||
572 | </EditBox> |
||
573 | <EditBox name="$parentEditBox4" inherits="TimersEditBoxDropDownTemplate" > |
||
574 | <Size> |
||
575 | <AbsDimension x="300" y="18"/> |
||
576 | </Size> |
||
577 | <Anchors> |
||
578 | <Anchor point="TOPLEFT" relativeTo="$parentEditBox3" relativePoint="TOPRIGHT"/> |
||
579 | </Anchors> |
||
580 | <Scripts> |
||
581 | <OnEnterPressed> |
||
582 | TimersEdit_SaveText(); |
||
583 | this:ClearFocus(); |
||
584 | </OnEnterPressed> |
||
585 | </Scripts> |
||
586 | </EditBox> |
||
587 | <EditBox name="$parentEditBox5" inherits="TimersEditBoxTemplate" > |
||
588 | <Size> |
||
589 | <AbsDimension x="40" y="18"/> |
||
590 | </Size> |
||
591 | <Anchors> |
||
592 | <Anchor point="TOPLEFT" relativeTo="$parentEditBox4" relativePoint="TOPRIGHT"/> |
||
593 | </Anchors> |
||
594 | <Scripts> |
||
595 | <OnEnterPressed> |
||
596 | TimersEdit_SaveCount(); |
||
597 | this:ClearFocus(); |
||
598 | </OnEnterPressed> |
||
599 | </Scripts> |
||
600 | </EditBox> |
||
601 | </Frames> |
||
602 | </Button> |
||
603 | |||
604 | <Frame name="TimersMainFrame" parent="UIParent" enableMouse="false" movable="true" hidden="false" frameStrata="LOW" alpha="0.8"> |
||
605 | <Backdrop name="$parentBackdrop" bgFile="Interface\Tooltips\UI-Tooltip-Background.blp" edgeFile="Interface\DialogFrame\UI-DialogBox-Border.blp" tile="true"> |
||
606 | <EdgeSize> |
||
607 | <AbsValue val="16"/> |
||
608 | </EdgeSize> |
||
609 | <TileSize> |
||
610 | <AbsValue val="100"/> |
||
611 | </TileSize> |
||
612 | <BackgroundInsets> |
||
613 | <AbsInset left="5" right="5" top="5" bottom="5"/> |
||
614 | </BackgroundInsets> |
||
615 | </Backdrop> |
||
616 | <Size> |
||
617 | <AbsDimension x="330" y="245"/> |
||
618 | </Size> |
||
619 | <Anchors> |
||
620 | <Anchor point="TOPLEFT"> |
||
621 | <Offset> |
||
622 | <AbsDimension x="200" y="-200"/> |
||
623 | </Offset> |
||
624 | </Anchor> |
||
625 | </Anchors> |
||
626 | <Scripts> |
||
627 | <OnMouseDown> |
||
628 | Timers_StartMoving(this); |
||
629 | </OnMouseDown> |
||
630 | <OnMouseUp> |
||
631 | this:StopMovingOrSizing(); |
||
632 | configdata.mainframeposx = this:GetLeft(); |
||
633 | configdata.mainframeposy = this:GetTop(); |
||
634 | </OnMouseUp> |
||
635 | </Scripts> |
||
636 | <Layers> |
||
637 | <Layer level="BACKGROUND"> |
||
638 | <FontString name="$parentTitle" inherits="GameFontHighlight" text="Timers" justifyH="LEFT"> |
||
639 | <Anchors> |
||
640 | <Anchor point="TOPLEFT"> |
||
641 | <Offset> |
||
642 | <AbsDimension x="8" y="-5"/> |
||
643 | </Offset> |
||
644 | </Anchor> |
||
645 | </Anchors> |
||
646 | <Size> |
||
647 | <AbsDimension x="250" y="16"/> |
||
648 | </Size> |
||
649 | </FontString> |
||
650 | </Layer> |
||
651 | </Layers> |
||
652 | <Frames> |
||
653 | <Button name="$parentCloseButton" inherits="TextButtonTemplate" text="x"> |
||
654 | <Anchors> |
||
655 | <Anchor point="TOPRIGHT" relativeTo="$parent" relativePoint="TOPRIGHT"> |
||
656 | <Offset> |
||
657 | <AbsDimension x="-4" y="-3"/> |
||
658 | </Offset> |
||
659 | </Anchor> |
||
660 | </Anchors> |
||
661 | <Scripts> |
||
662 | <OnClick> |
||
663 | HideUIPanel(this:GetParent()); |
||
664 | </OnClick> |
||
665 | </Scripts> |
||
666 | </Button> |
||
667 | <Button name="$parentMinimizeButton" inherits="TextButtonTemplate" text="_"> |
||
668 | <Anchors> |
||
669 | <Anchor point="TOPRIGHT" relativeTo="$parentCloseButton" relativePoint="TOPLEFT"> |
||
670 | <Offset> |
||
671 | <AbsDimension x="3" y="0"/> |
||
672 | </Offset> |
||
673 | </Anchor> |
||
674 | </Anchors> |
||
675 | <Scripts> |
||
676 | <OnClick> |
||
677 | TimersFrame_ToggleMinimized(); |
||
678 | </OnClick> |
||
679 | </Scripts> |
||
680 | </Button> |
||
681 | <Button name="$parentToggleNameBoxButton" inherits="TextButtonTemplate" text="T"> |
||
682 | <Anchors> |
||
683 | <Anchor point="RIGHT" relativeTo="$parentMinimizeButton" relativePoint="LEFT"> |
||
684 | <Offset> |
||
685 | <AbsDimension x="0" y="0"/> |
||
686 | </Offset> |
||
687 | </Anchor> |
||
688 | </Anchors> |
||
689 | <Scripts> |
||
690 | <OnClick> |
||
691 | Timers_ToggleNamebox(); |
||
692 | </OnClick> |
||
693 | </Scripts> |
||
694 | </Button> |
||
695 | <Button name="$parentMenuButton" inherits="TextButtonTemplate" text="!"> |
||
696 | <Anchors> |
||
697 | <Anchor point="TOPRIGHT" relativeTo="$parentCloseButton" relativePoint="BOTTOMRIGHT"> |
||
698 | <Offset> |
||
699 | <AbsDimension x="0" y="4"/> |
||
700 | </Offset> |
||
701 | </Anchor> |
||
702 | </Anchors> |
||
703 | <Scripts> |
||
704 | <OnClick> |
||
705 | ToggleDropDownMenu(1, nil, TimersMainFrameDropDownMenu, TimersMainFrameMenuButton, 0, 0); |
||
706 | </OnClick> |
||
707 | </Scripts> |
||
708 | </Button> |
||
709 | <Frame name="$parentDropDownMenu" inherits="UIDropDownMenuTemplate" id="1" hidden="true"> |
||
710 | <Scripts> |
||
711 | <OnLoad> |
||
712 | TimersDropDownMainMenu_Init(); |
||
713 | </OnLoad> |
||
714 | </Scripts> |
||
715 | </Frame> |
||
716 | <Button name="$parentSortButton1" inherits="SortButtonTemplate" text="TIMERS_LOC_NAME"> |
||
717 | <Anchors> |
||
718 | <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"> |
||
719 | <Offset> |
||
720 | <AbsDimension x="6" y="-24"/> |
||
721 | </Offset> |
||
722 | </Anchor> |
||
723 | </Anchors> |
||
724 | <Scripts> |
||
725 | <OnClick> |
||
726 | Timers_SetSort(1); |
||
727 | </OnClick> |
||
728 | </Scripts> |
||
729 | <Size> |
||
730 | <AbsDimension x="200" y="16"/> |
||
731 | </Size> |
||
732 | </Button> |
||
733 | <Button name="$parentSortButton2" inherits="SortButtonTemplate" text="TIMERS_LOC_TIME"> |
||
734 | <Anchors> |
||
735 | <Anchor point="TOPLEFT" relativeTo="$parentSortButton1" relativePoint="TOPRIGHT"/> |
||
736 | </Anchors> |
||
737 | <Scripts> |
||
738 | <OnClick> |
||
739 | Timers_SetSort(2); |
||
740 | </OnClick> |
||
741 | </Scripts> |
||
742 | <Size> |
||
743 | <AbsDimension x="100" y="16"/> |
||
744 | </Size> |
||
745 | </Button> |
||
746 | <Button name="$parentSortButton3" inherits="SortButtonTemplate" text="TIMERS_LOC_PREWARN"> |
||
747 | <Anchors> |
||
748 | <Anchor point="TOPLEFT" relativeTo="$parentSortButton2" relativePoint="TOPRIGHT"/> |
||
749 | </Anchors> |
||
750 | <Scripts> |
||
751 | <OnClick> |
||
752 | Timers_SetSort(3); |
||
753 | </OnClick> |
||
754 | </Scripts> |
||
755 | <Size> |
||
756 | <AbsDimension x="40" y="16"/> |
||
757 | </Size> |
||
758 | </Button> |
||
759 | <Button name="$parentSortButton4" inherits="SortButtonTemplate" text="TIMERS_LOC_TEXT"> |
||
760 | <Anchors> |
||
761 | <Anchor point="TOPLEFT" relativeTo="$parentSortButton3" relativePoint="TOPRIGHT"/> |
||
762 | </Anchors> |
||
763 | <Scripts> |
||
764 | <OnClick> |
||
765 | Timers_SetSort(4); |
||
766 | </OnClick> |
||
767 | </Scripts> |
||
768 | <Size> |
||
769 | <AbsDimension x="300" y="16"/> |
||
770 | </Size> |
||
771 | </Button> |
||
772 | <Button name="$parentSortButton5" inherits="SortButtonTemplate" text="TIMERS_LOC_CNT"> |
||
773 | <Anchors> |
||
774 | <Anchor point="TOPLEFT" relativeTo="$parentSortButton4" relativePoint="TOPRIGHT"/> |
||
775 | </Anchors> |
||
776 | <Scripts> |
||
777 | <OnClick> |
||
778 | Timers_SetSort(7); |
||
779 | </OnClick> |
||
780 | </Scripts> |
||
781 | <Size> |
||
782 | <AbsDimension x="40" y="16"/> |
||
783 | </Size> |
||
784 | </Button> |
||
785 | <ScrollFrame name="$parentScrollFrame" inherits="FauxScrollFrameTemplate"> |
||
786 | <Size> |
||
787 | <AbsDimension x="295" y="198"/> |
||
788 | </Size> |
||
789 | <Anchors> |
||
790 | <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"> |
||
791 | <Offset> |
||
792 | <AbsDimension x="5" y="-40"/> |
||
793 | </Offset> |
||
794 | </Anchor> |
||
795 | </Anchors> |
||
796 | <Scripts> |
||
797 | <OnVerticalScroll> |
||
798 | FauxScrollFrame_OnVerticalScroll(20, TimersMainFrame_OnScroll) |
||
799 | </OnVerticalScroll> |
||
800 | </Scripts> |
||
801 | </ScrollFrame> |
||
802 | <Button name="$parentTimerRow1" inherits="TimersRowTemplate" > |
||
803 | <Anchors> |
||
804 | <Anchor point="TOPLEFT" relativeTo="$parentSortButton1" relativePoint="BOTTOMLEFT"/> |
||
805 | </Anchors> |
||
806 | </Button> |
||
807 | <Button name="$parentTimerRow2" inherits="TimersRowTemplate" > |
||
808 | <Anchors> |
||
809 | <Anchor point="TOPLEFT" relativeTo="$parentTimerRow1" relativePoint="BOTTOMLEFT"/> |
||
810 | </Anchors> |
||
811 | </Button> |
||
812 | <Button name="$parentTimerRow3" inherits="TimersRowTemplate" > |
||
813 | <Anchors> |
||
814 | <Anchor point="TOPLEFT" relativeTo="$parentTimerRow2" relativePoint="BOTTOMLEFT"/> |
||
815 | </Anchors> |
||
816 | </Button> |
||
817 | <Button name="$parentTimerRow4" inherits="TimersRowTemplate" > |
||
818 | <Anchors> |
||
819 | <Anchor point="TOPLEFT" relativeTo="$parentTimerRow3" relativePoint="BOTTOMLEFT"/> |
||
820 | </Anchors> |
||
821 | </Button> |
||
822 | <Button name="$parentTimerRow5" inherits="TimersRowTemplate" > |
||
823 | <Anchors> |
||
824 | <Anchor point="TOPLEFT" relativeTo="$parentTimerRow4" relativePoint="BOTTOMLEFT"/> |
||
825 | </Anchors> |
||
826 | </Button> |
||
827 | <Button name="$parentTimerRow6" inherits="TimersRowTemplate" > |
||
828 | <Anchors> |
||
829 | <Anchor point="TOPLEFT" relativeTo="$parentTimerRow5" relativePoint="BOTTOMLEFT"/> |
||
830 | </Anchors> |
||
831 | </Button> |
||
832 | <Button name="$parentTimerRow7" inherits="TimersRowTemplate" > |
||
833 | <Anchors> |
||
834 | <Anchor point="TOPLEFT" relativeTo="$parentTimerRow6" relativePoint="BOTTOMLEFT"/> |
||
835 | </Anchors> |
||
836 | </Button> |
||
837 | <Button name="$parentTimerRow8" inherits="TimersRowTemplate" > |
||
838 | <Anchors> |
||
839 | <Anchor point="TOPLEFT" relativeTo="$parentTimerRow7" relativePoint="BOTTOMLEFT"/> |
||
840 | </Anchors> |
||
841 | </Button> |
||
842 | <Button name="$parentTimerRow9" inherits="TimersRowTemplate" > |
||
843 | <Anchors> |
||
844 | <Anchor point="TOPLEFT" relativeTo="$parentTimerRow8" relativePoint="BOTTOMLEFT"/> |
||
845 | </Anchors> |
||
846 | </Button> |
||
847 | <Button name="$parentTimerRow10" inherits="TimersRowTemplate" > |
||
848 | <Anchors> |
||
849 | <Anchor point="TOPLEFT" relativeTo="$parentTimerRow9" relativePoint="BOTTOMLEFT"/> |
||
850 | </Anchors> |
||
851 | </Button> |
||
852 | <Button name="$parentTabButton1" inherits="TimersTabButtonTemplate" text="TIMERS_LOC_NORMAL"> |
||
853 | <Anchors> |
||
854 | <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="BOTTOMLEFT"> |
||
855 | <Offset> |
||
856 | <AbsDimension x="0" y="0"/> |
||
857 | </Offset> |
||
858 | </Anchor> |
||
859 | </Anchors> |
||
860 | </Button> |
||
861 | <Button name="$parentTabButton2" inherits="TimersTabButtonTemplate" text="TIMERS_LOC_LIGHT"> |
||
862 | <Anchors> |
||
863 | <Anchor point="TOPLEFT" relativeTo="$parentTabButton1" relativePoint="TOPRIGHT"/> |
||
864 | </Anchors> |
||
865 | </Button> |
||
866 | <Button name="$parentTabButton3" inherits="TimersTabButtonTemplate" text="TIMERS_LOC_TRIGGER"> |
||
867 | <Anchors> |
||
868 | <Anchor point="TOPLEFT" relativeTo="$parentTabButton2" relativePoint="TOPRIGHT"/> |
||
869 | </Anchors> |
||
870 | </Button> |
||
871 | <Button name="$parentTabButton4" inherits="TimersTabButtonTemplate" text="TIMERS_LOC_CONFIG"> |
||
872 | <Anchors> |
||
873 | <Anchor point="TOPLEFT" relativeTo="$parentTabButton3" relativePoint="TOPRIGHT"/> |
||
874 | </Anchors> |
||
875 | </Button> |
||
876 | <Button name="$parentTabButton5" inherits="TimersTabButtonTemplate" text="TIMERS_LOC_HELP"> |
||
877 | <Anchors> |
||
878 | <Anchor point="TOPLEFT" relativeTo="$parentTabButton4" relativePoint="TOPRIGHT"/> |
||
879 | </Anchors> |
||
880 | </Button> |
||
881 | <Frame name="$parentConfig" hidden="true"> |
||
882 | <Size> |
||
883 | <AbsDimension x="295" y="198"/> |
||
884 | </Size> |
||
885 | <Anchors> |
||
886 | <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"> |
||
887 | <Offset> |
||
888 | <AbsDimension x="5" y="-5"/> |
||
889 | </Offset> |
||
890 | </Anchor> |
||
891 | </Anchors> |
||
892 | <Layers> |
||
893 | <Layer level="BACKGROUND"> |
||
894 | <FontString name="$parentNameBarTitle" inherits="GameFontHighlightSmall" text="TIMERS_LOC_USE_NAMEBAR" justifyH="LEFT"> |
||
895 | <Size> |
||
896 | <AbsDimension x="100" y="16"/> |
||
897 | </Size> |
||
898 | <Anchors> |
||
899 | <Anchor point="TOPLEFT"> |
||
900 | <Offset> |
||
901 | <AbsDimension x="45" y="-30"/> |
||
902 | </Offset> |
||
903 | </Anchor> |
||
904 | </Anchors> |
||
905 | </FontString> |
||
906 | <FontString name="$parentTitleTextTitle" inherits="GameFontHighlightSmall" text="TIMERS_LOC_TITLE_TEXT" justifyH="LEFT"> |
||
907 | <Size> |
||
908 | <AbsDimension x="100" y="16"/> |
||
909 | </Size> |
||
910 | <Anchors> |
||
911 | <Anchor point="TOPLEFT"> |
||
912 | <Offset> |
||
913 | <AbsDimension x="20" y="-60"/> |
||
914 | </Offset> |
||
915 | </Anchor> |
||
916 | </Anchors> |
||
917 | </FontString> |
||
918 | <FontString name="$parentSpamOnPressTitle" inherits="GameFontHighlightSmall" text="TIMERS_LOC_SPAM_FIRST" justifyH="LEFT"> |
||
919 | <Size> |
||
920 | <AbsDimension x="65" y="16"/> |
||
921 | </Size> |
||
922 | <Anchors> |
||
923 | <Anchor point="TOPLEFT"> |
||
924 | <Offset> |
||
925 | <AbsDimension x="20" y="-90"/> |
||
926 | </Offset> |
||
927 | </Anchor> |
||
928 | </Anchors> |
||
929 | </FontString> |
||
930 | <FontString name="$parentSpamOnPressTitle2" inherits="GameFontHighlightSmall" text="TIMERS_LOC_MINTIMERS" justifyH="LEFT"> |
||
931 | <Size> |
||
932 | <AbsDimension x="90" y="16"/> |
||
933 | </Size> |
||
934 | <Anchors> |
||
935 | <Anchor point="LEFT" relativeTo="$parentSpamOnPressTitle" relativePoint="RIGHT"> |
||
936 | <Offset> |
||
937 | <AbsDimension x="30"/> |
||
938 | </Offset> |
||
939 | </Anchor> |
||
940 | </Anchors> |
||
941 | </FontString> |
||
942 | </Layer> |
||
943 | </Layers> |
||
944 | <Frames> |
||
945 | <EditBox name="$parentTitleText" inherits="TimersEditBoxTemplate" > |
||
946 | <Size> |
||
947 | <AbsDimension x="200" y="18"/> |
||
948 | </Size> |
||
949 | <Anchors> |
||
950 | <Anchor point="LEFT" relativeTo="$parentTitleTextTitle" relativePoint="RIGHT"/> |
||
951 | </Anchors> |
||
952 | <Scripts> |
||
953 | <OnShow> |
||
954 | this:SetText(configdata.titletext); |
||
955 | </OnShow> |
||
956 | <OnEnterPressed> |
||
957 | configdata.titletext = this:GetText(); |
||
958 | this:ClearFocus(); |
||
959 | </OnEnterPressed> |
||
960 | </Scripts> |
||
961 | </EditBox> |
||
962 | <CheckButton name="$parentNameBar" inherits="UICheckButtonTemplate"> |
||
963 | <Size> |
||
964 | <AbsDimension x="20" y="20"/> |
||
965 | </Size> |
||
966 | <Anchors> |
||
967 | <Anchor point="TOPLEFT"> |
||
968 | <Offset> |
||
969 | <AbsDimension x="20" y="-30"/> |
||
970 | </Offset> |
||
971 | </Anchor> |
||
972 | </Anchors> |
||
973 | <Scripts> |
||
974 | <OnShow> |
||
975 | this:SetChecked(configdata.usenamebar); |
||
976 | </OnShow> |
||
977 | <OnClick> |
||
978 | TimersConfig_ToggleNameBar(); |
||
979 | </OnClick> |
||
980 | </Scripts> |
||
981 | </CheckButton> |
||
982 | <EditBox name="$parentSpamOnPress" inherits="TimersEditBoxTemplate" > |
||
983 | <Size> |
||
984 | <AbsDimension x="30" y="18"/> |
||
985 | </Size> |
||
986 | <Anchors> |
||
987 | <Anchor point="LEFT" relativeTo="$parentSpamOnPressTitle" relativePoint="RIGHT"/> |
||
988 | </Anchors> |
||
989 | <Scripts> |
||
990 | <OnShow> |
||
991 | this:SetText(configdata.spamonpress); |
||
992 | </OnShow> |
||
993 | <OnEnterPressed> |
||
994 | configdata.spamonpress = this:GetText(); |
||
995 | this:ClearFocus(); |
||
996 | </OnEnterPressed> |
||
997 | </Scripts> |
||
998 | </EditBox> |
||
999 | <Slider name="$parentSizeSlider" inherits="OptionsSliderTemplate"> |
||
1000 | <Size> |
||
1001 | <AbsDimension x="280" y="16"/> |
||
1002 | </Size> |
||
1003 | <Anchors> |
||
1004 | <Anchor point="TOPLEFT"> |
||
1005 | <Offset> |
||
1006 | <AbsDimension x="20" y="-160"/> |
||
1007 | </Offset> |
||
1008 | </Anchor> |
||
1009 | </Anchors> |
||
1010 | <Scripts> |
||
1011 | <OnLoad> |
||
1012 | getglobal(this:GetName().."Text"):SetText("Timer Names Size"); |
||
1013 | getglobal(this:GetName().."High"):SetText("400"); |
||
1014 | getglobal(this:GetName().."Low"):SetText("200"); |
||
1015 | this:SetMinMaxValues(200.0,400.0); |
||
1016 | this:SetValueStep(10); |
||
1017 | </OnLoad> |
||
1018 | <OnShow> |
||
1019 | this:SetValue(configdata.namessize); |
||
1020 | </OnShow> |
||
1021 | <OnValueChanged> |
||
1022 | configdata.namessize = this:GetValue(); |
||
1023 | </OnValueChanged> |
||
1024 | </Scripts> |
||
1025 | </Slider> |
||
1026 | <Slider name="$parentScaleSlider" inherits="OptionsSliderTemplate"> |
||
1027 | <Size> |
||
1028 | <AbsDimension x="280" y="16"/> |
||
1029 | </Size> |
||
1030 | <Anchors> |
||
1031 | <Anchor point="TOPLEFT"> |
||
1032 | <Offset> |
||
1033 | <AbsDimension x="20" y="-200"/> |
||
1034 | </Offset> |
||
1035 | </Anchor> |
||
1036 | </Anchors> |
||
1037 | <Scripts> |
||
1038 | <OnLoad> |
||
1039 | getglobal(this:GetName().."Text"):SetText("Timers Frames Scale"); |
||
1040 | getglobal(this:GetName().."High"):SetText("1.5"); |
||
1041 | getglobal(this:GetName().."Low"):SetText("0.5"); |
||
1042 | this:SetMinMaxValues(25,200); |
||
1043 | this:SetValueStep(8); |
||
1044 | </OnLoad> |
||
1045 | <OnShow> |
||
1046 | this:SetValue(configdata.framescale); |
||
1047 | </OnShow> |
||
1048 | <OnMouseUp> |
||
1049 | configdata.framescale = this:GetValue(); |
||
1050 | </OnMouseUp> |
||
1051 | </Scripts> |
||
1052 | </Slider> |
||
1053 | <Button name="$parentReset" inherits="UIPanelButtonTemplate2" text="TIMERS_LOC_RESET"> |
||
1054 | <Size> |
||
1055 | <AbsDimension x="100" y="20"/> |
||
1056 | </Size> |
||
1057 | <Anchors> |
||
1058 | <Anchor point="TOPRIGHT" relativeTo="$parent" relativePoint="TOPRIGHT"> |
||
1059 | <Offset> |
||
1060 | <AbsDimension y="-30"/> |
||
1061 | </Offset> |
||
1062 | </Anchor> |
||
1063 | </Anchors> |
||
1064 | <Scripts> |
||
1065 | <OnClick> |
||
1066 | TimersConfig_Reset(); |
||
1067 | </OnClick> |
||
1068 | </Scripts> |
||
1069 | </Button> |
||
1070 | </Frames> |
||
1071 | </Frame> |
||
1072 | <Frame name="$parentHelp" hidden="true"> |
||
1073 | <Size> |
||
1074 | <AbsDimension x="295" y="198"/> |
||
1075 | </Size> |
||
1076 | <Anchors> |
||
1077 | <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"> |
||
1078 | <Offset> |
||
1079 | <AbsDimension x="5" y="-5"/> |
||
1080 | </Offset> |
||
1081 | </Anchor> |
||
1082 | </Anchors> |
||
1083 | <Frames> |
||
1084 | <Button name="$parentHelp1" inherits="UIPanelButtonTemplate2" text="TIMERS_LOC_HELP1"> |
||
1085 | <Size> |
||
1086 | <AbsDimension x="300" y="20"/> |
||
1087 | </Size> |
||
1088 | <Anchors> |
||
1089 | <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"> |
||
1090 | <Offset> |
||
1091 | <AbsDimension x="10" y="-30"/> |
||
1092 | </Offset> |
||
1093 | </Anchor> |
||
1094 | </Anchors> |
||
1095 | <Scripts> |
||
1096 | <OnClick> |
||
1097 | Timers_ShowHelp(1); |
||
1098 | </OnClick> |
||
1099 | </Scripts> |
||
1100 | </Button> |
||
1101 | <Button name="$parentHelp2" inherits="UIPanelButtonTemplate2" text="TIMERS_LOC_HELP2"> |
||
1102 | <Size> |
||
1103 | <AbsDimension x="300" y="20"/> |
||
1104 | </Size> |
||
1105 | <Anchors> |
||
1106 | <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"> |
||
1107 | <Offset> |
||
1108 | <AbsDimension x="10" y="-60"/> |
||
1109 | </Offset> |
||
1110 | </Anchor> |
||
1111 | </Anchors> |
||
1112 | <Scripts> |
||
1113 | <OnClick> |
||
1114 | Timers_ShowHelp(2); |
||
1115 | </OnClick> |
||
1116 | </Scripts> |
||
1117 | </Button> |
||
1118 | <Button name="$parentHelp3" inherits="UIPanelButtonTemplate2" text="TIMERS_LOC_HELP3"> |
||
1119 | <Size> |
||
1120 | <AbsDimension x="300" y="20"/> |
||
1121 | </Size> |
||
1122 | <Anchors> |
||
1123 | <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"> |
||
1124 | <Offset> |
||
1125 | <AbsDimension x="10" y="-90"/> |
||
1126 | </Offset> |
||
1127 | </Anchor> |
||
1128 | </Anchors> |
||
1129 | <Scripts> |
||
1130 | <OnClick> |
||
1131 | Timers_ShowHelp(3); |
||
1132 | </OnClick> |
||
1133 | </Scripts> |
||
1134 | </Button> |
||
1135 | <Button name="$parentHelp4" inherits="UIPanelButtonTemplate2" text="TIMERS_LOC_HELP4"> |
||
1136 | <Size> |
||
1137 | <AbsDimension x="300" y="20"/> |
||
1138 | </Size> |
||
1139 | <Anchors> |
||
1140 | <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"> |
||
1141 | <Offset> |
||
1142 | <AbsDimension x="10" y="-120"/> |
||
1143 | </Offset> |
||
1144 | </Anchor> |
||
1145 | </Anchors> |
||
1146 | <Scripts> |
||
1147 | <OnClick> |
||
1148 | Timers_ShowHelp(4); |
||
1149 | </OnClick> |
||
1150 | </Scripts> |
||
1151 | </Button> |
||
1152 | <Button name="$parentHelp5" inherits="UIPanelButtonTemplate2" text="TIMERS_LOC_HELP5"> |
||
1153 | <Size> |
||
1154 | <AbsDimension x="300" y="20"/> |
||
1155 | </Size> |
||
1156 | <Anchors> |
||
1157 | <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"> |
||
1158 | <Offset> |
||
1159 | <AbsDimension x="10" y="-150"/> |
||
1160 | </Offset> |
||
1161 | </Anchor> |
||
1162 | </Anchors> |
||
1163 | <Scripts> |
||
1164 | <OnClick> |
||
1165 | Timers_ShowHelp(5); |
||
1166 | </OnClick> |
||
1167 | </Scripts> |
||
1168 | </Button> |
||
1169 | <Button name="$parentHelp6" inherits="UIPanelButtonTemplate2" text="TIMERS_LOC_HELP6"> |
||
1170 | <Size> |
||
1171 | <AbsDimension x="300" y="20"/> |
||
1172 | </Size> |
||
1173 | <Anchors> |
||
1174 | <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"> |
||
1175 | <Offset> |
||
1176 | <AbsDimension x="10" y="-180"/> |
||
1177 | </Offset> |
||
1178 | </Anchor> |
||
1179 | </Anchors> |
||
1180 | <Scripts> |
||
1181 | <OnClick> |
||
1182 | Timers_ShowHelp(6); |
||
1183 | </OnClick> |
||
1184 | </Scripts> |
||
1185 | </Button> |
||
1186 | <Button name="$parentHelp7" inherits="UIPanelButtonTemplate2" text="TIMERS_LOC_HELP7"> |
||
1187 | <Size> |
||
1188 | <AbsDimension x="300" y="20"/> |
||
1189 | </Size> |
||
1190 | <Anchors> |
||
1191 | <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"> |
||
1192 | <Offset> |
||
1193 | <AbsDimension x="10" y="-210"/> |
||
1194 | </Offset> |
||
1195 | </Anchor> |
||
1196 | </Anchors> |
||
1197 | <Scripts> |
||
1198 | <OnClick> |
||
1199 | Timers_ShowHelp(7); |
||
1200 | </OnClick> |
||
1201 | </Scripts> |
||
1202 | </Button> |
||
1203 | </Frames> |
||
1204 | </Frame> |
||
1205 | <Frame name="$parentTextFrame"> |
||
1206 | <Size> |
||
1207 | <AbsDimension x="290" y="215"/> |
||
1208 | </Size> |
||
1209 | <Anchors> |
||
1210 | <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"> |
||
1211 | <Offset> |
||
1212 | <AbsDimension x="5" y="-25"/> |
||
1213 | </Offset> |
||
1214 | </Anchor> |
||
1215 | </Anchors> |
||
1216 | <Frames> |
||
1217 | <ScrollFrame name="$parentOutputFrame" inherits="UIPanelScrollFrameTemplate"> |
||
1218 | <Size> |
||
1219 | <AbsDimension x="285" y="190"/> |
||
1220 | </Size> |
||
1221 | <Anchors> |
||
1222 | <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"> |
||
1223 | <Offset> |
||
1224 | <AbsDimension x="10"/> |
||
1225 | </Offset> |
||
1226 | </Anchor> |
||
1227 | </Anchors> |
||
1228 | <ScrollChild> |
||
1229 | <Frame name="$parentScrollChildFrame"> |
||
1230 | <Size> |
||
1231 | <AbsDimension x="275" y="200"/> |
||
1232 | </Size> |
||
1233 | <Layers> |
||
1234 | <Layer level="BACKGROUND"> |
||
1235 | <FontString name="TimersMainFrameHelpFrameText" inherits="GameFontHighlight" wraponspaces="true" alignment="LEFT" justifyH="LEFT"> |
||
1236 | <Anchors> |
||
1237 | <Anchor point="TOPLEFT"> |
||
1238 | <Offset> |
||
1239 | <AbsDimension x="5" y="-10"/> |
||
1240 | </Offset> |
||
1241 | </Anchor> |
||
1242 | </Anchors> |
||
1243 | </FontString> |
||
1244 | </Layer> |
||
1245 | </Layers> |
||
1246 | </Frame> |
||
1247 | </ScrollChild> |
||
1248 | </ScrollFrame> |
||
1249 | <Button name="$parentBack" inherits="UIPanelButtonTemplate2" text="TIMERS_LOC_BACK"> |
||
1250 | <Size> |
||
1251 | <AbsDimension x="100" y="20"/> |
||
1252 | </Size> |
||
1253 | <Anchors> |
||
1254 | <Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="BOTTOMRIGHT"> |
||
1255 | <Offset> |
||
1256 | <AbsDimension y="5"/> |
||
1257 | </Offset> |
||
1258 | </Anchor> |
||
1259 | </Anchors> |
||
1260 | <Scripts> |
||
1261 | <OnClick> |
||
1262 | Timers_TabContentControl(); |
||
1263 | </OnClick> |
||
1264 | </Scripts> |
||
1265 | </Button> |
||
1266 | </Frames> |
||
1267 | </Frame> |
||
1268 | </Frames> |
||
1269 | </Frame> |
||
1270 | |||
1271 | <Frame name="TimersNameBar" parent="UIParent" enableMouse="false" movable="true" hidden="false" frameStrata="LOW"> |
||
1272 | <Backdrop name="$parentBackdrop" bgFile="Interface\Tooltips\UI-Tooltip-Background.blp" edgeFile="Interface\DialogFrame\UI-DialogBox-Border.blp"> |
||
1273 | <EdgeSize> |
||
1274 | <AbsValue val="16"/> |
||
1275 | </EdgeSize> |
||
1276 | <TileSize> |
||
1277 | <AbsValue val="16"/> |
||
1278 | </TileSize> |
||
1279 | <BackgroundInsets> |
||
1280 | <AbsInset left="5" right="5" top="5" bottom="5"/> |
||
1281 | </BackgroundInsets> |
||
1282 | </Backdrop> |
||
1283 | <Size> |
||
1284 | <AbsDimension x="207" y="30"/> |
||
1285 | </Size> |
||
1286 | <Anchors> |
||
1287 | <Anchor point="TOPLEFT" > |
||
1288 | <Offset> |
||
1289 | <AbsDimension x="400" y="-400"/> |
||
1290 | </Offset> |
||
1291 | </Anchor> |
||
1292 | </Anchors> |
||
1293 | <Scripts> |
||
1294 | <OnLoad> |
||
1295 | this:SetBackdropColor(0.0, 0.0, 0.0, 0.8); |
||
1296 | </OnLoad> |
||
1297 | <OnMouseDown> |
||
1298 | this:StartMoving(); |
||
1299 | </OnMouseDown> |
||
1300 | <OnMouseUp> |
||
1301 | this:StopMovingOrSizing(); |
||
1302 | configdata.namebarposx = this:GetLeft()*(configdata.framescale/100); |
||
1303 | configdata.namebarposy = this:GetTop()*(configdata.framescale/100); |
||
1304 | </OnMouseUp> |
||
1305 | </Scripts> |
||
1306 | <Layers> |
||
1307 | <Layer level="BACKGROUND"> |
||
1308 | <FontString name="$parentTitle" inherits="GameTooltipText" text="Name:" justifyH="LEFT"> |
||
1309 | <Anchors> |
||
1310 | <Anchor point="TOPLEFT"> |
||
1311 | <Offset> |
||
1312 | <AbsDimension x="8" y="-7"/> |
||
1313 | </Offset> |
||
1314 | </Anchor> |
||
1315 | </Anchors> |
||
1316 | <Size> |
||
1317 | <AbsDimension x="60" y="16"/> |
||
1318 | </Size> |
||
1319 | </FontString> |
||
1320 | </Layer> |
||
1321 | </Layers> |
||
1322 | <Frames> |
||
1323 | <EditBox name="$parentNameBox" autoFocus="false" inherits="InputBoxTemplate"> |
||
1324 | <Size> |
||
1325 | <AbsDimension x="150" y="14"/> |
||
1326 | </Size> |
||
1327 | <Anchors> |
||
1328 | <Anchor point="RIGHT" relativeTo="TimersNameBar" relativePoint="RIGHT"> |
||
1329 | <Offset> |
||
1330 | <AbsDimension x="0" y="0"/> |
||
1331 | </Offset> |
||
1332 | </Anchor> |
||
1333 | </Anchors> |
||
1334 | <Scripts> |
||
1335 | <OnShow> |
||
1336 | this:SetText(configdata.namebartext); |
||
1337 | </OnShow> |
||
1338 | <OnEnterPressed> |
||
1339 | configdata.namebartext = this:GetText(); |
||
1340 | this:ClearFocus(); |
||
1341 | </OnEnterPressed> |
||
1342 | </Scripts> |
||
1343 | <FontString inherits="ChatFontNormal" bytes="50"/> |
||
1344 | </EditBox> |
||
1345 | </Frames> |
||
1346 | </Frame> |
||
1347 | |||
1348 | <Frame name="TimersMinimizedFrame" parent="UIParent" enableMouse="false" movable="true" hidden="true" frameStrata="LOW"> |
||
1349 | <Backdrop name="$parentBackdrop" bgFile="Interface\Tooltips\UI-Tooltip-Background.blp" edgeFile="Interface\DialogFrame\UI-DialogBox-Border.blp"> |
||
1350 | <EdgeSize> |
||
1351 | <AbsValue val="16"/> |
||
1352 | </EdgeSize> |
||
1353 | <TileSize> |
||
1354 | <AbsValue val="16"/> |
||
1355 | </TileSize> |
||
1356 | <BackgroundInsets> |
||
1357 | <AbsInset left="5" right="5" top="5" bottom="5"/> |
||
1358 | </BackgroundInsets> |
||
1359 | </Backdrop> |
||
1360 | <Size> |
||
1361 | <AbsDimension x="207" y="30"/> |
||
1362 | </Size> |
||
1363 | <Anchors> |
||
1364 | <Anchor point="TOPLEFT" > |
||
1365 | <Offset> |
||
1366 | <AbsDimension x="200" y="-400"/> |
||
1367 | </Offset> |
||
1368 | </Anchor> |
||
1369 | </Anchors> |
||
1370 | <Scripts> |
||
1371 | <OnLoad> |
||
1372 | this:SetBackdropColor(0.0, 0.0, 0.0, 0.8); |
||
1373 | </OnLoad> |
||
1374 | <OnMouseDown> |
||
1375 | this:StartMoving(); |
||
1376 | </OnMouseDown> |
||
1377 | <OnMouseUp> |
||
1378 | this:StopMovingOrSizing(); |
||
1379 | configdata.minimizeposx = this:GetLeft()*(configdata.framescale/100); |
||
1380 | configdata.minimizeposy = this:GetTop()*(configdata.framescale/100); |
||
1381 | </OnMouseUp> |
||
1382 | <OnUpdate> |
||
1383 | Timers_UpdateTitle(); |
||
1384 | </OnUpdate> |
||
1385 | </Scripts> |
||
1386 | <Layers> |
||
1387 | <Layer level="BACKGROUND"> |
||
1388 | <FontString name="$parentTitle" inherits="GameTooltipText" text="Timers " justifyH="LEFT"> |
||
1389 | <Anchors> |
||
1390 | <Anchor point="TOPLEFT"> |
||
1391 | <Offset> |
||
1392 | <AbsDimension x="8" y="-7"/> |
||
1393 | </Offset> |
||
1394 | </Anchor> |
||
1395 | </Anchors> |
||
1396 | <Size> |
||
1397 | <AbsDimension x="150" y="16"/> |
||
1398 | </Size> |
||
1399 | </FontString> |
||
1400 | </Layer> |
||
1401 | </Layers> |
||
1402 | <Frames> |
||
1403 | <Button name="$parentCloseButton" inherits="TextButtonTemplate" text="x"> |
||
1404 | <Anchors> |
||
1405 | <Anchor point="TOPRIGHT" relativeTo="$parent" relativePoint="TOPRIGHT"> |
||
1406 | <Offset> |
||
1407 | <AbsDimension x="-4" y="-3"/> |
||
1408 | </Offset> |
||
1409 | </Anchor> |
||
1410 | </Anchors> |
||
1411 | <Scripts> |
||
1412 | <OnClick> |
||
1413 | HideUIPanel(this:GetParent()); |
||
1414 | </OnClick> |
||
1415 | </Scripts> |
||
1416 | </Button> |
||
1417 | <Button name="$parentMinimizeButton" inherits="TextButtonTemplate" text="_"> |
||
1418 | <Anchors> |
||
1419 | <Anchor point="TOPRIGHT" relativeTo="$parentCloseButton" relativePoint="TOPLEFT"> |
||
1420 | <Offset> |
||
1421 | <AbsDimension x="3" y="0"/> |
||
1422 | </Offset> |
||
1423 | </Anchor> |
||
1424 | </Anchors> |
||
1425 | <Scripts> |
||
1426 | <OnClick> |
||
1427 | TimersFrame_ToggleMinimized(); |
||
1428 | </OnClick> |
||
1429 | </Scripts> |
||
1430 | </Button> |
||
1431 | </Frames> |
||
1432 | </Frame> |
||
1433 | |||
1434 | <Frame name="TimersTriggersConfigFrame" parent="UIParent" enableMouse="false" movable="true" hidden="true" frameStrata="LOW"> |
||
1435 | <Backdrop name="$parentBackdrop" bgFile="Interface\Tooltips\UI-Tooltip-Background.blp" edgeFile="Interface\DialogFrame\UI-DialogBox-Border.blp"> |
||
1436 | <EdgeSize> |
||
1437 | <AbsValue val="16"/> |
||
1438 | </EdgeSize> |
||
1439 | <TileSize> |
||
1440 | <AbsValue val="16"/> |
||
1441 | </TileSize> |
||
1442 | <BackgroundInsets> |
||
1443 | <AbsInset left="5" right="5" top="5" bottom="5"/> |
||
1444 | </BackgroundInsets> |
||
1445 | </Backdrop> |
||
1446 | <Size> |
||
1447 | <AbsDimension x="400" y="360"/> |
||
1448 | </Size> |
||
1449 | <Anchors> |
||
1450 | <Anchor point="TOPLEFT" > |
||
1451 | <Offset> |
||
1452 | <AbsDimension x="300" y="-400"/> |
||
1453 | </Offset> |
||
1454 | </Anchor> |
||
1455 | </Anchors> |
||
1456 | <Scripts> |
||
1457 | <OnLoad> |
||
1458 | this:SetBackdropColor(0.0, 0.0, 0.0, 0.8); |
||
1459 | </OnLoad> |
||
1460 | <OnMouseDown> |
||
1461 | this:StartMoving(); |
||
1462 | </OnMouseDown> |
||
1463 | <OnMouseUp> |
||
1464 | this:StopMovingOrSizing(); |
||
1465 | configdata.triggerconfposx = this:GetLeft()*(configdata.framescale/100); |
||
1466 | configdata.triggerconfposy = this:GetTop()*(configdata.framescale/100); |
||
1467 | </OnMouseUp> |
||
1468 | </Scripts> |
||
1469 | <Layers> |
||
1470 | <Layer level="BACKGROUND"> |
||
1471 | <FontString name="$parentTitle" inherits="GameTooltipText" text="TIMERS_LOC_ADVANCED_TRIGGERS" justifyH="LEFT"> |
||
1472 | <Anchors> |
||
1473 | <Anchor point="TOPLEFT"> |
||
1474 | <Offset> |
||
1475 | <AbsDimension x="8" y="-7"/> |
||
1476 | </Offset> |
||
1477 | </Anchor> |
||
1478 | </Anchors> |
||
1479 | <Size> |
||
1480 | <AbsDimension x="300" y="16"/> |
||
1481 | </Size> |
||
1482 | </FontString> |
||
1483 | <FontString name="$parentNameTitle" inherits="GameTooltipText" text="TIMERS_LOC_NAME" justifyH="LEFT"> |
||
1484 | <Anchors> |
||
1485 | <Anchor point="TOPLEFT"> |
||
1486 | <Offset> |
||
1487 | <AbsDimension x="20" y="-30"/> |
||
1488 | </Offset> |
||
1489 | </Anchor> |
||
1490 | </Anchors> |
||
1491 | <Size> |
||
1492 | <AbsDimension x="50" y="16"/> |
||
1493 | </Size> |
||
1494 | </FontString> |
||
1495 | <FontString name="$parentTimeTitle" inherits="GameTooltipText" text="TIMERS_LOC_TIME" justifyH="LEFT"> |
||
1496 | <Anchors> |
||
1497 | <Anchor point="TOPLEFT"> |
||
1498 | <Offset> |
||
1499 | <AbsDimension x="210" y="-30"/> |
||
1500 | </Offset> |
||
1501 | </Anchor> |
||
1502 | </Anchors> |
||
1503 | <Size> |
||
1504 | <AbsDimension x="50" y="16"/> |
||
1505 | </Size> |
||
1506 | </FontString> |
||
1507 | <FontString name="$parentTextTitle" inherits="GameTooltipText" text="TIMERS_LOC_TEXT" justifyH="LEFT"> |
||
1508 | <Anchors> |
||
1509 | <Anchor point="TOPLEFT"> |
||
1510 | <Offset> |
||
1511 | <AbsDimension x="20" y="-50"/> |
||
1512 | </Offset> |
||
1513 | </Anchor> |
||
1514 | </Anchors> |
||
1515 | <Size> |
||
1516 | <AbsDimension x="50" y="16"/> |
||
1517 | </Size> |
||
1518 | </FontString> |
||
1519 | <FontString name="$parentTypeTitle" inherits="GameTooltipText" text="TIMERS_LOC_TYPE" justifyH="LEFT"> |
||
1520 | <Anchors> |
||
1521 | <Anchor point="TOPLEFT"> |
||
1522 | <Offset> |
||
1523 | <AbsDimension x="20" y="-80"/> |
||
1524 | </Offset> |
||
1525 | </Anchor> |
||
1526 | </Anchors> |
||
1527 | <Size> |
||
1528 | <AbsDimension x="50" y="16"/> |
||
1529 | </Size> |
||
1530 | </FontString> |
||
1531 | <FontString name="$parentModeTitle" inherits="GameTooltipText" text="TIMERS_LOC_MODE" justifyH="LEFT"> |
||
1532 | <Anchors> |
||
1533 | <Anchor point="TOPLEFT"> |
||
1534 | <Offset> |
||
1535 | <AbsDimension x="210" y="-80"/> |
||
1536 | </Offset> |
||
1537 | </Anchor> |
||
1538 | </Anchors> |
||
1539 | <Size> |
||
1540 | <AbsDimension x="50" y="16"/> |
||
1541 | </Size> |
||
1542 | </FontString> |
||
1543 | <FontString name="$parentWarnTitle" inherits="GameTooltipText" text="TIMERS_LOC_WARNING" justifyH="LEFT"> |
||
1544 | <Anchors> |
||
1545 | <Anchor point="TOPLEFT"> |
||
1546 | <Offset> |
||
1547 | <AbsDimension x="20" y="-130"/> |
||
1548 | </Offset> |
||
1549 | </Anchor> |
||
1550 | </Anchors> |
||
1551 | <Size> |
||
1552 | <AbsDimension x="75" y="16"/> |
||
1553 | </Size> |
||
1554 | </FontString> |
||
1555 | <FontString name="$parentWarnChanTitle" inherits="GameTooltipText" text="TIMERS_LOC_CHANNEL" justifyH="LEFT"> |
||
1556 | <Anchors> |
||
1557 | <Anchor point="TOPLEFT"> |
||
1558 | <Offset> |
||
1559 | <AbsDimension x="20" y="-160"/> |
||
1560 | </Offset> |
||
1561 | </Anchor> |
||
1562 | </Anchors> |
||
1563 | <Size> |
||
1564 | <AbsDimension x="75" y="16"/> |
||
1565 | </Size> |
||
1566 | </FontString> |
||
1567 | <FontString name="$parentWarnTimeTitle" inherits="GameTooltipText" text="TIMERS_LOC_TIME" justifyH="LEFT"> |
||
1568 | <Anchors> |
||
1569 | <Anchor point="TOPLEFT"> |
||
1570 | <Offset> |
||
1571 | <AbsDimension x="210" y="-160"/> |
||
1572 | </Offset> |
||
1573 | </Anchor> |
||
1574 | </Anchors> |
||
1575 | <Size> |
||
1576 | <AbsDimension x="50" y="16"/> |
||
1577 | </Size> |
||
1578 | </FontString> |
||
1579 | <FontString name="$parentWarnMessTitle" inherits="GameTooltipText" text="TIMERS_LOC_MESSAGE" justifyH="LEFT"> |
||
1580 | <Anchors> |
||
1581 | <Anchor point="TOPLEFT"> |
||
1582 | <Offset> |
||
1583 | <AbsDimension x="20" y="-180"/> |
||
1584 | </Offset> |
||
1585 | </Anchor> |
||
1586 | </Anchors> |
||
1587 | <Size> |
||
1588 | <AbsDimension x="75" y="16"/> |
||
1589 | </Size> |
||
1590 | </FontString> |
||
1591 | <FontString name="$parentExpireTitle" inherits="GameTooltipText" text="TIMERS_LOC_EXPIRE" justifyH="LEFT"> |
||
1592 | <Anchors> |
||
1593 | <Anchor point="TOPLEFT"> |
||
1594 | <Offset> |
||
1595 | <AbsDimension x="20" y="-220"/> |
||
1596 | </Offset> |
||
1597 | </Anchor> |
||
1598 | </Anchors> |
||
1599 | <Size> |
||
1600 | <AbsDimension x="75" y="16"/> |
||
1601 | </Size> |
||
1602 | </FontString> |
||
1603 | <FontString name="$parentExpChanTitle" inherits="GameTooltipText" text="TIMERS_LOC_CHANNEL" justifyH="LEFT"> |
||
1604 | <Anchors> |
||
1605 | <Anchor point="TOPLEFT"> |
||
1606 | <Offset> |
||
1607 | <AbsDimension x="20" y="-250"/> |
||
1608 | </Offset> |
||
1609 | </Anchor> |
||
1610 | </Anchors> |
||
1611 | <Size> |
||
1612 | <AbsDimension x="75" y="16"/> |
||
1613 | </Size> |
||
1614 | </FontString> |
||
1615 | <FontString name="$parentExpMessTitle" inherits="GameTooltipText" text="TIMERS_LOC_MESSAGE" justifyH="LEFT"> |
||
1616 | <Anchors> |
||
1617 | <Anchor point="TOPLEFT"> |
||
1618 | <Offset> |
||
1619 | <AbsDimension x="20" y="-270"/> |
||
1620 | </Offset> |
||
1621 | </Anchor> |
||
1622 | </Anchors> |
||
1623 | <Size> |
||
1624 | <AbsDimension x="75" y="16"/> |
||
1625 | </Size> |
||
1626 | </FontString> |
||
1627 | <FontString name="$parentThresholdTitle" inherits="GameTooltipText" text="TIMERS_LOC_THRESHOLD" justifyH="LEFT"> |
||
1628 | <Anchors> |
||
1629 | <Anchor point="TOPLEFT"> |
||
1630 | <Offset> |
||
1631 | <AbsDimension x="20" y="-320"/> |
||
1632 | </Offset> |
||
1633 | </Anchor> |
||
1634 | </Anchors> |
||
1635 | <Size> |
||
1636 | <AbsDimension x="75" y="16"/> |
||
1637 | </Size> |
||
1638 | </FontString> |
||
1639 | <FontString name="$parentCountTitle" inherits="GameTooltipText" text="TIMERS_LOC_COUNT" justifyH="LEFT"> |
||
1640 | <Anchors> |
||
1641 | <Anchor point="TOPLEFT"> |
||
1642 | <Offset> |
||
1643 | <AbsDimension x="210" y="-320"/> |
||
1644 | </Offset> |
||
1645 | </Anchor> |
||
1646 | </Anchors> |
||
1647 | <Size> |
||
1648 | <AbsDimension x="50" y="16"/> |
||
1649 | </Size> |
||
1650 | </FontString> |
||
1651 | </Layer> |
||
1652 | </Layers> |
||
1653 | <Frames> |
||
1654 | <Button name="$parentCloseButton" inherits="TextButtonTemplate" text="x"> |
||
1655 | <Anchors> |
||
1656 | <Anchor point="TOPRIGHT" relativeTo="$parent" relativePoint="TOPRIGHT"> |
||
1657 | <Offset> |
||
1658 | <AbsDimension x="-4" y="-3"/> |
||
1659 | </Offset> |
||
1660 | </Anchor> |
||
1661 | </Anchors> |
||
1662 | <Scripts> |
||
1663 | <OnClick> |
||
1664 | HideUIPanel(this:GetParent()); |
||
1665 | </OnClick> |
||
1666 | </Scripts> |
||
1667 | </Button> |
||
1668 | <EditBox name="$parentNameInput" inherits="TimersEditBoxTemplate"> |
||
1669 | <Anchors> |
||
1670 | <Anchor point="LEFT" relativeTo="$parentNameTitle" relativePoint="RIGHT"/> |
||
1671 | </Anchors> |
||
1672 | <Size> |
||
1673 | <AbsDimension x="130" y="16"/> |
||
1674 | </Size> |
||
1675 | <Scripts> |
||
1676 | <OnEditFocusGained> |
||
1677 | this:HighlightText(); |
||
1678 | TimersEdit_EditNameAdv(); |
||
1679 | </OnEditFocusGained> |
||
1680 | <OnEnterPressed> |
||
1681 | TimersEdit_SaveName(); |
||
1682 | this:ClearFocus(); |
||
1683 | </OnEnterPressed> |
||
1684 | </Scripts> |
||
1685 | </EditBox> |
||
1686 | <EditBox name="$parentTimeInput" inherits="TimersEditBoxTemplate"> |
||
1687 | <Anchors> |
||
1688 | <Anchor point="LEFT" relativeTo="$parentTimeTitle" relativePoint="RIGHT"/> |
||
1689 | </Anchors> |
||
1690 | <Size> |
||
1691 | <AbsDimension x="130" y="16"/> |
||
1692 | </Size> |
||
1693 | <Scripts> |
||
1694 | <OnEnterPressed> |
||
1695 | TimersEdit_SaveTime(); |
||
1696 | this:ClearFocus(); |
||
1697 | </OnEnterPressed> |
||
1698 | </Scripts> |
||
1699 | </EditBox> |
||
1700 | <EditBox name="$parentTextBox" inherits="TimersEditBoxDropDownTemplate" > |
||
1701 | <Size> |
||
1702 | <AbsDimension x="300" y="18"/> |
||
1703 | </Size> |
||
1704 | <Anchors> |
||
1705 | <Anchor point="TOPLEFT" relativeTo="$parentTextTitle" relativePoint="TOPRIGHT"/> |
||
1706 | </Anchors> |
||
1707 | <Scripts> |
||
1708 | <OnEnterPressed> |
||
1709 | TimersEdit_SaveText(); |
||
1710 | Timers_SetTriggerData(); |
||
1711 | this:ClearFocus(); |
||
1712 | </OnEnterPressed> |
||
1713 | </Scripts> |
||
1714 | </EditBox> |
||
1715 | <Button name="$parentTypeBox" inherits="TimersDropDownInputTemplate"> |
||
1716 | <Size> |
||
1717 | <AbsDimension x="75" y="18"/> |
||
1718 | </Size> |
||
1719 | <Anchors> |
||
1720 | <Anchor point="TOPLEFT" relativeTo="$parentTypeTitle" relativePoint="TOPRIGHT"/> |
||
1721 | </Anchors> |
||
1722 | </Button> |
||
1723 | <Button name="$parentModeBox" inherits="TimersDropDownInputTemplate"> |
||
1724 | <Size> |
||
1725 | <AbsDimension x="75" y="18"/> |
||
1726 | </Size> |
||
1727 | <Anchors> |
||
1728 | <Anchor point="TOPLEFT" relativeTo="$parentModeTitle" relativePoint="TOPRIGHT"/> |
||
1729 | </Anchors> |
||
1730 | </Button> |
||
1731 | <Button name="$parentWarnChanBox" inherits="TimersDropDownInputTemplate"> |
||
1732 | <Size> |
||
1733 | <AbsDimension x="75" y="18"/> |
||
1734 | </Size> |
||
1735 | <Anchors> |
||
1736 | <Anchor point="TOPLEFT" relativeTo="$parentWarnChanTitle" relativePoint="TOPRIGHT"/> |
||
1737 | </Anchors> |
||
1738 | </Button> |
||
1739 | <EditBox name="$parentWarnTimeInput" inherits="TimersEditBoxTemplate"> |
||
1740 | <Anchors> |
||
1741 | <Anchor point="LEFT" relativeTo="$parentWarnTimeTitle" relativePoint="RIGHT"/> |
||
1742 | </Anchors> |
||
1743 | <Size> |
||
1744 | <AbsDimension x="130" y="16"/> |
||
1745 | </Size> |
||
1746 | <Scripts> |
||
1747 | <OnEnterPressed> |
||
1748 | TimersEdit_SavePrewarn(); |
||
1749 | this:ClearFocus(); |
||
1750 | </OnEnterPressed> |
||
1751 | </Scripts> |
||
1752 | </EditBox> |
||
1753 | <EditBox name="$parentWarnMessInput" inherits="TimersEditBoxTemplate"> |
||
1754 | <Anchors> |
||
1755 | <Anchor point="LEFT" relativeTo="$parentWarnMessTitle" relativePoint="RIGHT"/> |
||
1756 | </Anchors> |
||
1757 | <Size> |
||
1758 | <AbsDimension x="300" y="16"/> |
||
1759 | </Size> |
||
1760 | <Scripts> |
||
1761 | <OnEnterPressed> |
||
1762 | TimersEdit_SaveMessage(); |
||
1763 | this:ClearFocus(); |
||
1764 | </OnEnterPressed> |
||
1765 | </Scripts> |
||
1766 | </EditBox> |
||
1767 | <Button name="$parentExpChanBox" inherits="TimersDropDownInputTemplate"> |
||
1768 | <Size> |
||
1769 | <AbsDimension x="75" y="18"/> |
||
1770 | </Size> |
||
1771 | <Anchors> |
||
1772 | <Anchor point="TOPLEFT" relativeTo="$parentExpChanTitle" relativePoint="TOPRIGHT"/> |
||
1773 | </Anchors> |
||
1774 | </Button> |
||
1775 | <EditBox name="$parentExpMessInput" inherits="TimersEditBoxTemplate"> |
||
1776 | <Anchors> |
||
1777 | <Anchor point="LEFT" relativeTo="$parentExpMessTitle" relativePoint="RIGHT"/> |
||
1778 | </Anchors> |
||
1779 | <Size> |
||
1780 | <AbsDimension x="300" y="16"/> |
||
1781 | </Size> |
||
1782 | <Scripts> |
||
1783 | <OnEnterPressed> |
||
1784 | TimersEdit_SaveMessage(); |
||
1785 | this:ClearFocus(); |
||
1786 | </OnEnterPressed> |
||
1787 | </Scripts> |
||
1788 | </EditBox> |
||
1789 | <EditBox name="$parentThresholdInput" inherits="TimersEditBoxTemplate"> |
||
1790 | <Anchors> |
||
1791 | <Anchor point="LEFT" relativeTo="$parentThresholdTitle" relativePoint="RIGHT"/> |
||
1792 | </Anchors> |
||
1793 | <Size> |
||
1794 | <AbsDimension x="130" y="16"/> |
||
1795 | </Size> |
||
1796 | <Scripts> |
||
1797 | <OnEnterPressed> |
||
1798 | TimersEdit_SaveThreshold(); |
||
1799 | this:ClearFocus(); |
||
1800 | </OnEnterPressed> |
||
1801 | </Scripts> |
||
1802 | </EditBox> |
||
1803 | <EditBox name="$parentCountInput" inherits="TimersEditBoxTemplate"> |
||
1804 | <Anchors> |
||
1805 | <Anchor point="LEFT" relativeTo="$parentCountTitle" relativePoint="RIGHT"/> |
||
1806 | </Anchors> |
||
1807 | <Size> |
||
1808 | <AbsDimension x="130" y="16"/> |
||
1809 | </Size> |
||
1810 | <Scripts> |
||
1811 | <OnEnterPressed> |
||
1812 | TimersEdit_SaveCount(); |
||
1813 | this:ClearFocus(); |
||
1814 | </OnEnterPressed> |
||
1815 | </Scripts> |
||
1816 | </EditBox> |
||
1817 | </Frames> |
||
1818 | </Frame> |
||
1819 | |||
1820 | </Ui> |