vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | <!-- TargetOfTarget: Keeps Target of Target shown below TargetFrame --> |
2 | <!-- --> |
||
3 | <!-- Copyright (c) 2005 Itchyban of Veeshan --> |
||
4 | <!-- --> |
||
5 | <!-- Version 2.1 Beta 1 --> |
||
6 | <!-- --> |
||
7 | <!-- $Header: /usr/local/cvsroot/WoW/Interface/AddOns/TargetOfTarget/ParamsFrame.xml,v 1.8 2005/05/29 19:54:41 jeff Exp $ --> |
||
8 | |||
9 | <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/ |
||
10 | ../../FrameXML/UI.xsd"> |
||
11 | |||
12 | <EditBox name="HoTT_Params_FourDigitInputBox_Template" |
||
13 | virtual="true" |
||
14 | autoFocus="false" |
||
15 | parent = "HoTT_Params_Frame" |
||
16 | inherits="HoTT_InputBoxTemplate" |
||
17 | letters="5"> |
||
18 | <Size> |
||
19 | <AbsDimension x="38" y="20"/> |
||
20 | <!-- Does not seem to want to scale vertically --> |
||
21 | <!-- Looks to be locked at 20 px high --> |
||
22 | <!-- 30 wide holds 0000 nicely --> |
||
23 | <!-- 34 for -1000 --> |
||
24 | </Size> |
||
25 | </EditBox> |
||
26 | |||
27 | <Frame name="HoTT_Params_Frame" |
||
28 | toplevel="true" |
||
29 | frameStrata="DIALOG" |
||
30 | movable="true" |
||
31 | enableMouse="true" |
||
32 | hidden="true" |
||
33 | parent="UIParent" |
||
34 | enableKeyboard="true"> |
||
35 | <Size> |
||
36 | <AbsDimension x="525" y="300"/> |
||
37 | </Size> |
||
38 | <Anchors> |
||
39 | <Anchor point="CENTER"/> |
||
40 | </Anchors> |
||
41 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" |
||
42 | edgeFile="Interface\DialogFrame\UI-DialogBox-Border" |
||
43 | tile="true"> |
||
44 | <BackgroundInsets> |
||
45 | <AbsInset left="11" right="12" top="12" bottom="11"/> |
||
46 | </BackgroundInsets> |
||
47 | <TileSize> |
||
48 | <AbsValue val="32"/> |
||
49 | </TileSize> |
||
50 | <EdgeSize> |
||
51 | <AbsValue val="32"/> |
||
52 | </EdgeSize> |
||
53 | </Backdrop> |
||
54 | <Layers> |
||
55 | <Layer level="ARTWORK"> |
||
56 | <Texture name="HoTT_Params_Frame_Title" |
||
57 | file="Interface\DialogFrame\UI-DialogBox-Header"> |
||
58 | <Size> |
||
59 | <AbsDimension x="300" y="64"/> |
||
60 | </Size> |
||
61 | <Anchors> |
||
62 | <Anchor point="TOP"> |
||
63 | <Offset> |
||
64 | <AbsDimension x="0" y="12"/> |
||
65 | </Offset> |
||
66 | </Anchor> |
||
67 | </Anchors> |
||
68 | </Texture> |
||
69 | <FontString name="HoTT_Params_Frame_Title_Text" |
||
70 | inherits="GameFontNormal" |
||
71 | text="ToT UI Parameters"> |
||
72 | <Anchors> |
||
73 | <Anchor point="TOP" |
||
74 | relativeTo="HoTT_Params_Frame_Title"> |
||
75 | <Offset> |
||
76 | <AbsDimension x="0" y="-14"/> |
||
77 | </Offset> |
||
78 | </Anchor> |
||
79 | </Anchors> |
||
80 | </FontString> |
||
81 | </Layer> |
||
82 | |||
83 | <Layer level="ARTWORK"> |
||
84 | <FontString name="HoTT_Params_Frame_PositioningText" |
||
85 | inherits="GameFontHighlight" |
||
86 | text="Positioning"> |
||
87 | <Anchors> |
||
88 | <Anchor point="LEFT" |
||
89 | relativeTo="HoTT_Params_Frame" |
||
90 | relativePoint="TOPLEFT"> |
||
91 | <Offset> |
||
92 | <AbsDimension x="32" y="-32"/> |
||
93 | </Offset> |
||
94 | </Anchor> |
||
95 | </Anchors> |
||
96 | </FontString> |
||
97 | </Layer> |
||
98 | </Layers> |
||
99 | |||
100 | <Frames> |
||
101 | <EditBox name="HoTT_Params_Frame_ObjectName_EditBox" |
||
102 | autoFocus="false" |
||
103 | parent = "HoTT_Params_Frame" |
||
104 | inherits="HoTT_InputBoxTemplate"> |
||
105 | <Size> |
||
106 | <AbsDimension x="200" y="20"/> |
||
107 | <!-- Looks to be locked at 20 px high --> |
||
108 | <!-- 240 wide is plenty for "MiniGroup_TargetFrame_HealthBar" --> |
||
109 | </Size> |
||
110 | |||
111 | <Anchors> |
||
112 | <Anchor point="TOP" |
||
113 | relativeTo="HoTT_Params_Frame" |
||
114 | relativePoint="TOP"> |
||
115 | <Offset> |
||
116 | <AbsDimension x="0" y="-46"/> |
||
117 | </Offset> |
||
118 | </Anchor> |
||
119 | </Anchors> |
||
120 | |||
121 | <Layers> |
||
122 | <Layer level="ARTWORK"> |
||
123 | <FontString name="HoTT_Params_Frame_ObjectText" |
||
124 | inherits="GameFontNormalSmall" |
||
125 | text="Relative To Object"> |
||
126 | <Anchors> |
||
127 | <Anchor point="LEFT" |
||
128 | relativeTo="HoTT_Params_Frame_PositioningText" |
||
129 | relativePoint="LEFT"> |
||
130 | <Offset> |
||
131 | <AbsDimension x="0" y="-24"/> |
||
132 | </Offset> |
||
133 | </Anchor> |
||
134 | </Anchors> |
||
135 | </FontString> |
||
136 | </Layer> |
||
137 | </Layers> |
||
138 | |||
139 | <Scripts> |
||
140 | <OnEnterPressed> |
||
141 | HoTT_Params_Frame_ObjectName_Changed(this:GetText()); |
||
142 | </OnEnterPressed> |
||
143 | |||
144 | <OnEscapePressed> |
||
145 | HoTT_Params_Frame_LoadValues(); |
||
146 | </OnEscapePressed> |
||
147 | |||
148 | <OnEditFocusLost> |
||
149 | this:HighlightText(0,0); |
||
150 | HoTT_Params_Frame_ObjectName_Changed(this:GetText()); |
||
151 | </OnEditFocusLost> |
||
152 | |||
153 | <OnTabPressed> |
||
154 | if ( IsShiftKeyDown () ) then |
||
155 | HoTT_Params_Frame_AggroMessage_EditBox:SetFocus(); |
||
156 | else |
||
157 | HoTT_Params_Frame_DisplayLeft_EditBox:SetFocus(); |
||
158 | end |
||
159 | </OnTabPressed> |
||
160 | </Scripts> |
||
161 | </EditBox> |
||
162 | |||
163 | <EditBox name="HoTT_Params_Frame_DisplayLeft_EditBox" |
||
164 | parent = "HoTT_Params_Frame" |
||
165 | inherits="HoTT_Params_FourDigitInputBox_Template"> |
||
166 | <Anchors> |
||
167 | <Anchor point="LEFT" |
||
168 | relativeTo="HoTT_Params_Frame_ObjectName_EditBox" |
||
169 | relativePoint="LEFT"> |
||
170 | <Offset> |
||
171 | <AbsDimension x="20" y="-24"/> |
||
172 | </Offset> |
||
173 | </Anchor> |
||
174 | </Anchors> |
||
175 | |||
176 | <Layers> |
||
177 | <Layer level="ARTWORK"> |
||
178 | <FontString name="HoTT_Params_Frame_DisplayInsetsText" |
||
179 | inherits="GameFontNormalSmall" |
||
180 | text="Display Insets"> |
||
181 | <Anchors> |
||
182 | <Anchor point="LEFT" |
||
183 | relativeTo="HoTT_Params_Frame_ObjectText" |
||
184 | relativePoint="LEFT"> |
||
185 | <Offset> |
||
186 | <AbsDimension x="0" y="-24"/> |
||
187 | </Offset> |
||
188 | </Anchor> |
||
189 | </Anchors> |
||
190 | </FontString> |
||
191 | </Layer> |
||
192 | </Layers> |
||
193 | |||
194 | <Scripts> |
||
195 | <OnEnterPressed> |
||
196 | HoTT_Params_Frame_DisplayLeft_Changed(this:GetText()); |
||
197 | </OnEnterPressed> |
||
198 | |||
199 | <OnEditFocusLost> |
||
200 | this:HighlightText(0,0); |
||
201 | HoTT_Params_Frame_DisplayLeft_Changed(this:GetText()); |
||
202 | </OnEditFocusLost> |
||
203 | |||
204 | <OnTabPressed> |
||
205 | if ( IsShiftKeyDown () ) then |
||
206 | HoTT_Params_Frame_ObjectName_EditBox:SetFocus(); |
||
207 | else |
||
208 | HoTT_Params_Frame_DisplayRight_EditBox:SetFocus(); |
||
209 | end |
||
210 | </OnTabPressed> |
||
211 | </Scripts> |
||
212 | </EditBox> |
||
213 | |||
214 | <EditBox name="HoTT_Params_Frame_DisplayRight_EditBox" |
||
215 | parent = "HoTT_Params_Frame" |
||
216 | inherits="HoTT_Params_FourDigitInputBox_Template"> |
||
217 | <Anchors> |
||
218 | <Anchor point="RIGHT" |
||
219 | relativeTo="HoTT_Params_Frame_ObjectName_EditBox" |
||
220 | relativePoint="RIGHT"> |
||
221 | <Offset> |
||
222 | <AbsDimension x="-20" y="-24"/> |
||
223 | </Offset> |
||
224 | </Anchor> |
||
225 | </Anchors> |
||
226 | |||
227 | <Scripts> |
||
228 | <OnEnterPressed> |
||
229 | HoTT_Params_Frame_DisplayRight_Changed(this:GetText()); |
||
230 | </OnEnterPressed> |
||
231 | |||
232 | <OnEditFocusLost> |
||
233 | this:HighlightText(0,0); |
||
234 | HoTT_Params_Frame_DisplayRight_Changed(this:GetText()); |
||
235 | </OnEditFocusLost> |
||
236 | |||
237 | <OnTabPressed> |
||
238 | if ( IsShiftKeyDown () ) then |
||
239 | HoTT_Params_Frame_DisplayLeft_EditBox:SetFocus(); |
||
240 | else |
||
241 | HoTT_Params_Frame_TextLeft_EditBox:SetFocus(); |
||
242 | end |
||
243 | </OnTabPressed> |
||
244 | </Scripts> |
||
245 | </EditBox> |
||
246 | |||
247 | <EditBox name="HoTT_Params_Frame_TextLeft_EditBox" |
||
248 | parent = "HoTT_Params_Frame" |
||
249 | inherits="HoTT_Params_FourDigitInputBox_Template"> |
||
250 | <Anchors> |
||
251 | <Anchor point="LEFT" |
||
252 | relativeTo="HoTT_Params_Frame_DisplayLeft_EditBox" |
||
253 | relativePoint="LEFT"> |
||
254 | <Offset> |
||
255 | <AbsDimension x="20" y="-24"/> |
||
256 | </Offset> |
||
257 | </Anchor> |
||
258 | </Anchors> |
||
259 | |||
260 | <Layers> |
||
261 | <Layer level="ARTWORK"> |
||
262 | <FontString name="HoTT_Params_Frame_TextInsetsText" |
||
263 | inherits="GameFontNormalSmall" |
||
264 | text="Text Insets"> |
||
265 | <Anchors> |
||
266 | <Anchor point="LEFT" |
||
267 | relativeTo="HoTT_Params_Frame_DisplayInsetsText" |
||
268 | relativePoint="LEFT"> |
||
269 | <Offset> |
||
270 | <AbsDimension x="0" y="-24"/> |
||
271 | </Offset> |
||
272 | </Anchor> |
||
273 | </Anchors> |
||
274 | </FontString> |
||
275 | </Layer> |
||
276 | </Layers> |
||
277 | |||
278 | <Scripts> |
||
279 | <OnEnterPressed> |
||
280 | HoTT_Params_Frame_TextLeft_Changed(this:GetText()); |
||
281 | </OnEnterPressed> |
||
282 | |||
283 | <OnEditFocusLost> |
||
284 | this:HighlightText(0,0); |
||
285 | HoTT_Params_Frame_TextLeft_Changed(this:GetText()); |
||
286 | </OnEditFocusLost> |
||
287 | |||
288 | <OnTabPressed> |
||
289 | if ( IsShiftKeyDown () ) then |
||
290 | HoTT_Params_Frame_DisplayRight_EditBox:SetFocus(); |
||
291 | else |
||
292 | HoTT_Params_Frame_TextRight_EditBox:SetFocus(); |
||
293 | end |
||
294 | </OnTabPressed> |
||
295 | </Scripts> |
||
296 | </EditBox> |
||
297 | |||
298 | <EditBox name="HoTT_Params_Frame_TextRight_EditBox" |
||
299 | parent = "HoTT_Params_Frame" |
||
300 | inherits="HoTT_Params_FourDigitInputBox_Template"> |
||
301 | <Anchors> |
||
302 | <Anchor point="RIGHT" |
||
303 | relativeTo="HoTT_Params_Frame_DisplayRight_EditBox" |
||
304 | relativePoint="RIGHT"> |
||
305 | <Offset> |
||
306 | <AbsDimension x="-20" y="-24"/> |
||
307 | </Offset> |
||
308 | </Anchor> |
||
309 | </Anchors> |
||
310 | |||
311 | <Scripts> |
||
312 | <OnEnterPressed> |
||
313 | HoTT_Params_Frame_TextRight_Changed(this:GetText()); |
||
314 | </OnEnterPressed> |
||
315 | |||
316 | <OnEditFocusLost> |
||
317 | this:HighlightText(0,0); |
||
318 | HoTT_Params_Frame_TextRight_Changed(this:GetText()); |
||
319 | </OnEditFocusLost> |
||
320 | |||
321 | <OnTabPressed> |
||
322 | if ( IsShiftKeyDown () ) then |
||
323 | HoTT_Params_Frame_TextLeft_EditBox:SetFocus(); |
||
324 | else |
||
325 | HoTT_Params_Frame_Scale_EditBox:SetFocus(); |
||
326 | end |
||
327 | </OnTabPressed> |
||
328 | </Scripts> |
||
329 | </EditBox> |
||
330 | |||
331 | <Frame name="HoTT_Params_Frame_ShowAlignmentFrame" |
||
332 | hidden="false"> |
||
333 | <Size> |
||
334 | <AbsDimension x="30" y="20"/> |
||
335 | </Size> |
||
336 | <Anchors> |
||
337 | <Anchor point="LEFT" |
||
338 | relativeTo="HoTT_Params_Frame_TextLeft_EditBox" |
||
339 | relativePoint="RIGHT"> |
||
340 | <Offset> |
||
341 | <AbsDimension x="0" y="0"/> |
||
342 | </Offset> |
||
343 | </Anchor> |
||
344 | |||
345 | <Anchor point="RIGHT" |
||
346 | relativeTo="HoTT_Params_Frame_TextRight_EditBox" |
||
347 | relativePoint="LEFT"> |
||
348 | <Offset> |
||
349 | <AbsDimension x="0" y="0"/> |
||
350 | </Offset> |
||
351 | </Anchor> |
||
352 | </Anchors> |
||
353 | </Frame> |
||
354 | |||
355 | <CheckButton name="HoTT_Params_Frame_ButtonLeft" |
||
356 | inherits="UICheckButtonTemplate" |
||
357 | id="1"> |
||
358 | <Size> |
||
359 | <AbsDimension x="24" y="24"/> |
||
360 | </Size> |
||
361 | |||
362 | <Anchors> |
||
363 | <Anchor point="LEFT" |
||
364 | relativeTo="HoTT_Params_Frame_TextLeft_EditBox" |
||
365 | relativePoint="LEFT"> |
||
366 | <Offset> |
||
367 | <AbsDimension x="-8" y="-24"/> |
||
368 | </Offset> |
||
369 | </Anchor> |
||
370 | </Anchors> |
||
371 | |||
372 | <Layers> |
||
373 | <Layer level="ARTWORK"> |
||
374 | <FontString name="HoTT_Params_Frame_AlignmentText" |
||
375 | inherits="GameFontNormalSmall" |
||
376 | text="Align Text"> |
||
377 | <Anchors> |
||
378 | <Anchor point="LEFT" |
||
379 | relativeTo="HoTT_Params_Frame_TextInsetsText" |
||
380 | relativePoint="LEFT"> |
||
381 | <Offset> |
||
382 | <AbsDimension x="0" y="-24"/> |
||
383 | </Offset> |
||
384 | </Anchor> |
||
385 | </Anchors> |
||
386 | </FontString> |
||
387 | </Layer> |
||
388 | </Layers> |
||
389 | |||
390 | <Scripts> |
||
391 | <OnClick> |
||
392 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
393 | HoTT_Params_Frame_ButtonCenter:SetChecked(false); |
||
394 | HoTT_Params_Frame_ButtonRight:SetChecked(false); |
||
395 | HoTT_Params_Frame_Alignment_Changed("LEFT"); |
||
396 | HoTT_Params_Frame_ClearFocus(); |
||
397 | HoTT_Params_Frame_CheckRefocus(); |
||
398 | </OnClick> |
||
399 | </Scripts> |
||
400 | </CheckButton> |
||
401 | |||
402 | |||
403 | <CheckButton name="HoTT_Params_Frame_ButtonCenter" |
||
404 | inherits="UICheckButtonTemplate" |
||
405 | id="2"> |
||
406 | <Size> |
||
407 | <AbsDimension x="24" y="24"/> |
||
408 | </Size> |
||
409 | |||
410 | <Anchors> |
||
411 | <Anchor point="CENTER" |
||
412 | relativeTo="HoTT_Params_Frame_ShowAlignmentFrame" |
||
413 | relativePoint="CENTER"> |
||
414 | <Offset> |
||
415 | <AbsDimension x="0" y="-24"/> |
||
416 | </Offset> |
||
417 | </Anchor> |
||
418 | </Anchors> |
||
419 | |||
420 | <Scripts> |
||
421 | <OnClick> |
||
422 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
423 | HoTT_Params_Frame_ButtonLeft:SetChecked(false); |
||
424 | HoTT_Params_Frame_ButtonRight:SetChecked(false); |
||
425 | HoTT_Params_Frame_Alignment_Changed("CENTER"); |
||
426 | HoTT_Params_Frame_ClearFocus(); |
||
427 | HoTT_Params_Frame_CheckRefocus(); |
||
428 | </OnClick> |
||
429 | </Scripts> |
||
430 | </CheckButton> |
||
431 | |||
432 | |||
433 | <CheckButton name="HoTT_Params_Frame_ButtonRight" |
||
434 | inherits="UICheckButtonTemplate" |
||
435 | id="3"> |
||
436 | <Size> |
||
437 | <AbsDimension x="24" y="24"/> |
||
438 | </Size> |
||
439 | |||
440 | <Anchors> |
||
441 | <Anchor point="RIGHT" |
||
442 | relativeTo="HoTT_Params_Frame_TextRight_EditBox" |
||
443 | relativePoint="RIGHT"> |
||
444 | <Offset> |
||
445 | <AbsDimension x="9" y="-24"/> |
||
446 | </Offset> |
||
447 | </Anchor> |
||
448 | </Anchors> |
||
449 | |||
450 | <Scripts> |
||
451 | <OnClick> |
||
452 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
453 | HoTT_Params_Frame_ButtonLeft:SetChecked(false); |
||
454 | HoTT_Params_Frame_ButtonCenter:SetChecked(false); |
||
455 | HoTT_Params_Frame_Alignment_Changed("RIGHT"); |
||
456 | HoTT_Params_Frame_ClearFocus(); |
||
457 | HoTT_Params_Frame_CheckRefocus(); |
||
458 | </OnClick> |
||
459 | </Scripts> |
||
460 | </CheckButton> |
||
461 | |||
462 | <EditBox name="HoTT_Params_Frame_Scale_EditBox" |
||
463 | parent = "HoTT_Params_Frame" |
||
464 | inherits="HoTT_Params_FourDigitInputBox_Template"> |
||
465 | <Anchors> |
||
466 | <Anchor point="LEFT" |
||
467 | relativeTo="HoTT_Params_Frame_ObjectName_EditBox" |
||
468 | relativePoint="LEFT"> |
||
469 | <Offset> |
||
470 | <AbsDimension x="0" y="-96"/> |
||
471 | </Offset> |
||
472 | </Anchor> |
||
473 | </Anchors> |
||
474 | |||
475 | <Layers> |
||
476 | <Layer level="ARTWORK"> |
||
477 | <FontString name="HoTT_Params_Frame_ScaleText" |
||
478 | inherits="GameFontNormalSmall" |
||
479 | text="Scale Display By"> |
||
480 | <Anchors> |
||
481 | <Anchor point="LEFT" |
||
482 | relativeTo="HoTT_Params_Frame_AlignmentText" |
||
483 | relativePoint="LEFT"> |
||
484 | <Offset> |
||
485 | <AbsDimension x="0" y="-24"/> |
||
486 | </Offset> |
||
487 | </Anchor> |
||
488 | </Anchors> |
||
489 | </FontString> |
||
490 | </Layer> |
||
491 | </Layers> |
||
492 | |||
493 | <Scripts> |
||
494 | <OnEnterPressed> |
||
495 | HoTT_Params_Frame_Scale_Changed(this:GetText()); |
||
496 | </OnEnterPressed> |
||
497 | |||
498 | <OnEditFocusLost> |
||
499 | this:HighlightText(0,0); |
||
500 | HoTT_Params_Frame_Scale_Changed(this:GetText()); |
||
501 | </OnEditFocusLost> |
||
502 | |||
503 | <OnTabPressed> |
||
504 | if ( IsShiftKeyDown () ) then |
||
505 | HoTT_Params_Frame_TextRight_EditBox:SetFocus(); |
||
506 | else |
||
507 | HoTT_Params_Frame_Drop0_EditBox:SetFocus(); |
||
508 | end |
||
509 | </OnTabPressed> |
||
510 | </Scripts> |
||
511 | </EditBox> |
||
512 | |||
513 | |||
514 | <EditBox name="HoTT_Params_Frame_Drop0_EditBox" |
||
515 | parent = "HoTT_Params_Frame" |
||
516 | inherits="HoTT_Params_FourDigitInputBox_Template"> |
||
517 | <Anchors> |
||
518 | <Anchor point="LEFT" |
||
519 | relativeTo="HoTT_Params_Frame_ObjectName_EditBox" |
||
520 | relativePoint="RIGHT"> |
||
521 | <Offset> |
||
522 | <AbsDimension x="24" y="-24"/> |
||
523 | </Offset> |
||
524 | </Anchor> |
||
525 | </Anchors> |
||
526 | |||
527 | <Layers> |
||
528 | <Layer level="ARTWORK"> |
||
529 | <FontString name="HoTT_Params_Frame_DropsText" |
||
530 | inherits="GameFontNormalSmall" |
||
531 | text="Drop By"> |
||
532 | <Anchors> |
||
533 | <Anchor point="LEFT" |
||
534 | relativeTo="HoTT_Params_Frame_Drop0_EditBox" |
||
535 | relativePoint="LEFT"> |
||
536 | <Offset> |
||
537 | <AbsDimension x="-5" y="24"/> |
||
538 | </Offset> |
||
539 | </Anchor> |
||
540 | </Anchors> |
||
541 | </FontString> |
||
542 | </Layer> |
||
543 | |||
544 | <Layer level="ARTWORK"> |
||
545 | <FontString name="HoTT_Params_Frame_BuffsText" |
||
546 | inherits="GameFontNormalSmall" |
||
547 | text="Showing"> |
||
548 | <Anchors> |
||
549 | <Anchor point="LEFT" |
||
550 | relativeTo="HoTT_Params_Frame_Drop0_EditBox" |
||
551 | relativePoint="RIGHT"> |
||
552 | <Offset> |
||
553 | <AbsDimension x="16" y="24"/> |
||
554 | </Offset> |
||
555 | </Anchor> |
||
556 | </Anchors> |
||
557 | </FontString> |
||
558 | </Layer> |
||
559 | |||
560 | <Layer level="ARTWORK"> |
||
561 | <FontString name="HoTT_Params_Frame_BuffsText0" |
||
562 | inherits="GameFontNormalSmall" |
||
563 | text="No Rows"> |
||
564 | <Anchors> |
||
565 | <Anchor point="LEFT" |
||
566 | relativeTo="HoTT_Params_Frame_Drop0_EditBox" |
||
567 | relativePoint="RIGHT"> |
||
568 | <Offset> |
||
569 | <AbsDimension x="16" y="0"/> |
||
570 | </Offset> |
||
571 | </Anchor> |
||
572 | </Anchors> |
||
573 | </FontString> |
||
574 | </Layer> |
||
575 | </Layers> |
||
576 | |||
577 | <Scripts> |
||
578 | <OnEnterPressed> |
||
579 | HoTT_Params_Frame_Drop0_Changed(this:GetText()); |
||
580 | </OnEnterPressed> |
||
581 | |||
582 | <OnEditFocusLost> |
||
583 | this:HighlightText(0,0); |
||
584 | HoTT_Params_Frame_Drop0_Changed(this:GetText()); |
||
585 | </OnEditFocusLost> |
||
586 | |||
587 | <OnTabPressed> |
||
588 | if ( IsShiftKeyDown () ) then |
||
589 | HoTT_Params_Frame_Scale_EditBox:SetFocus(); |
||
590 | else |
||
591 | HoTT_Params_Frame_Drop1_EditBox:SetFocus(); |
||
592 | end |
||
593 | </OnTabPressed> |
||
594 | </Scripts> |
||
595 | </EditBox> |
||
596 | |||
597 | <EditBox name="HoTT_Params_Frame_Drop1_EditBox" |
||
598 | parent = "HoTT_Params_Frame" |
||
599 | inherits="HoTT_Params_FourDigitInputBox_Template"> |
||
600 | <Anchors> |
||
601 | <Anchor point="LEFT" |
||
602 | relativeTo="HoTT_Params_Frame_Drop0_EditBox" |
||
603 | relativePoint="LEFT"> |
||
604 | <Offset> |
||
605 | <AbsDimension x="0" y="-24"/> |
||
606 | </Offset> |
||
607 | </Anchor> |
||
608 | </Anchors> |
||
609 | |||
610 | <Layers> |
||
611 | <Layer level="ARTWORK"> |
||
612 | <FontString name="HoTT_Params_Frame_BuffsText1" |
||
613 | inherits="GameFontNormalSmall" |
||
614 | text="One Row"> |
||
615 | <Anchors> |
||
616 | <Anchor point="LEFT" |
||
617 | relativeTo="HoTT_Params_Frame_Drop1_EditBox" |
||
618 | relativePoint="RIGHT"> |
||
619 | <Offset> |
||
620 | <AbsDimension x="16" y="0"/> |
||
621 | </Offset> |
||
622 | </Anchor> |
||
623 | </Anchors> |
||
624 | </FontString> |
||
625 | </Layer> |
||
626 | </Layers> |
||
627 | |||
628 | <Scripts> |
||
629 | <OnEnterPressed> |
||
630 | HoTT_Params_Frame_Drop1_Changed(this:GetText()); |
||
631 | </OnEnterPressed> |
||
632 | |||
633 | <OnEditFocusLost> |
||
634 | this:HighlightText(0,0); |
||
635 | HoTT_Params_Frame_Drop1_Changed(this:GetText()); |
||
636 | </OnEditFocusLost> |
||
637 | |||
638 | <OnTabPressed> |
||
639 | if ( IsShiftKeyDown () ) then |
||
640 | HoTT_Params_Frame_Drop0_EditBox:SetFocus(); |
||
641 | else |
||
642 | HoTT_Params_Frame_Drop2_EditBox:SetFocus(); |
||
643 | end |
||
644 | </OnTabPressed> |
||
645 | </Scripts> |
||
646 | </EditBox> |
||
647 | |||
648 | <EditBox name="HoTT_Params_Frame_Drop2_EditBox" |
||
649 | parent = "HoTT_Params_Frame" |
||
650 | inherits="HoTT_Params_FourDigitInputBox_Template"> |
||
651 | <Anchors> |
||
652 | <Anchor point="LEFT" |
||
653 | relativeTo="HoTT_Params_Frame_Drop1_EditBox" |
||
654 | relativePoint="LEFT"> |
||
655 | <Offset> |
||
656 | <AbsDimension x="0" y="-24"/> |
||
657 | </Offset> |
||
658 | </Anchor> |
||
659 | </Anchors> |
||
660 | |||
661 | <Layers> |
||
662 | <Layer level="ARTWORK"> |
||
663 | <FontString name="HoTT_Params_Frame_BuffsText2" |
||
664 | inherits="GameFontNormalSmall" |
||
665 | text="Two Rows"> |
||
666 | <Anchors> |
||
667 | <Anchor point="LEFT" |
||
668 | relativeTo="HoTT_Params_Frame_Drop2_EditBox" |
||
669 | relativePoint="RIGHT"> |
||
670 | <Offset> |
||
671 | <AbsDimension x="16" y="0"/> |
||
672 | </Offset> |
||
673 | </Anchor> |
||
674 | </Anchors> |
||
675 | </FontString> |
||
676 | </Layer> |
||
677 | </Layers> |
||
678 | |||
679 | <Scripts> |
||
680 | <OnEnterPressed> |
||
681 | HoTT_Params_Frame_Drop2_Changed(this:GetText()); |
||
682 | </OnEnterPressed> |
||
683 | |||
684 | <OnEditFocusLost> |
||
685 | this:HighlightText(0,0); |
||
686 | HoTT_Params_Frame_Drop2_Changed(this:GetText()); |
||
687 | </OnEditFocusLost> |
||
688 | |||
689 | <OnTabPressed> |
||
690 | if ( IsShiftKeyDown () ) then |
||
691 | HoTT_Params_Frame_Drop1_EditBox:SetFocus(); |
||
692 | else |
||
693 | HoTT_Params_Frame_AggroMessage_EditBox:SetFocus(); |
||
694 | end |
||
695 | </OnTabPressed> |
||
696 | </Scripts> |
||
697 | </EditBox> |
||
698 | |||
699 | |||
700 | <EditBox name="HoTT_Params_Frame_AggroMessage_EditBox" |
||
701 | autoFocus="false" |
||
702 | parent = "HoTT_Params_Frame" |
||
703 | inherits="HoTT_InputBoxTemplate"> |
||
704 | <Size> |
||
705 | <AbsDimension x="200" y="20"/> |
||
706 | </Size> |
||
707 | |||
708 | <Anchors> |
||
709 | <Anchor point="TOPLEFT" |
||
710 | relativeTo="HoTT_Params_Frame_ObjectName_EditBox"> |
||
711 | <Offset> |
||
712 | <AbsDimension x="0" y="-156"/> |
||
713 | </Offset> |
||
714 | </Anchor> |
||
715 | </Anchors> |
||
716 | |||
717 | <Layers> |
||
718 | <Layer level="ARTWORK"> |
||
719 | <FontString name="HoTT_Params_Frame_AlertsText" |
||
720 | inherits="GameFontHighlight" |
||
721 | text="Alerts"> |
||
722 | <Anchors> |
||
723 | <Anchor point="LEFT" |
||
724 | relativeTo="HoTT_Params_Frame_PositioningText" |
||
725 | relativePoint="LEFT"> |
||
726 | <Offset> |
||
727 | <AbsDimension x="0" y="-156"/> |
||
728 | </Offset> |
||
729 | </Anchor> |
||
730 | </Anchors> |
||
731 | </FontString> |
||
732 | </Layer> |
||
733 | |||
734 | <Layer level="ARTWORK"> |
||
735 | <FontString name="HoTT_Params_Frame_AggroText" |
||
736 | inherits="GameFontNormalSmall" |
||
737 | text="Aggro Gained Message"> |
||
738 | <Anchors> |
||
739 | <Anchor point="LEFT" |
||
740 | relativeTo="HoTT_Params_Frame_AlertsText" |
||
741 | relativePoint="LEFT"> |
||
742 | <Offset> |
||
743 | <AbsDimension x="0" y="-24"/> |
||
744 | </Offset> |
||
745 | </Anchor> |
||
746 | </Anchors> |
||
747 | </FontString> |
||
748 | </Layer> |
||
749 | </Layers> |
||
750 | |||
751 | <Scripts> |
||
752 | <OnShow> |
||
753 | this:ClearFocus(); |
||
754 | </OnShow> |
||
755 | |||
756 | <OnEnterPressed> |
||
757 | HoTT_Params_Frame_AggroMessage_Changed(this:GetText()); |
||
758 | </OnEnterPressed> |
||
759 | |||
760 | <OnEscapePressed> |
||
761 | HoTT_Params_Frame_LoadValues(); |
||
762 | </OnEscapePressed> |
||
763 | |||
764 | <OnEditFocusLost> |
||
765 | this:HighlightText(0,0); |
||
766 | HoTT_Params_Frame_AggroMessage_Changed(this:GetText()); |
||
767 | </OnEditFocusLost> |
||
768 | |||
769 | <OnTabPressed> |
||
770 | if ( IsShiftKeyDown () ) then |
||
771 | HoTT_Params_Frame_Drop2_EditBox:SetFocus(); |
||
772 | else |
||
773 | HoTT_Params_Frame_ObjectName_EditBox:SetFocus(); |
||
774 | end |
||
775 | </OnTabPressed> |
||
776 | </Scripts> |
||
777 | </EditBox> |
||
778 | |||
779 | <Button name="HoTT_Params_FrameDefaults" |
||
780 | inherits="GameMenuButtonTemplate" |
||
781 | text="DEFAULTS"> |
||
782 | <Size> |
||
783 | <AbsDimension x="100" y="21"/> |
||
784 | </Size> |
||
785 | <Anchors> |
||
786 | <Anchor point="BOTTOMLEFT"> |
||
787 | <Offset> |
||
788 | <AbsDimension x="28" y="16"/> |
||
789 | </Offset> |
||
790 | </Anchor> |
||
791 | </Anchors> |
||
792 | <Scripts> |
||
793 | <OnClick> |
||
794 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
795 | HoTT_Params_Frame_OnDefaults(); |
||
796 | </OnClick> |
||
797 | </Scripts> |
||
798 | </Button> |
||
799 | |||
800 | <Button name="HoTT_Params_FrameCancel" |
||
801 | inherits="GameMenuButtonTemplate" |
||
802 | text="CANCEL"> |
||
803 | <Size> |
||
804 | <AbsDimension x="100" y="21"/> |
||
805 | </Size> |
||
806 | <Anchors> |
||
807 | <Anchor point="BOTTOMRIGHT"> |
||
808 | <Offset> |
||
809 | <AbsDimension x="-16" y="16"/> |
||
810 | </Offset> |
||
811 | </Anchor> |
||
812 | </Anchors> |
||
813 | <Scripts> |
||
814 | <OnClick> |
||
815 | HoTT_Params_Frame_OnCancel(); |
||
816 | </OnClick> |
||
817 | </Scripts> |
||
818 | </Button> |
||
819 | |||
820 | <Button name="HoTT_Params_FrameOkay" |
||
821 | inherits="GameMenuButtonTemplate" |
||
822 | text="OKAY"> |
||
823 | <Size> |
||
824 | <AbsDimension x="100" y="21"/> |
||
825 | </Size> |
||
826 | <Anchors> |
||
827 | <Anchor point="RIGHT" |
||
828 | relativeTo="HoTT_Params_FrameCancel" |
||
829 | relativePoint="LEFT"> |
||
830 | <Offset> |
||
831 | <AbsDimension x="0" y="0"/> |
||
832 | </Offset> |
||
833 | </Anchor> |
||
834 | </Anchors> |
||
835 | <Scripts> |
||
836 | <OnClick> |
||
837 | HoTT_Params_Frame_OnOkay(); |
||
838 | </OnClick> |
||
839 | </Scripts> |
||
840 | </Button> |
||
841 | |||
842 | |||
843 | </Frames> |
||
844 | |||
845 | <Scripts> |
||
846 | <OnShow> |
||
847 | HoTT_Params_Frame_LoadValues(); |
||
848 | </OnShow> |
||
849 | |||
850 | <OnKeyDown> |
||
851 | if ( arg1 == "ESCAPE" ) then |
||
852 | PlaySound("gsTitleOptionExit"); |
||
853 | HideUIPanel(HoTT_Params_Frame); |
||
854 | -- HoTT_Params_Frame_Cancel(); |
||
855 | elseif ( arg1 == "PRINTSCREEN" ) then |
||
856 | Screenshot(); |
||
857 | return; |
||
858 | end |
||
859 | </OnKeyDown> |
||
860 | </Scripts> |
||
861 | </Frame> |
||
862 | |||
863 | |||
864 | </Ui> |
||
865 | |||
866 | |||
867 |