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"> |
2 | |||
3 | <Script file="WIM_Options.lua"/> |
||
4 | |||
5 | <Frame name="WIM_Options_PanelTemplate" virtual="true"> |
||
6 | <Backdrop bgFile="Interface\Buttons\UI-SliderBar-Background" edgeFile="Interface\Buttons\UI-SliderBar-Border" tile="true"> |
||
7 | <BackgroundInsets> |
||
8 | <AbsInset left="3" right="3" top="6" bottom="6" /> |
||
9 | </BackgroundInsets> |
||
10 | <TileSize> |
||
11 | <AbsValue val="8" /> |
||
12 | </TileSize> |
||
13 | <EdgeSize> |
||
14 | <AbsValue val="8" /> |
||
15 | </EdgeSize> |
||
16 | </Backdrop> |
||
17 | </Frame> |
||
18 | |||
19 | |||
20 | <Frame name="WIM_Options_TitlePanelTemplate" virtual="true"> |
||
21 | <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
22 | <BackgroundInsets> |
||
23 | <AbsInset left="5" right="5" top="5" bottom="5" /> |
||
24 | </BackgroundInsets> |
||
25 | <TileSize> |
||
26 | <AbsValue val="16" /> |
||
27 | </TileSize> |
||
28 | <EdgeSize> |
||
29 | <AbsValue val="16" /> |
||
30 | </EdgeSize> |
||
31 | <Color r="0.7529412" g="0.7529412" b="1" /> |
||
32 | <BorderColor r="0.7529412" g="0.7529412" b="1" /> |
||
33 | </Backdrop> |
||
34 | </Frame> |
||
35 | |||
36 | |||
37 | <Slider name="WIM_Options_SliderTemplate" orientation="HORIZONTAL" virtual="true" enableMouse="true"> |
||
38 | <Backdrop bgFile="Interface\Buttons\UI-SliderBar-Background" edgeFile="Interface\Buttons\UI-SliderBar-Border" tile="true"> |
||
39 | <EdgeSize> |
||
40 | <AbsValue val="8"/> |
||
41 | </EdgeSize> |
||
42 | <TileSize> |
||
43 | <AbsValue val="8"/> |
||
44 | </TileSize> |
||
45 | <BackgroundInsets> |
||
46 | <AbsInset left="3" right="3" top="6" bottom="6"/> |
||
47 | </BackgroundInsets> |
||
48 | </Backdrop> |
||
49 | <Layers> |
||
50 | <Layer level="ARTWORK"> |
||
51 | <FontString name="$parentTitle" font="Fonts\FRIZQT__.TTF" text=""> |
||
52 | <Anchors> |
||
53 | <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"> |
||
54 | <Offset> |
||
55 | <AbsDimension x="0" y="14"/> |
||
56 | </Offset> |
||
57 | </Anchor> |
||
58 | </Anchors> |
||
59 | <FontHeight> |
||
60 | <AbsValue val="12" /> |
||
61 | </FontHeight> |
||
62 | <Color r="1" g="0.8196079" b="0" /> |
||
63 | <Shadow> |
||
64 | <Color r="0" g="0" b="0" /> |
||
65 | <Offset> |
||
66 | <AbsDimension x="1" y="-1" /> |
||
67 | </Offset> |
||
68 | </Shadow> |
||
69 | </FontString> |
||
70 | <FontString name="$parentEditBox" inherits="GameFontNormalSmall" text="Test"> |
||
71 | <Anchors> |
||
72 | <Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT"> |
||
73 | <Offset> |
||
74 | <AbsDimension x="7" y="0"/> |
||
75 | </Offset> |
||
76 | </Anchor> |
||
77 | </Anchors> |
||
78 | <Color r="1" g="0.8196079" b="0" /> |
||
79 | <Shadow> |
||
80 | <Color r="0" g="0" b="0" /> |
||
81 | <Offset> |
||
82 | <AbsDimension x="1" y="-1" /> |
||
83 | </Offset> |
||
84 | </Shadow> |
||
85 | </FontString> |
||
86 | <FontString name="$parentText" inherits="GameFontNormalSmall"> |
||
87 | <Anchors> |
||
88 | <Anchor point="BOTTOM" relativePoint="TOP"/> |
||
89 | </Anchors> |
||
90 | </FontString> |
||
91 | <FontString name="$parentLow" inherits="GameFontHighlightSmall" text="LOW"> |
||
92 | <Anchors> |
||
93 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT"> |
||
94 | <Offset> |
||
95 | <AbsDimension x="2" y="3"/> |
||
96 | </Offset> |
||
97 | </Anchor> |
||
98 | </Anchors> |
||
99 | </FontString> |
||
100 | <FontString name="$parentHigh" inherits="GameFontHighlightSmall" text="HIGH"> |
||
101 | <Anchors> |
||
102 | <Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT"> |
||
103 | <Offset> |
||
104 | <AbsDimension x="-2" y="3"/> |
||
105 | </Offset> |
||
106 | </Anchor> |
||
107 | </Anchors> |
||
108 | </FontString> |
||
109 | </Layer> |
||
110 | </Layers> |
||
111 | <ThumbTexture name="$parentThumb" file="Interface\Buttons\UI-SliderBar-Button-Horizontal"> |
||
112 | <Size> |
||
113 | <AbsDimension x="32" y="32"/> |
||
114 | </Size> |
||
115 | </ThumbTexture> |
||
116 | <Scripts> |
||
117 | <OnShow> |
||
118 | local sliderMin, sliderMax = this:GetMinMaxValues(); |
||
119 | getglobal(this:GetName().."Low"):SetText(sliderMin); |
||
120 | getglobal(this:GetName().."High"):SetText(sliderMax); |
||
121 | </OnShow> |
||
122 | </Scripts> |
||
123 | </Slider> |
||
124 | |||
125 | |||
126 | <Frame name="WIM_Options_PickColorTemplate" virtual="true"> |
||
127 | <Size> |
||
128 | <AbsDimension x="20" y="20"/> |
||
129 | </Size> |
||
130 | <Frames> |
||
131 | <Button name="$parent_ColorSwatch"> |
||
132 | <Size> |
||
133 | <AbsDimension x="18" y="18"/> |
||
134 | </Size> |
||
135 | <Anchors> |
||
136 | <Anchor point="LEFT"> |
||
137 | <Offset> |
||
138 | <AbsDimension x="0" y="0"/> |
||
139 | </Offset> |
||
140 | </Anchor> |
||
141 | </Anchors> |
||
142 | <Layers> |
||
143 | <Layer level="BACKGROUND"> |
||
144 | <Texture name="$parent_SwatchBg"> |
||
145 | <Size> |
||
146 | <AbsDimension x="16" y="16"/> |
||
147 | </Size> |
||
148 | <Anchors> |
||
149 | <Anchor point="CENTER"> |
||
150 | <Offset> |
||
151 | <AbsDimension x="0" y="0"/> |
||
152 | </Offset> |
||
153 | </Anchor> |
||
154 | </Anchors> |
||
155 | <Color r="1.0" g="1.0" b="1.0"/> |
||
156 | </Texture> |
||
157 | </Layer> |
||
158 | </Layers> |
||
159 | <Scripts> |
||
160 | <OnClick> |
||
161 | WIM_Options_OpenColorPicker(this:GetParent()); |
||
162 | </OnClick> |
||
163 | <OnEnter> |
||
164 | getglobal(this:GetName().."_SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b); |
||
165 | </OnEnter> |
||
166 | <OnLeave> |
||
167 | getglobal(this:GetName().."_SwatchBg"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b); |
||
168 | </OnLeave> |
||
169 | </Scripts> |
||
170 | <NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch"/> |
||
171 | </Button> |
||
172 | </Frames> |
||
173 | </Frame> |
||
174 | |||
175 | <Button name="WIM_AliasButtonTemplate" virtual="true"> |
||
176 | <Size> |
||
177 | <AbsDimension x="300" y="16"/> |
||
178 | </Size> |
||
179 | <Layers> |
||
180 | <Layer level="BORDER"> |
||
181 | <FontString name="$parentName" inherits="GameFontNormalSmall" justifyH="LEFT"> |
||
182 | <Size> |
||
183 | <AbsDimension x="150" y="14"/> |
||
184 | </Size> |
||
185 | <Anchors> |
||
186 | <Anchor point="TOPLEFT"> |
||
187 | <Offset> |
||
188 | <AbsDimension x="10" y="-3"/> |
||
189 | </Offset> |
||
190 | </Anchor> |
||
191 | </Anchors> |
||
192 | </FontString> |
||
193 | <FontString name="$parentAlias" inherits="GameFontHighlightSmall" justifyH="LEFT"> |
||
194 | <Size> |
||
195 | <AbsDimension x="150" y="14"/> |
||
196 | </Size> |
||
197 | <Anchors> |
||
198 | <Anchor point="LEFT" relativeTo="$parentName" relativePoint="RIGHT"> |
||
199 | <Offset> |
||
200 | <AbsDimension x="5" y="0"/> |
||
201 | </Offset> |
||
202 | </Anchor> |
||
203 | </Anchors> |
||
204 | </FontString> |
||
205 | </Layer> |
||
206 | </Layers> |
||
207 | <Scripts> |
||
208 | <OnLoad> |
||
209 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
210 | </OnLoad> |
||
211 | <OnClick> |
||
212 | WIM_Alias_Selected = this.theAliasName; |
||
213 | WIM_AliasScrollBar_Update(); |
||
214 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
215 | </OnClick> |
||
216 | </Scripts> |
||
217 | <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"> |
||
218 | <Size> |
||
219 | <AbsDimension x="298" y="16"/> |
||
220 | </Size> |
||
221 | <Anchors> |
||
222 | <Anchor point="TOP"> |
||
223 | <Offset> |
||
224 | <AbsDimension x="5" y="-2"/> |
||
225 | </Offset> |
||
226 | </Anchor> |
||
227 | </Anchors> |
||
228 | </HighlightTexture> |
||
229 | </Button> |
||
230 | |||
231 | <Button name="WIM_FilterButtonTemplate" virtual="true"> |
||
232 | <Size> |
||
233 | <AbsDimension x="300" y="16"/> |
||
234 | </Size> |
||
235 | <Layers> |
||
236 | <Layer level="BORDER"> |
||
237 | <FontString name="$parentName" inherits="GameFontNormalSmall" justifyH="LEFT"> |
||
238 | <Size> |
||
239 | <AbsDimension x="230" y="14"/> |
||
240 | </Size> |
||
241 | <Anchors> |
||
242 | <Anchor point="TOPLEFT"> |
||
243 | <Offset> |
||
244 | <AbsDimension x="10" y="-3"/> |
||
245 | </Offset> |
||
246 | </Anchor> |
||
247 | </Anchors> |
||
248 | </FontString> |
||
249 | <FontString name="$parentAction" inherits="GameFontHighlightSmall" justifyH="LEFT"> |
||
250 | <Size> |
||
251 | <AbsDimension x="80" y="14"/> |
||
252 | </Size> |
||
253 | <Anchors> |
||
254 | <Anchor point="LEFT" relativeTo="$parentName" relativePoint="RIGHT"> |
||
255 | <Offset> |
||
256 | <AbsDimension x="5" y="0"/> |
||
257 | </Offset> |
||
258 | </Anchor> |
||
259 | </Anchors> |
||
260 | </FontString> |
||
261 | </Layer> |
||
262 | </Layers> |
||
263 | <Scripts> |
||
264 | <OnLoad> |
||
265 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
266 | </OnLoad> |
||
267 | <OnClick> |
||
268 | WIM_Filter_Selected = this.theFilterName; |
||
269 | WIM_FilteringScrollBar_Update(); |
||
270 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
271 | </OnClick> |
||
272 | </Scripts> |
||
273 | <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"> |
||
274 | <Size> |
||
275 | <AbsDimension x="298" y="16"/> |
||
276 | </Size> |
||
277 | <Anchors> |
||
278 | <Anchor point="TOP"> |
||
279 | <Offset> |
||
280 | <AbsDimension x="5" y="-2"/> |
||
281 | </Offset> |
||
282 | </Anchor> |
||
283 | </Anchors> |
||
284 | </HighlightTexture> |
||
285 | </Button> |
||
286 | |||
287 | <Button name="WIM_HistoryButtonTemplate" virtual="true"> |
||
288 | <Size> |
||
289 | <AbsDimension x="300" y="16"/> |
||
290 | </Size> |
||
291 | <Layers> |
||
292 | <Layer level="BORDER"> |
||
293 | <FontString name="$parentName" inherits="GameFontNormalSmall" justifyH="LEFT"> |
||
294 | <Size> |
||
295 | <AbsDimension x="200" y="14"/> |
||
296 | </Size> |
||
297 | <Anchors> |
||
298 | <Anchor point="TOPLEFT"> |
||
299 | <Offset> |
||
300 | <AbsDimension x="10" y="-3"/> |
||
301 | </Offset> |
||
302 | </Anchor> |
||
303 | </Anchors> |
||
304 | </FontString> |
||
305 | <FontString name="$parentMessageCount" inherits="GameFontHighlightSmall" justifyH="RIGHT"> |
||
306 | <Size> |
||
307 | <AbsDimension x="80" y="14"/> |
||
308 | </Size> |
||
309 | <Anchors> |
||
310 | <Anchor point="LEFT" relativeTo="$parentName" relativePoint="RIGHT"> |
||
311 | <Offset> |
||
312 | <AbsDimension x="5" y="0"/> |
||
313 | </Offset> |
||
314 | </Anchor> |
||
315 | </Anchors> |
||
316 | </FontString> |
||
317 | </Layer> |
||
318 | </Layers> |
||
319 | <Scripts> |
||
320 | <OnLoad> |
||
321 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
322 | </OnLoad> |
||
323 | <OnClick> |
||
324 | WIM_History_Selected = this.theName; |
||
325 | WIM_HistoryScrollBar_Update(); |
||
326 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
327 | </OnClick> |
||
328 | </Scripts> |
||
329 | <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"> |
||
330 | <Size> |
||
331 | <AbsDimension x="298" y="16"/> |
||
332 | </Size> |
||
333 | <Anchors> |
||
334 | <Anchor point="TOP"> |
||
335 | <Offset> |
||
336 | <AbsDimension x="5" y="-2"/> |
||
337 | </Offset> |
||
338 | </Anchor> |
||
339 | </Anchors> |
||
340 | </HighlightTexture> |
||
341 | </Button> |
||
342 | |||
343 | |||
344 | <Frame name="WIM_Options" movable="true" alpha="1" enableMouse="true" toplevel="true" frameStrata="DIALOG" parent="UIParent" hidden="true" clampedToScreen="true"> |
||
345 | <Size> |
||
346 | <AbsDimension x="600" y="580" /> |
||
347 | </Size> |
||
348 | <Anchors> |
||
349 | <Anchor point="CENTER" relativeTo="UIParent"> |
||
350 | <Offset> |
||
351 | <AbsDimension x="0" y="0" /> |
||
352 | </Offset> |
||
353 | </Anchor> |
||
354 | </Anchors> |
||
355 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> |
||
356 | <BackgroundInsets> |
||
357 | <AbsInset left="11" right="12" top="12" bottom="11" /> |
||
358 | </BackgroundInsets> |
||
359 | <TileSize> |
||
360 | <AbsValue val="32" /> |
||
361 | </TileSize> |
||
362 | <EdgeSize> |
||
363 | <AbsValue val="32" /> |
||
364 | </EdgeSize> |
||
365 | </Backdrop> |
||
366 | <Layers> |
||
367 | <Layer> |
||
368 | <Texture name="$parentTitleBorder" file="Interface\DialogFrame\UI-DialogBox-Header"> |
||
369 | <Size> |
||
370 | <AbsDimension x="160" y="32" /> |
||
371 | </Size> |
||
372 | <Anchors> |
||
373 | <Anchor point="TOP"> |
||
374 | <Offset> |
||
375 | <AbsDimension x="0" y="5" /> |
||
376 | </Offset> |
||
377 | </Anchor> |
||
378 | </Anchors> |
||
379 | <TexCoords left="0.2" right="0.8" top="0" bottom="0.6" /> |
||
380 | </Texture> |
||
381 | <FontString name="$parentTitleString" font="Fonts\FRIZQT__.TTF" text="WIM Options"> |
||
382 | <Size> |
||
383 | <AbsDimension x="140" y="0" /> |
||
384 | </Size> |
||
385 | <Anchors> |
||
386 | <Anchor point="TOP"> |
||
387 | <Offset> |
||
388 | <AbsDimension x="0" y="-4" /> |
||
389 | </Offset> |
||
390 | </Anchor> |
||
391 | </Anchors> |
||
392 | <FontHeight> |
||
393 | <AbsValue val="12" /> |
||
394 | </FontHeight> |
||
395 | <Color r="1" g="0.8196079" b="0" /> |
||
396 | <Shadow> |
||
397 | <Color r="0" g="0" b="0" /> |
||
398 | <Offset> |
||
399 | <AbsDimension x="1" y="-1" /> |
||
400 | </Offset> |
||
401 | </Shadow> |
||
402 | </FontString> |
||
403 | </Layer> |
||
404 | </Layers> |
||
405 | <Frames> |
||
406 | <CheckButton name="$parentEnableWIM"> |
||
407 | <Size> |
||
408 | <AbsDimension x="25" y="25" /> |
||
409 | </Size> |
||
410 | <Anchors> |
||
411 | <Anchor point="TOPLEFT"> |
||
412 | <Offset> |
||
413 | <AbsDimension x="15" y="-15" /> |
||
414 | </Offset> |
||
415 | </Anchor> |
||
416 | </Anchors> |
||
417 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
418 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
419 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
420 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
421 | <Layers> |
||
422 | <Layer level="OVERLAY"> |
||
423 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Enable WIM"> |
||
424 | <Anchors> |
||
425 | <Anchor point="LEFT"> |
||
426 | <Offset> |
||
427 | <AbsDimension x="30" y="1" /> |
||
428 | </Offset> |
||
429 | </Anchor> |
||
430 | </Anchors> |
||
431 | <FontHeight> |
||
432 | <AbsValue val="12" /> |
||
433 | </FontHeight> |
||
434 | <Color r="1" g="0.8196079" b="0" /> |
||
435 | <Shadow> |
||
436 | <Color r="0" g="0" b="0" /> |
||
437 | <Offset> |
||
438 | <AbsDimension x="1" y="-1" /> |
||
439 | </Offset> |
||
440 | </Shadow> |
||
441 | </FontString> |
||
442 | </Layer> |
||
443 | </Layers> |
||
444 | <Scripts> |
||
445 | <OnClick> |
||
446 | if ( this:GetChecked() ) then |
||
447 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
448 | else |
||
449 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
450 | end |
||
451 | WIM_Options_EnableWIMClicked(); |
||
452 | </OnClick> |
||
453 | </Scripts> |
||
454 | </CheckButton> |
||
455 | <!-- Display Settings Frame --> |
||
456 | <Frame name="$parentDisplay" inherits="WIM_Options_PanelTemplate"> |
||
457 | <Size> |
||
458 | <AbsDimension x="193" y="530" /> |
||
459 | </Size> |
||
460 | <Anchors> |
||
461 | <Anchor point="RIGHT"> |
||
462 | <Offset> |
||
463 | <AbsDimension x="-16" y="0" /> |
||
464 | </Offset> |
||
465 | </Anchor> |
||
466 | <Anchor point="TOP"> |
||
467 | <Offset> |
||
468 | <AbsDimension x="0" y="-40" /> |
||
469 | </Offset> |
||
470 | </Anchor> |
||
471 | </Anchors> |
||
472 | <Frames> |
||
473 | <!-- Title Frame --> |
||
474 | <Frame name="$parentCaption" inherits="WIM_Options_TitlePanelTemplate"> |
||
475 | <Size> |
||
476 | <AbsDimension x="193" y="30" /> |
||
477 | </Size> |
||
478 | <Anchors> |
||
479 | <Anchor point="TOPLEFT"> |
||
480 | <Offset> |
||
481 | <AbsDimension x="0" y="-3" /> |
||
482 | </Offset> |
||
483 | </Anchor> |
||
484 | </Anchors> |
||
485 | <Layers> |
||
486 | <Layer level="OVERLAY"> |
||
487 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Display Options"> |
||
488 | <Anchors> |
||
489 | <Anchor point="TOP"> |
||
490 | <Offset> |
||
491 | <AbsDimension x="0" y="-8" /> |
||
492 | </Offset> |
||
493 | </Anchor> |
||
494 | </Anchors> |
||
495 | <FontHeight> |
||
496 | <AbsValue val="12" /> |
||
497 | </FontHeight> |
||
498 | <Color r="1" g="1" b="1" /> |
||
499 | <Shadow> |
||
500 | <Color r="0" g="0" b="0" /> |
||
501 | <Offset> |
||
502 | <AbsDimension x="1" y="-1" /> |
||
503 | </Offset> |
||
504 | </Shadow> |
||
505 | </FontString> |
||
506 | </Layer> |
||
507 | </Layers> |
||
508 | </Frame> |
||
509 | <!-- End Title Frame --> |
||
510 | <!-- Color Swatches --> |
||
511 | <Frame name="$parentIncomingWisp" inherits="WIM_Options_PickColorTemplate"> |
||
512 | <Anchors> |
||
513 | <Anchor point="TOPLEFT"> |
||
514 | <Offset> |
||
515 | <AbsDimension x="15" y="-40" /> |
||
516 | </Offset> |
||
517 | </Anchor> |
||
518 | </Anchors> |
||
519 | <Layers> |
||
520 | <Layer level="OVERLAY"> |
||
521 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Incoming Whispers"> |
||
522 | <Anchors> |
||
523 | <Anchor point="LEFT"> |
||
524 | <Offset> |
||
525 | <AbsDimension x="30" y="1" /> |
||
526 | </Offset> |
||
527 | </Anchor> |
||
528 | </Anchors> |
||
529 | <FontHeight> |
||
530 | <AbsValue val="12" /> |
||
531 | </FontHeight> |
||
532 | <Color r="1" g="0.8196079" b="0" /> |
||
533 | <Shadow> |
||
534 | <Color r="0" g="0" b="0" /> |
||
535 | <Offset> |
||
536 | <AbsDimension x="1" y="-1" /> |
||
537 | </Offset> |
||
538 | </Shadow> |
||
539 | </FontString> |
||
540 | </Layer> |
||
541 | </Layers> |
||
542 | </Frame> |
||
543 | <Frame name="$parentOutgoingWisp" inherits="WIM_Options_PickColorTemplate"> |
||
544 | <Anchors> |
||
545 | <Anchor point="TOPLEFT" relativeTo="$parentIncomingWisp" relativePoint="BOTTOMLEFT"> |
||
546 | <Offset> |
||
547 | <AbsDimension x="0" y="-3" /> |
||
548 | </Offset> |
||
549 | </Anchor> |
||
550 | </Anchors> |
||
551 | <Layers> |
||
552 | <Layer level="OVERLAY"> |
||
553 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Outgoing Whispers"> |
||
554 | <Anchors> |
||
555 | <Anchor point="LEFT"> |
||
556 | <Offset> |
||
557 | <AbsDimension x="30" y="1" /> |
||
558 | </Offset> |
||
559 | </Anchor> |
||
560 | </Anchors> |
||
561 | <FontHeight> |
||
562 | <AbsValue val="12" /> |
||
563 | </FontHeight> |
||
564 | <Color r="1" g="0.8196079" b="0" /> |
||
565 | <Shadow> |
||
566 | <Color r="0" g="0" b="0" /> |
||
567 | <Offset> |
||
568 | <AbsDimension x="1" y="-1" /> |
||
569 | </Offset> |
||
570 | </Shadow> |
||
571 | </FontString> |
||
572 | </Layer> |
||
573 | </Layers> |
||
574 | </Frame> |
||
575 | <Frame name="$parentSystemMessage" inherits="WIM_Options_PickColorTemplate"> |
||
576 | <Anchors> |
||
577 | <Anchor point="TOPLEFT" relativeTo="$parentOutgoingWisp" relativePoint="BOTTOMLEFT"> |
||
578 | <Offset> |
||
579 | <AbsDimension x="0" y="-15" /> |
||
580 | </Offset> |
||
581 | </Anchor> |
||
582 | </Anchors> |
||
583 | <Layers> |
||
584 | <Layer level="OVERLAY"> |
||
585 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="System Messages"> |
||
586 | <Anchors> |
||
587 | <Anchor point="LEFT"> |
||
588 | <Offset> |
||
589 | <AbsDimension x="30" y="1" /> |
||
590 | </Offset> |
||
591 | </Anchor> |
||
592 | </Anchors> |
||
593 | <FontHeight> |
||
594 | <AbsValue val="12" /> |
||
595 | </FontHeight> |
||
596 | <Color r="1" g="0.8196079" b="0" /> |
||
597 | <Shadow> |
||
598 | <Color r="0" g="0" b="0" /> |
||
599 | <Offset> |
||
600 | <AbsDimension x="1" y="-1" /> |
||
601 | </Offset> |
||
602 | </Shadow> |
||
603 | </FontString> |
||
604 | </Layer> |
||
605 | </Layers> |
||
606 | </Frame> |
||
607 | <Frame name="$parentErrorMessage" inherits="WIM_Options_PickColorTemplate"> |
||
608 | <Anchors> |
||
609 | <Anchor point="TOPLEFT" relativeTo="$parentSystemMessage" relativePoint="BOTTOMLEFT"> |
||
610 | <Offset> |
||
611 | <AbsDimension x="0" y="-3" /> |
||
612 | </Offset> |
||
613 | </Anchor> |
||
614 | </Anchors> |
||
615 | <Layers> |
||
616 | <Layer level="OVERLAY"> |
||
617 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Error Messages"> |
||
618 | <Anchors> |
||
619 | <Anchor point="LEFT"> |
||
620 | <Offset> |
||
621 | <AbsDimension x="30" y="1" /> |
||
622 | </Offset> |
||
623 | </Anchor> |
||
624 | </Anchors> |
||
625 | <FontHeight> |
||
626 | <AbsValue val="12" /> |
||
627 | </FontHeight> |
||
628 | <Color r="1" g="0.8196079" b="0" /> |
||
629 | <Shadow> |
||
630 | <Color r="0" g="0" b="0" /> |
||
631 | <Offset> |
||
632 | <AbsDimension x="1" y="-1" /> |
||
633 | </Offset> |
||
634 | </Shadow> |
||
635 | </FontString> |
||
636 | </Layer> |
||
637 | </Layers> |
||
638 | </Frame> |
||
639 | <Frame name="$parentWebAddress" inherits="WIM_Options_PickColorTemplate"> |
||
640 | <Anchors> |
||
641 | <Anchor point="TOPLEFT" relativeTo="$parentErrorMessage" relativePoint="BOTTOMLEFT"> |
||
642 | <Offset> |
||
643 | <AbsDimension x="0" y="-15" /> |
||
644 | </Offset> |
||
645 | </Anchor> |
||
646 | </Anchors> |
||
647 | <Layers> |
||
648 | <Layer level="OVERLAY"> |
||
649 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Web Address Link"> |
||
650 | <Anchors> |
||
651 | <Anchor point="LEFT"> |
||
652 | <Offset> |
||
653 | <AbsDimension x="30" y="1" /> |
||
654 | </Offset> |
||
655 | </Anchor> |
||
656 | </Anchors> |
||
657 | <FontHeight> |
||
658 | <AbsValue val="12" /> |
||
659 | </FontHeight> |
||
660 | <Color r="1" g="0.8196079" b="0" /> |
||
661 | <Shadow> |
||
662 | <Color r="0" g="0" b="0" /> |
||
663 | <Offset> |
||
664 | <AbsDimension x="1" y="-1" /> |
||
665 | </Offset> |
||
666 | </Shadow> |
||
667 | </FontString> |
||
668 | </Layer> |
||
669 | </Layers> |
||
670 | </Frame> |
||
671 | <!-- End Color Swatches --> |
||
672 | <CheckButton name="$parentShowShortcutBar"> |
||
673 | <Size> |
||
674 | <AbsDimension x="25" y="25" /> |
||
675 | </Size> |
||
676 | <Anchors> |
||
677 | <Anchor point="TOPLEFT" relativeTo="$parentWebAddress" relativePoint="BOTTOMLEFT"> |
||
678 | <Offset> |
||
679 | <AbsDimension x="-3" y="-20" /> |
||
680 | </Offset> |
||
681 | </Anchor> |
||
682 | </Anchors> |
||
683 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
684 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
685 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
686 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
687 | <Layers> |
||
688 | <Layer level="OVERLAY"> |
||
689 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Show shortcut bar."> |
||
690 | <Anchors> |
||
691 | <Anchor point="LEFT"> |
||
692 | <Offset> |
||
693 | <AbsDimension x="30" y="1" /> |
||
694 | </Offset> |
||
695 | </Anchor> |
||
696 | </Anchors> |
||
697 | <FontHeight> |
||
698 | <AbsValue val="12" /> |
||
699 | </FontHeight> |
||
700 | <Color r="1" g="0.8196079" b="0" /> |
||
701 | <Shadow> |
||
702 | <Color r="0" g="0" b="0" /> |
||
703 | <Offset> |
||
704 | <AbsDimension x="1" y="-1" /> |
||
705 | </Offset> |
||
706 | </Shadow> |
||
707 | </FontString> |
||
708 | </Layer> |
||
709 | </Layers> |
||
710 | <Scripts> |
||
711 | <OnClick> |
||
712 | if ( this:GetChecked() ) then |
||
713 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
714 | else |
||
715 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
716 | end |
||
717 | WIM_Options_ShowShortcutBarClicked(); |
||
718 | </OnClick> |
||
719 | <OnEnter> |
||
720 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
721 | GameTooltip:SetText("This settings limits the\nwindow's minimum height."); |
||
722 | </OnEnter> |
||
723 | <OnLeave> |
||
724 | GameTooltip:Hide(); |
||
725 | </OnLeave> |
||
726 | </Scripts> |
||
727 | </CheckButton> |
||
728 | <CheckButton name="$parentShowTimeStamps"> |
||
729 | <Size> |
||
730 | <AbsDimension x="25" y="25" /> |
||
731 | </Size> |
||
732 | <Anchors> |
||
733 | <Anchor point="TOPLEFT" relativeTo="$parentShowShortcutBar" relativePoint="BOTTOMLEFT"> |
||
734 | <Offset> |
||
735 | <AbsDimension x="0" y="0" /> |
||
736 | </Offset> |
||
737 | </Anchor> |
||
738 | </Anchors> |
||
739 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
740 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
741 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
742 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
743 | <Layers> |
||
744 | <Layer level="OVERLAY"> |
||
745 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Show timestamps."> |
||
746 | <Anchors> |
||
747 | <Anchor point="LEFT"> |
||
748 | <Offset> |
||
749 | <AbsDimension x="30" y="1" /> |
||
750 | </Offset> |
||
751 | </Anchor> |
||
752 | </Anchors> |
||
753 | <FontHeight> |
||
754 | <AbsValue val="12" /> |
||
755 | </FontHeight> |
||
756 | <Color r="1" g="0.8196079" b="0" /> |
||
757 | <Shadow> |
||
758 | <Color r="0" g="0" b="0" /> |
||
759 | <Offset> |
||
760 | <AbsDimension x="1" y="-1" /> |
||
761 | </Offset> |
||
762 | </Shadow> |
||
763 | </FontString> |
||
764 | </Layer> |
||
765 | </Layers> |
||
766 | <Scripts> |
||
767 | <OnClick> |
||
768 | if ( this:GetChecked() ) then |
||
769 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
770 | else |
||
771 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
772 | end |
||
773 | WIM_Options_ShowTimeStampsClicked(); |
||
774 | </OnClick> |
||
775 | </Scripts> |
||
776 | </CheckButton> |
||
777 | <CheckButton name="$parentShowCharacterInfo"> |
||
778 | <Size> |
||
779 | <AbsDimension x="25" y="25" /> |
||
780 | </Size> |
||
781 | <Anchors> |
||
782 | <Anchor point="TOPLEFT" relativeTo="$parentShowTimeStamps" relativePoint="BOTTOMLEFT"> |
||
783 | <Offset> |
||
784 | <AbsDimension x="0" y="0" /> |
||
785 | </Offset> |
||
786 | </Anchor> |
||
787 | </Anchors> |
||
788 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
789 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
790 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
791 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
792 | <Layers> |
||
793 | <Layer level="OVERLAY"> |
||
794 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Show character info:"> |
||
795 | <Anchors> |
||
796 | <Anchor point="LEFT"> |
||
797 | <Offset> |
||
798 | <AbsDimension x="30" y="1" /> |
||
799 | </Offset> |
||
800 | </Anchor> |
||
801 | </Anchors> |
||
802 | <FontHeight> |
||
803 | <AbsValue val="12" /> |
||
804 | </FontHeight> |
||
805 | <Color r="1" g="0.8196079" b="0" /> |
||
806 | <Shadow> |
||
807 | <Color r="0" g="0" b="0" /> |
||
808 | <Offset> |
||
809 | <AbsDimension x="1" y="-1" /> |
||
810 | </Offset> |
||
811 | </Shadow> |
||
812 | </FontString> |
||
813 | </Layer> |
||
814 | </Layers> |
||
815 | <Scripts> |
||
816 | <OnClick> |
||
817 | if ( this:GetChecked() ) then |
||
818 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
819 | else |
||
820 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
821 | end |
||
822 | WIM_Options_CharacerInfoClicked(); |
||
823 | </OnClick> |
||
824 | <OnEnter> |
||
825 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
826 | GameTooltip:SetText("Changes will be made to new\nmessage windows only.\n|cffffffff(Requires background /who query.)|r"); |
||
827 | </OnEnter> |
||
828 | <OnLeave> |
||
829 | GameTooltip:Hide(); |
||
830 | </OnLeave> |
||
831 | </Scripts> |
||
832 | </CheckButton> |
||
833 | <CheckButton name="$parentShowCharacterInfoClassIcon"> |
||
834 | <Size> |
||
835 | <AbsDimension x="25" y="25" /> |
||
836 | </Size> |
||
837 | <Anchors> |
||
838 | <Anchor point="TOPLEFT" relativeTo="$parentShowCharacterInfo" relativePoint="BOTTOMLEFT"> |
||
839 | <Offset> |
||
840 | <AbsDimension x="25" y="0" /> |
||
841 | </Offset> |
||
842 | </Anchor> |
||
843 | </Anchors> |
||
844 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
845 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
846 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
847 | <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" /> |
||
848 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
849 | <Layers> |
||
850 | <Layer level="OVERLAY"> |
||
851 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Class Icons"> |
||
852 | <Anchors> |
||
853 | <Anchor point="LEFT"> |
||
854 | <Offset> |
||
855 | <AbsDimension x="30" y="1" /> |
||
856 | </Offset> |
||
857 | </Anchor> |
||
858 | </Anchors> |
||
859 | <FontHeight> |
||
860 | <AbsValue val="12" /> |
||
861 | </FontHeight> |
||
862 | <Color r="1" g="0.8196079" b="0" /> |
||
863 | <Shadow> |
||
864 | <Color r="0" g="0" b="0" /> |
||
865 | <Offset> |
||
866 | <AbsDimension x="1" y="-1" /> |
||
867 | </Offset> |
||
868 | </Shadow> |
||
869 | </FontString> |
||
870 | </Layer> |
||
871 | </Layers> |
||
872 | <Scripts> |
||
873 | <OnClick> |
||
874 | if ( this:GetChecked() ) then |
||
875 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
876 | else |
||
877 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
878 | end |
||
879 | WIM_Options_CharacerInfoClassIconClicked(); |
||
880 | </OnClick> |
||
881 | <OnEnter> |
||
882 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
883 | GameTooltip:SetText("Changes will be made to new\nmessage windows only."); |
||
884 | </OnEnter> |
||
885 | <OnLeave> |
||
886 | GameTooltip:Hide(); |
||
887 | </OnLeave> |
||
888 | </Scripts> |
||
889 | </CheckButton> |
||
890 | <CheckButton name="$parentShowCharacterInfoClassColor"> |
||
891 | <Size> |
||
892 | <AbsDimension x="25" y="25" /> |
||
893 | </Size> |
||
894 | <Anchors> |
||
895 | <Anchor point="TOPLEFT" relativeTo="$parentShowCharacterInfoClassIcon" relativePoint="BOTTOMLEFT"> |
||
896 | <Offset> |
||
897 | <AbsDimension x="0" y="0" /> |
||
898 | </Offset> |
||
899 | </Anchor> |
||
900 | </Anchors> |
||
901 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
902 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
903 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
904 | <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" /> |
||
905 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
906 | <Layers> |
||
907 | <Layer level="OVERLAY"> |
||
908 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Class Colors"> |
||
909 | <Anchors> |
||
910 | <Anchor point="LEFT"> |
||
911 | <Offset> |
||
912 | <AbsDimension x="30" y="1" /> |
||
913 | </Offset> |
||
914 | </Anchor> |
||
915 | </Anchors> |
||
916 | <FontHeight> |
||
917 | <AbsValue val="12" /> |
||
918 | </FontHeight> |
||
919 | <Color r="1" g="0.8196079" b="0" /> |
||
920 | <Shadow> |
||
921 | <Color r="0" g="0" b="0" /> |
||
922 | <Offset> |
||
923 | <AbsDimension x="1" y="-1" /> |
||
924 | </Offset> |
||
925 | </Shadow> |
||
926 | </FontString> |
||
927 | </Layer> |
||
928 | </Layers> |
||
929 | <Scripts> |
||
930 | <OnClick> |
||
931 | if ( this:GetChecked() ) then |
||
932 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
933 | else |
||
934 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
935 | end |
||
936 | WIM_Options_CharacerInfoClassColorClicked(); |
||
937 | </OnClick> |
||
938 | <OnEnter> |
||
939 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
940 | GameTooltip:SetText("Changes will be made to new\nmessage windows only."); |
||
941 | </OnEnter> |
||
942 | <OnLeave> |
||
943 | GameTooltip:Hide(); |
||
944 | </OnLeave> |
||
945 | </Scripts> |
||
946 | </CheckButton> |
||
947 | <CheckButton name="$parentShowCharacterInfoDetails"> |
||
948 | <Size> |
||
949 | <AbsDimension x="25" y="25" /> |
||
950 | </Size> |
||
951 | <Anchors> |
||
952 | <Anchor point="TOPLEFT" relativeTo="$parentShowCharacterInfoClassColor" relativePoint="BOTTOMLEFT"> |
||
953 | <Offset> |
||
954 | <AbsDimension x="0" y="0" /> |
||
955 | </Offset> |
||
956 | </Anchor> |
||
957 | </Anchors> |
||
958 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
959 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
960 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
961 | <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" /> |
||
962 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
963 | <Layers> |
||
964 | <Layer level="OVERLAY"> |
||
965 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Character Details"> |
||
966 | <Anchors> |
||
967 | <Anchor point="LEFT"> |
||
968 | <Offset> |
||
969 | <AbsDimension x="30" y="1" /> |
||
970 | </Offset> |
||
971 | </Anchor> |
||
972 | </Anchors> |
||
973 | <FontHeight> |
||
974 | <AbsValue val="12" /> |
||
975 | </FontHeight> |
||
976 | <Color r="1" g="0.8196079" b="0" /> |
||
977 | <Shadow> |
||
978 | <Color r="0" g="0" b="0" /> |
||
979 | <Offset> |
||
980 | <AbsDimension x="1" y="-1" /> |
||
981 | </Offset> |
||
982 | </Shadow> |
||
983 | </FontString> |
||
984 | </Layer> |
||
985 | </Layers> |
||
986 | <Scripts> |
||
987 | <OnClick> |
||
988 | if ( this:GetChecked() ) then |
||
989 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
990 | else |
||
991 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
992 | end |
||
993 | WIM_Options_CharacerInfoDetailsClicked(); |
||
994 | </OnClick> |
||
995 | <OnEnter> |
||
996 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
997 | GameTooltip:SetText("Changes will be made to new\nmessage windows only."); |
||
998 | </OnEnter> |
||
999 | <OnLeave> |
||
1000 | GameTooltip:Hide(); |
||
1001 | </OnLeave> |
||
1002 | </Scripts> |
||
1003 | </CheckButton> |
||
1004 | |||
1005 | |||
1006 | <!-- Font Size Slider --> |
||
1007 | <Slider name="$parentFontSize" inherits="WIM_Options_SliderTemplate" minValue="10" maxValue="20" valueStep="1"> |
||
1008 | <Size> |
||
1009 | <AbsDimension x="140" y="17"/> |
||
1010 | </Size> |
||
1011 | <Anchors> |
||
1012 | <Anchor point="TOPLEFT" relativeTo="WIM_OptionsDisplay" relativePoint="BOTTOMLEFT"> |
||
1013 | <Offset> |
||
1014 | <AbsDimension x="15" y="150" /> |
||
1015 | </Offset> |
||
1016 | </Anchor> |
||
1017 | </Anchors> |
||
1018 | <Scripts> |
||
1019 | <OnValueChanged> |
||
1020 | WIM_Data.fontSize = this:GetValue(); |
||
1021 | WIM_SetAllWindowProps(); |
||
1022 | getglobal(this:GetName().."EditBox"):SetText(this:GetValue()); |
||
1023 | WIM_HistoryFrameMessageListScrollingMessageFrame:SetFont("Fonts\\FRIZQT__.TTF",WIM_Data.fontSize); |
||
1024 | </OnValueChanged> |
||
1025 | </Scripts> |
||
1026 | </Slider> |
||
1027 | <Slider name="$parentWindowSize" inherits="WIM_Options_SliderTemplate" minValue="25" maxValue="200" valueStep="1"> |
||
1028 | <Size> |
||
1029 | <AbsDimension x="140" y="17"/> |
||
1030 | </Size> |
||
1031 | <Anchors> |
||
1032 | <Anchor point="TOPLEFT" relativeTo="$parentFontSize" relativePoint="BOTTOMLEFT"> |
||
1033 | <Offset> |
||
1034 | <AbsDimension x="0" y="-35" /> |
||
1035 | </Offset> |
||
1036 | </Anchor> |
||
1037 | </Anchors> |
||
1038 | <Scripts> |
||
1039 | <OnValueChanged> |
||
1040 | WIM_Data.windowSize = (this:GetValue() / 100); |
||
1041 | WIM_SetAllWindowProps(); |
||
1042 | getglobal(this:GetName().."EditBox"):SetText(this:GetValue()); |
||
1043 | </OnValueChanged> |
||
1044 | </Scripts> |
||
1045 | </Slider> |
||
1046 | <Slider name="$parentWindowAlpha" inherits="WIM_Options_SliderTemplate" minValue="10" maxValue="100" valueStep="1"> |
||
1047 | <Size> |
||
1048 | <AbsDimension x="140" y="17"/> |
||
1049 | </Size> |
||
1050 | <Anchors> |
||
1051 | <Anchor point="TOPLEFT" relativeTo="$parentWindowSize" relativePoint="BOTTOMLEFT"> |
||
1052 | <Offset> |
||
1053 | <AbsDimension x="0" y="-35" /> |
||
1054 | </Offset> |
||
1055 | </Anchor> |
||
1056 | </Anchors> |
||
1057 | <Scripts> |
||
1058 | <OnValueChanged> |
||
1059 | WIM_Data.windowAlpha = (this:GetValue() / 100); |
||
1060 | WIM_SetAllWindowProps(); |
||
1061 | getglobal(this:GetName().."EditBox"):SetText(this:GetValue()); |
||
1062 | </OnValueChanged> |
||
1063 | </Scripts> |
||
1064 | </Slider> |
||
1065 | <!-- End Size Slider --> |
||
1066 | </Frames> |
||
1067 | </Frame> |
||
1068 | <!-- end of Display Settings --> |
||
1069 | <!-- MiniMap Options Frame --> |
||
1070 | <Frame name="$parentMiniMap" inherits="WIM_Options_PanelTemplate"> |
||
1071 | <Size> |
||
1072 | <AbsDimension x="350" y="125" /> |
||
1073 | </Size> |
||
1074 | <Anchors> |
||
1075 | <Anchor point="LEFT"> |
||
1076 | <Offset> |
||
1077 | <AbsDimension x="15" y="0" /> |
||
1078 | </Offset> |
||
1079 | </Anchor> |
||
1080 | <Anchor point="TOP" relativeTo="$parentDisplay" relativePoint="TOP" /> |
||
1081 | <Anchor point="RIGHT" relativeTo="$parentDisplay" relativePoint="LEFT"> |
||
1082 | <Offset> |
||
1083 | <AbsDimension x="-2" y="0" /> |
||
1084 | </Offset> |
||
1085 | </Anchor> |
||
1086 | </Anchors> |
||
1087 | <Frames> |
||
1088 | <!-- Title Frame --> |
||
1089 | <Frame name="$parentCaption" inherits="WIM_Options_TitlePanelTemplate"> |
||
1090 | <Size> |
||
1091 | <AbsDimension x="350" y="30" /> |
||
1092 | </Size> |
||
1093 | <Anchors> |
||
1094 | <Anchor point="TOPLEFT"> |
||
1095 | <Offset> |
||
1096 | <AbsDimension x="0" y="-3" /> |
||
1097 | </Offset> |
||
1098 | </Anchor> |
||
1099 | <Anchor point="RIGHT" relativeTo="$parent" RelativePoint="RIGHT"> |
||
1100 | <Offset> |
||
1101 | <AbsDimension x="0" y="0" /> |
||
1102 | </Offset> |
||
1103 | </Anchor> |
||
1104 | </Anchors> |
||
1105 | <Layers> |
||
1106 | <Layer level="OVERLAY"> |
||
1107 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Minimap Icon"> |
||
1108 | <Anchors> |
||
1109 | <Anchor point="TOP"> |
||
1110 | <Offset> |
||
1111 | <AbsDimension x="0" y="-8" /> |
||
1112 | </Offset> |
||
1113 | </Anchor> |
||
1114 | </Anchors> |
||
1115 | <FontHeight> |
||
1116 | <AbsValue val="12" /> |
||
1117 | </FontHeight> |
||
1118 | <Color r="1" g="1" b="1" /> |
||
1119 | <Shadow> |
||
1120 | <Color r="0" g="0" b="0" /> |
||
1121 | <Offset> |
||
1122 | <AbsDimension x="1" y="-1" /> |
||
1123 | </Offset> |
||
1124 | </Shadow> |
||
1125 | </FontString> |
||
1126 | </Layer> |
||
1127 | </Layers> |
||
1128 | </Frame> |
||
1129 | <!-- End Title Frame --> |
||
1130 | <!-- CheckButton: Hide Minimap Icon --> |
||
1131 | <CheckButton name="$parentEnabled"> |
||
1132 | <Size> |
||
1133 | <AbsDimension x="25" y="25" /> |
||
1134 | </Size> |
||
1135 | <Anchors> |
||
1136 | <Anchor point="TOPLEFT"> |
||
1137 | <Offset> |
||
1138 | <AbsDimension x="10" y="-35" /> |
||
1139 | </Offset> |
||
1140 | </Anchor> |
||
1141 | </Anchors> |
||
1142 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
1143 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
1144 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
1145 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
1146 | <Layers> |
||
1147 | <Layer level="OVERLAY"> |
||
1148 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Show Minimap Icon"> |
||
1149 | <Anchors> |
||
1150 | <Anchor point="LEFT"> |
||
1151 | <Offset> |
||
1152 | <AbsDimension x="30" y="1" /> |
||
1153 | </Offset> |
||
1154 | </Anchor> |
||
1155 | </Anchors> |
||
1156 | <FontHeight> |
||
1157 | <AbsValue val="12" /> |
||
1158 | </FontHeight> |
||
1159 | <Color r="1" g="0.8196079" b="0" /> |
||
1160 | <Shadow> |
||
1161 | <Color r="0" g="0" b="0" /> |
||
1162 | <Offset> |
||
1163 | <AbsDimension x="1" y="-1" /> |
||
1164 | </Offset> |
||
1165 | </Shadow> |
||
1166 | </FontString> |
||
1167 | </Layer> |
||
1168 | </Layers> |
||
1169 | <Scripts> |
||
1170 | <OnClick> |
||
1171 | if ( this:GetChecked() ) then |
||
1172 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
1173 | else |
||
1174 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
1175 | end |
||
1176 | WIM_Options_ShowMiniMapClick(); |
||
1177 | </OnClick> |
||
1178 | </Scripts> |
||
1179 | </CheckButton> |
||
1180 | <CheckButton name="$parentFreeMoving"> |
||
1181 | <Size> |
||
1182 | <AbsDimension x="25" y="25" /> |
||
1183 | </Size> |
||
1184 | <Anchors> |
||
1185 | <Anchor point="TOPLEFT" relativeTo="$parentEnabled" relativePoint="TOPRIGHT"> |
||
1186 | <Offset> |
||
1187 | <AbsDimension x="200" y="0" /> |
||
1188 | </Offset> |
||
1189 | </Anchor> |
||
1190 | </Anchors> |
||
1191 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
1192 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
1193 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
1194 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
1195 | <Layers> |
||
1196 | <Layer level="OVERLAY"> |
||
1197 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Free moving"> |
||
1198 | <Anchors> |
||
1199 | <Anchor point="LEFT"> |
||
1200 | <Offset> |
||
1201 | <AbsDimension x="30" y="1" /> |
||
1202 | </Offset> |
||
1203 | </Anchor> |
||
1204 | </Anchors> |
||
1205 | <FontHeight> |
||
1206 | <AbsValue val="12" /> |
||
1207 | </FontHeight> |
||
1208 | <Color r="1" g="0.8196079" b="0" /> |
||
1209 | <Shadow> |
||
1210 | <Color r="0" g="0" b="0" /> |
||
1211 | <Offset> |
||
1212 | <AbsDimension x="1" y="-1" /> |
||
1213 | </Offset> |
||
1214 | </Shadow> |
||
1215 | </FontString> |
||
1216 | </Layer> |
||
1217 | </Layers> |
||
1218 | <Scripts> |
||
1219 | <OnClick> |
||
1220 | if ( this:GetChecked() ) then |
||
1221 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
1222 | else |
||
1223 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
1224 | end |
||
1225 | WIM_Options_FreeMoving_Clicked(); |
||
1226 | </OnClick> |
||
1227 | <OnEnter> |
||
1228 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
1229 | GameTooltip:SetText("When enabled, Shift-Left-Clicking\nthe minimap icon, allows you to\ndrag it around your screen."); |
||
1230 | </OnEnter> |
||
1231 | <OnLeave> |
||
1232 | GameTooltip:Hide(); |
||
1233 | </OnLeave> |
||
1234 | </Scripts> |
||
1235 | </CheckButton> |
||
1236 | <Slider name="$parentIconPosition" inherits="WIM_Options_SliderTemplate" minValue="0" maxValue="360" valueStep="1"> |
||
1237 | <Size> |
||
1238 | <AbsDimension x="285" y="17"/> |
||
1239 | </Size> |
||
1240 | <Anchors> |
||
1241 | <Anchor point="TOPLEFT" relativeTo="WIM_OptionsMiniMap" relativePoint="TOPLEFT"> |
||
1242 | <Offset> |
||
1243 | <AbsDimension x="40" y="-80" /> |
||
1244 | </Offset> |
||
1245 | </Anchor> |
||
1246 | </Anchors> |
||
1247 | <Scripts> |
||
1248 | <OnValueChanged> |
||
1249 | WIM_Icon_Move(this:GetValue()); |
||
1250 | getglobal(this:GetName().."EditBox"):SetText(this:GetValue()); |
||
1251 | </OnValueChanged> |
||
1252 | </Scripts> |
||
1253 | </Slider> |
||
1254 | |||
1255 | <!-- next minimap child --> |
||
1256 | </Frames> |
||
1257 | </Frame> |
||
1258 | |||
1259 | |||
1260 | <!-- Option Tabs --> |
||
1261 | <Button name="$parentOptionTab1" inherits="TabButtonTemplate" text=" General " alpha=".8"> |
||
1262 | <Anchors> |
||
1263 | <Anchor point="TOPLEFT" relativeTo="$parentMiniMap" relativePoint="BOTTOMLEFT"> |
||
1264 | <Offset> |
||
1265 | <AbsDimension x="10" y="8" /> |
||
1266 | </Offset> |
||
1267 | </Anchor> |
||
1268 | </Anchors> |
||
1269 | <Scripts> |
||
1270 | <OnClick> |
||
1271 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
1272 | WIM_Options_General_Click(); |
||
1273 | </OnClick> |
||
1274 | <OnLoad> |
||
1275 | <!-- Size it properly --> |
||
1276 | PanelTemplates_TabResize(0, this); |
||
1277 | getglobal(this:GetName().."HighlightTexture"):SetWidth(this:GetTextWidth()+10); |
||
1278 | </OnLoad> |
||
1279 | </Scripts> |
||
1280 | </Button> |
||
1281 | <Button name="$parentOptionTab2" inherits="TabButtonTemplate" text=" Windows " alpha=".8"> |
||
1282 | <Anchors> |
||
1283 | <Anchor point="TOPLEFT" relativeTo="$parentOptionTab1" relativePoint="TOPRIGHT"> |
||
1284 | <Offset> |
||
1285 | <AbsDimension x="0" y="0" /> |
||
1286 | </Offset> |
||
1287 | </Anchor> |
||
1288 | </Anchors> |
||
1289 | <Scripts> |
||
1290 | <OnClick> |
||
1291 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
1292 | WIM_Options_Windows_Click(); |
||
1293 | </OnClick> |
||
1294 | <OnLoad> |
||
1295 | <!-- Size it properly --> |
||
1296 | PanelTemplates_TabResize(0, this); |
||
1297 | getglobal(this:GetName().."HighlightTexture"):SetWidth(this:GetTextWidth()+10); |
||
1298 | </OnLoad> |
||
1299 | </Scripts> |
||
1300 | </Button> |
||
1301 | <Button name="$parentOptionTab3" inherits="TabButtonTemplate" text=" Filters " alpha=".8"> |
||
1302 | <Anchors> |
||
1303 | <Anchor point="TOPLEFT" relativeTo="$parentOptionTab2" relativePoint="TOPRIGHT"> |
||
1304 | <Offset> |
||
1305 | <AbsDimension x="0" y="0" /> |
||
1306 | </Offset> |
||
1307 | </Anchor> |
||
1308 | </Anchors> |
||
1309 | <Scripts> |
||
1310 | <OnClick> |
||
1311 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
1312 | WIM_Options_Filter_Click(); |
||
1313 | </OnClick> |
||
1314 | <OnLoad> |
||
1315 | <!-- Size it properly --> |
||
1316 | PanelTemplates_TabResize(0, this); |
||
1317 | getglobal(this:GetName().."HighlightTexture"):SetWidth(this:GetTextWidth()+10); |
||
1318 | </OnLoad> |
||
1319 | </Scripts> |
||
1320 | </Button> |
||
1321 | <Button name="$parentOptionTab4" inherits="TabButtonTemplate" text=" History " alpha=".8"> |
||
1322 | <Anchors> |
||
1323 | <Anchor point="TOPLEFT" relativeTo="$parentOptionTab3" relativePoint="TOPRIGHT"> |
||
1324 | <Offset> |
||
1325 | <AbsDimension x="0" y="0" /> |
||
1326 | </Offset> |
||
1327 | </Anchor> |
||
1328 | </Anchors> |
||
1329 | <Scripts> |
||
1330 | <OnClick> |
||
1331 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
1332 | WIM_Options_History_Click(); |
||
1333 | </OnClick> |
||
1334 | <OnLoad> |
||
1335 | <!-- Size it properly --> |
||
1336 | PanelTemplates_TabResize(0, this); |
||
1337 | getglobal(this:GetName().."HighlightTexture"):SetWidth(this:GetTextWidth()+10); |
||
1338 | </OnLoad> |
||
1339 | </Scripts> |
||
1340 | </Button> |
||
1341 | <!-- End Option Tabs --> |
||
1342 | <!-- Tabbed Frame --> |
||
1343 | <Frame name="$parentTabbedFrame" inherits="WIM_Options_PanelTemplate"> |
||
1344 | <Size> |
||
1345 | <AbsDimension x="350" y="250"/> |
||
1346 | </Size> |
||
1347 | <Anchors> |
||
1348 | <Anchor point="TOP" relativeTo="$parentOptionTab1" relativePoint="BOTTOM"> |
||
1349 | <Offset> |
||
1350 | <AbsDimension x="0" y="2" /> |
||
1351 | </Offset> |
||
1352 | </Anchor> |
||
1353 | <Anchor point="BOTTOM" relativeTo="$parentDisplay" relativePoint="BOTTOM"/> |
||
1354 | <Anchor point="LEFT" relativeTo="$parentMiniMap" relativePoint="LEFT"/> |
||
1355 | <Anchor point="RIGHT" relativeTo="$parentDisplay" relativePoint="LEFT"> |
||
1356 | <Offset> |
||
1357 | <AbsDimension x="-2" y="0" /> |
||
1358 | </Offset> |
||
1359 | </Anchor> |
||
1360 | </Anchors> |
||
1361 | <Frames> |
||
1362 | <!-- General Frame --> |
||
1363 | <Frame name="$parentGeneral" hidden="true"> |
||
1364 | <Size> |
||
1365 | <AbsDimension x="350" y="200" /> |
||
1366 | </Size> |
||
1367 | <Anchors> |
||
1368 | <Anchor point="TOPLEFT"> |
||
1369 | <Offset> |
||
1370 | <AbsDimension x="10" y="10" /> |
||
1371 | </Offset> |
||
1372 | </Anchor> |
||
1373 | </Anchors> |
||
1374 | <Frames> |
||
1375 | <!-- General Options --> |
||
1376 | <CheckButton name="$parentAutoFocus"> |
||
1377 | <Size> |
||
1378 | <AbsDimension x="25" y="25" /> |
||
1379 | </Size> |
||
1380 | <Anchors> |
||
1381 | <Anchor point="TOPLEFT"> |
||
1382 | <Offset> |
||
1383 | <AbsDimension x="10" y="-35" /> |
||
1384 | </Offset> |
||
1385 | </Anchor> |
||
1386 | </Anchors> |
||
1387 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
1388 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
1389 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
1390 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
1391 | <Layers> |
||
1392 | <Layer level="OVERLAY"> |
||
1393 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Auto focus window on popup."> |
||
1394 | <Anchors> |
||
1395 | <Anchor point="LEFT"> |
||
1396 | <Offset> |
||
1397 | <AbsDimension x="30" y="1" /> |
||
1398 | </Offset> |
||
1399 | </Anchor> |
||
1400 | </Anchors> |
||
1401 | <FontHeight> |
||
1402 | <AbsValue val="12" /> |
||
1403 | </FontHeight> |
||
1404 | <Color r="1" g="0.8196079" b="0" /> |
||
1405 | <Shadow> |
||
1406 | <Color r="0" g="0" b="0" /> |
||
1407 | <Offset> |
||
1408 | <AbsDimension x="1" y="-1" /> |
||
1409 | </Offset> |
||
1410 | </Shadow> |
||
1411 | </FontString> |
||
1412 | </Layer> |
||
1413 | </Layers> |
||
1414 | <Scripts> |
||
1415 | <OnClick> |
||
1416 | if ( this:GetChecked() ) then |
||
1417 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
1418 | else |
||
1419 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
1420 | end |
||
1421 | WIM_Options_AutoFocusClicked(); |
||
1422 | </OnClick> |
||
1423 | </Scripts> |
||
1424 | </CheckButton> |
||
1425 | <CheckButton name="$parentKeepFocus"> |
||
1426 | <Size> |
||
1427 | <AbsDimension x="25" y="25" /> |
||
1428 | </Size> |
||
1429 | <Anchors> |
||
1430 | <Anchor point="TOPLEFT" relativeTo="$parentAutoFocus" relativePoint="BOTTOMLEFT"> |
||
1431 | <Offset> |
||
1432 | <AbsDimension x="0" y="-2" /> |
||
1433 | </Offset> |
||
1434 | </Anchor> |
||
1435 | </Anchors> |
||
1436 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
1437 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
1438 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
1439 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
1440 | <Layers> |
||
1441 | <Layer level="OVERLAY"> |
||
1442 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Keep focus after sending a message."> |
||
1443 | <Anchors> |
||
1444 | <Anchor point="LEFT"> |
||
1445 | <Offset> |
||
1446 | <AbsDimension x="30" y="1" /> |
||
1447 | </Offset> |
||
1448 | </Anchor> |
||
1449 | </Anchors> |
||
1450 | <FontHeight> |
||
1451 | <AbsValue val="12" /> |
||
1452 | </FontHeight> |
||
1453 | <Color r="1" g="0.8196079" b="0" /> |
||
1454 | <Shadow> |
||
1455 | <Color r="0" g="0" b="0" /> |
||
1456 | <Offset> |
||
1457 | <AbsDimension x="1" y="-1" /> |
||
1458 | </Offset> |
||
1459 | </Shadow> |
||
1460 | </FontString> |
||
1461 | </Layer> |
||
1462 | </Layers> |
||
1463 | <Scripts> |
||
1464 | <OnClick> |
||
1465 | if ( this:GetChecked() ) then |
||
1466 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
1467 | else |
||
1468 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
1469 | end |
||
1470 | WIM_Options_KeepFocusClicked(); |
||
1471 | </OnClick> |
||
1472 | </Scripts> |
||
1473 | </CheckButton> |
||
1474 | <CheckButton name="$parentShowToolTips"> |
||
1475 | <Size> |
||
1476 | <AbsDimension x="25" y="25" /> |
||
1477 | </Size> |
||
1478 | <Anchors> |
||
1479 | <Anchor point="TOPLEFT" relativeTo="$parentKeepFocus" relativePoint="BOTTOMLEFT"> |
||
1480 | <Offset> |
||
1481 | <AbsDimension x="0" y="-2" /> |
||
1482 | </Offset> |
||
1483 | </Anchor> |
||
1484 | </Anchors> |
||
1485 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
1486 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
1487 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
1488 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
1489 | <Layers> |
||
1490 | <Layer level="OVERLAY"> |
||
1491 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Show tooltips."> |
||
1492 | <Anchors> |
||
1493 | <Anchor point="LEFT"> |
||
1494 | <Offset> |
||
1495 | <AbsDimension x="30" y="1" /> |
||
1496 | </Offset> |
||
1497 | </Anchor> |
||
1498 | </Anchors> |
||
1499 | <FontHeight> |
||
1500 | <AbsValue val="12" /> |
||
1501 | </FontHeight> |
||
1502 | <Color r="1" g="0.8196079" b="0" /> |
||
1503 | <Shadow> |
||
1504 | <Color r="0" g="0" b="0" /> |
||
1505 | <Offset> |
||
1506 | <AbsDimension x="1" y="-1" /> |
||
1507 | </Offset> |
||
1508 | </Shadow> |
||
1509 | </FontString> |
||
1510 | </Layer> |
||
1511 | </Layers> |
||
1512 | <Scripts> |
||
1513 | <OnClick> |
||
1514 | if ( this:GetChecked() ) then |
||
1515 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
1516 | else |
||
1517 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
1518 | end |
||
1519 | WIM_Options_ShowToolTipsClicked(); |
||
1520 | </OnClick> |
||
1521 | </Scripts> |
||
1522 | </CheckButton> |
||
1523 | <CheckButton name="$parentPopOnSend"> |
||
1524 | <Size> |
||
1525 | <AbsDimension x="25" y="25" /> |
||
1526 | </Size> |
||
1527 | <Anchors> |
||
1528 | <Anchor point="TOPLEFT" relativeTo="$parentShowToolTips" relativePoint="BOTTOMLEFT"> |
||
1529 | <Offset> |
||
1530 | <AbsDimension x="0" y="-2" /> |
||
1531 | </Offset> |
||
1532 | </Anchor> |
||
1533 | </Anchors> |
||
1534 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
1535 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
1536 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
1537 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
1538 | <Layers> |
||
1539 | <Layer level="OVERLAY"> |
||
1540 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Popup window when sending whispers."> |
||
1541 | <Anchors> |
||
1542 | <Anchor point="LEFT"> |
||
1543 | <Offset> |
||
1544 | <AbsDimension x="30" y="1" /> |
||
1545 | </Offset> |
||
1546 | </Anchor> |
||
1547 | </Anchors> |
||
1548 | <FontHeight> |
||
1549 | <AbsValue val="12" /> |
||
1550 | </FontHeight> |
||
1551 | <Color r="1" g="0.8196079" b="0" /> |
||
1552 | <Shadow> |
||
1553 | <Color r="0" g="0" b="0" /> |
||
1554 | <Offset> |
||
1555 | <AbsDimension x="1" y="-1" /> |
||
1556 | </Offset> |
||
1557 | </Shadow> |
||
1558 | </FontString> |
||
1559 | </Layer> |
||
1560 | </Layers> |
||
1561 | <Scripts> |
||
1562 | <OnClick> |
||
1563 | if ( this:GetChecked() ) then |
||
1564 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
1565 | else |
||
1566 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
1567 | end |
||
1568 | WIM_Options_PopOnSendClicked(); |
||
1569 | </OnClick> |
||
1570 | </Scripts> |
||
1571 | </CheckButton> |
||
1572 | <CheckButton name="$parentPopNew"> |
||
1573 | <Size> |
||
1574 | <AbsDimension x="25" y="25" /> |
||
1575 | </Size> |
||
1576 | <Anchors> |
||
1577 | <Anchor point="TOPLEFT" relativeTo="$parentPopOnSend" relativePoint="BOTTOMLEFT"> |
||
1578 | <Offset> |
||
1579 | <AbsDimension x="0" y="-2" /> |
||
1580 | </Offset> |
||
1581 | </Anchor> |
||
1582 | </Anchors> |
||
1583 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
1584 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
1585 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
1586 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
1587 | <Layers> |
||
1588 | <Layer level="OVERLAY"> |
||
1589 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Popup window when receiving new whispers."> |
||
1590 | <Anchors> |
||
1591 | <Anchor point="LEFT"> |
||
1592 | <Offset> |
||
1593 | <AbsDimension x="30" y="1" /> |
||
1594 | </Offset> |
||
1595 | </Anchor> |
||
1596 | </Anchors> |
||
1597 | <FontHeight> |
||
1598 | <AbsValue val="12" /> |
||
1599 | </FontHeight> |
||
1600 | <Color r="1" g="0.8196079" b="0" /> |
||
1601 | <Shadow> |
||
1602 | <Color r="0" g="0" b="0" /> |
||
1603 | <Offset> |
||
1604 | <AbsDimension x="1" y="-1" /> |
||
1605 | </Offset> |
||
1606 | </Shadow> |
||
1607 | </FontString> |
||
1608 | </Layer> |
||
1609 | </Layers> |
||
1610 | <Scripts> |
||
1611 | <OnClick> |
||
1612 | if ( this:GetChecked() ) then |
||
1613 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
1614 | else |
||
1615 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
1616 | end |
||
1617 | WIM_Options_PopNewClicked(); |
||
1618 | </OnClick> |
||
1619 | </Scripts> |
||
1620 | </CheckButton> |
||
1621 | <CheckButton name="$parentPopUpdate"> |
||
1622 | <Size> |
||
1623 | <AbsDimension x="25" y="25" /> |
||
1624 | </Size> |
||
1625 | <Anchors> |
||
1626 | <Anchor point="TOPLEFT" relativeTo="$parentPopNew" relativePoint="BOTTOMLEFT"> |
||
1627 | <Offset> |
||
1628 | <AbsDimension x="25" y="-2" /> |
||
1629 | </Offset> |
||
1630 | </Anchor> |
||
1631 | </Anchors> |
||
1632 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
1633 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
1634 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
1635 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
1636 | <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" /> |
||
1637 | <Layers> |
||
1638 | <Layer level="OVERLAY"> |
||
1639 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Popup window when receiving replies."> |
||
1640 | <Anchors> |
||
1641 | <Anchor point="LEFT"> |
||
1642 | <Offset> |
||
1643 | <AbsDimension x="30" y="1" /> |
||
1644 | </Offset> |
||
1645 | </Anchor> |
||
1646 | </Anchors> |
||
1647 | <FontHeight> |
||
1648 | <AbsValue val="12" /> |
||
1649 | </FontHeight> |
||
1650 | <Color r="1" g="0.8196079" b="0" /> |
||
1651 | <Shadow> |
||
1652 | <Color r="0" g="0" b="0" /> |
||
1653 | <Offset> |
||
1654 | <AbsDimension x="1" y="-1" /> |
||
1655 | </Offset> |
||
1656 | </Shadow> |
||
1657 | </FontString> |
||
1658 | </Layer> |
||
1659 | </Layers> |
||
1660 | <Scripts> |
||
1661 | <OnClick> |
||
1662 | if ( this:GetChecked() ) then |
||
1663 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
1664 | else |
||
1665 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
1666 | end |
||
1667 | WIM_Options_PopUpdateClicked(); |
||
1668 | </OnClick> |
||
1669 | </Scripts> |
||
1670 | </CheckButton> |
||
1671 | <CheckButton name="$parentPopCombat"> |
||
1672 | <Size> |
||
1673 | <AbsDimension x="25" y="25" /> |
||
1674 | </Size> |
||
1675 | <Anchors> |
||
1676 | <Anchor point="TOPLEFT" relativeTo="$parentPopUpdate" relativePoint="BOTTOMLEFT"> |
||
1677 | <Offset> |
||
1678 | <AbsDimension x="0" y="0" /> |
||
1679 | </Offset> |
||
1680 | </Anchor> |
||
1681 | </Anchors> |
||
1682 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
1683 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
1684 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
1685 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
1686 | <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" /> |
||
1687 | <Layers> |
||
1688 | <Layer level="OVERLAY"> |
||
1689 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Disable popups while in combat."> |
||
1690 | <Anchors> |
||
1691 | <Anchor point="LEFT"> |
||
1692 | <Offset> |
||
1693 | <AbsDimension x="30" y="1" /> |
||
1694 | </Offset> |
||
1695 | </Anchor> |
||
1696 | </Anchors> |
||
1697 | <FontHeight> |
||
1698 | <AbsValue val="12" /> |
||
1699 | </FontHeight> |
||
1700 | <Color r="1" g="0.8196079" b="0" /> |
||
1701 | <Shadow> |
||
1702 | <Color r="0" g="0" b="0" /> |
||
1703 | <Offset> |
||
1704 | <AbsDimension x="1" y="-1" /> |
||
1705 | </Offset> |
||
1706 | </Shadow> |
||
1707 | </FontString> |
||
1708 | </Layer> |
||
1709 | </Layers> |
||
1710 | <Scripts> |
||
1711 | <OnClick> |
||
1712 | if ( this:GetChecked() ) then |
||
1713 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
1714 | else |
||
1715 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
1716 | end |
||
1717 | WIM_Options_PopCombatClicked(); |
||
1718 | </OnClick> |
||
1719 | </Scripts> |
||
1720 | </CheckButton> |
||
1721 | <CheckButton name="$parentSupress"> |
||
1722 | <Size> |
||
1723 | <AbsDimension x="25" y="25" /> |
||
1724 | </Size> |
||
1725 | <Anchors> |
||
1726 | <Anchor point="TOPLEFT" relativeTo="$parentPopNew" relativePoint="BOTTOMLEFT"> |
||
1727 | <Offset> |
||
1728 | <AbsDimension x="0" y="-55" /> |
||
1729 | </Offset> |
||
1730 | </Anchor> |
||
1731 | </Anchors> |
||
1732 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
1733 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
1734 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
1735 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
1736 | <Layers> |
||
1737 | <Layer level="OVERLAY"> |
||
1738 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Supress whispers from default chat frame."> |
||
1739 | <Anchors> |
||
1740 | <Anchor point="LEFT"> |
||
1741 | <Offset> |
||
1742 | <AbsDimension x="30" y="1" /> |
||
1743 | </Offset> |
||
1744 | </Anchor> |
||
1745 | </Anchors> |
||
1746 | <FontHeight> |
||
1747 | <AbsValue val="12" /> |
||
1748 | </FontHeight> |
||
1749 | <Color r="1" g="0.8196079" b="0" /> |
||
1750 | <Shadow> |
||
1751 | <Color r="0" g="0" b="0" /> |
||
1752 | <Offset> |
||
1753 | <AbsDimension x="1" y="-1" /> |
||
1754 | </Offset> |
||
1755 | </Shadow> |
||
1756 | </FontString> |
||
1757 | </Layer> |
||
1758 | </Layers> |
||
1759 | <Scripts> |
||
1760 | <OnClick> |
||
1761 | if ( this:GetChecked() ) then |
||
1762 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
1763 | else |
||
1764 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
1765 | end |
||
1766 | WIM_Options_SupressWispsClicked(); |
||
1767 | </OnClick> |
||
1768 | </Scripts> |
||
1769 | </CheckButton> |
||
1770 | <CheckButton name="$parentPlaySoundWisp"> |
||
1771 | <Size> |
||
1772 | <AbsDimension x="25" y="25" /> |
||
1773 | </Size> |
||
1774 | <Anchors> |
||
1775 | <Anchor point="TOPLEFT" relativeTo="$parentSupress" relativePoint="BOTTOMLEFT"> |
||
1776 | <Offset> |
||
1777 | <AbsDimension x="0" y="-2" /> |
||
1778 | </Offset> |
||
1779 | </Anchor> |
||
1780 | </Anchors> |
||
1781 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
1782 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
1783 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
1784 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
1785 | <Layers> |
||
1786 | <Layer level="OVERLAY"> |
||
1787 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Play sound when message received."> |
||
1788 | <Anchors> |
||
1789 | <Anchor point="LEFT"> |
||
1790 | <Offset> |
||
1791 | <AbsDimension x="30" y="1" /> |
||
1792 | </Offset> |
||
1793 | </Anchor> |
||
1794 | </Anchors> |
||
1795 | <FontHeight> |
||
1796 | <AbsValue val="12" /> |
||
1797 | </FontHeight> |
||
1798 | <Color r="1" g="0.8196079" b="0" /> |
||
1799 | <Shadow> |
||
1800 | <Color r="0" g="0" b="0" /> |
||
1801 | <Offset> |
||
1802 | <AbsDimension x="1" y="-1" /> |
||
1803 | </Offset> |
||
1804 | </Shadow> |
||
1805 | </FontString> |
||
1806 | </Layer> |
||
1807 | </Layers> |
||
1808 | <Scripts> |
||
1809 | <OnClick> |
||
1810 | if ( this:GetChecked() ) then |
||
1811 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
1812 | else |
||
1813 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
1814 | end |
||
1815 | WIM_Options_PlaySoundWispClicked(); |
||
1816 | </OnClick> |
||
1817 | </Scripts> |
||
1818 | </CheckButton> |
||
1819 | <CheckButton name="$parentSortOrderAlpha"> |
||
1820 | <Size> |
||
1821 | <AbsDimension x="25" y="25" /> |
||
1822 | </Size> |
||
1823 | <Anchors> |
||
1824 | <Anchor point="TOPLEFT" relativeTo="$parentPlaySoundWisp" relativePoint="BOTTOMLEFT"> |
||
1825 | <Offset> |
||
1826 | <AbsDimension x="0" y="-2" /> |
||
1827 | </Offset> |
||
1828 | </Anchor> |
||
1829 | </Anchors> |
||
1830 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
1831 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
1832 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
1833 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
1834 | <Layers> |
||
1835 | <Layer level="OVERLAY"> |
||
1836 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Sort conversation list alphabetically."> |
||
1837 | <Anchors> |
||
1838 | <Anchor point="LEFT"> |
||
1839 | <Offset> |
||
1840 | <AbsDimension x="30" y="1" /> |
||
1841 | </Offset> |
||
1842 | </Anchor> |
||
1843 | </Anchors> |
||
1844 | <FontHeight> |
||
1845 | <AbsValue val="12" /> |
||
1846 | </FontHeight> |
||
1847 | <Color r="1" g="0.8196079" b="0" /> |
||
1848 | <Shadow> |
||
1849 | <Color r="0" g="0" b="0" /> |
||
1850 | <Offset> |
||
1851 | <AbsDimension x="1" y="-1" /> |
||
1852 | </Offset> |
||
1853 | </Shadow> |
||
1854 | </FontString> |
||
1855 | </Layer> |
||
1856 | </Layers> |
||
1857 | <Scripts> |
||
1858 | <OnClick> |
||
1859 | if ( this:GetChecked() ) then |
||
1860 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
1861 | else |
||
1862 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
1863 | end |
||
1864 | WIM_Options_SortOrderAlphaClicked(); |
||
1865 | </OnClick> |
||
1866 | </Scripts> |
||
1867 | </CheckButton> |
||
1868 | |||
1869 | |||
1870 | |||
1871 | |||
1872 | |||
1873 | |||
1874 | <!-- End General Options --> |
||
1875 | </Frames> |
||
1876 | </Frame> |
||
1877 | <!-- End General Frame --> |
||
1878 | <!-- Whisper Frame --> |
||
1879 | <Frame name="$parentWindow" hidden="true"> |
||
1880 | <Size> |
||
1881 | <AbsDimension x="350" y="200" /> |
||
1882 | </Size> |
||
1883 | <Anchors> |
||
1884 | <Anchor point="TOPLEFT"> |
||
1885 | <Offset> |
||
1886 | <AbsDimension x="10" y="10" /> |
||
1887 | </Offset> |
||
1888 | </Anchor> |
||
1889 | </Anchors> |
||
1890 | <Frames> |
||
1891 | <!-- Window Options --> |
||
1892 | |||
1893 | <CheckButton name="$parentWindowCascade"> |
||
1894 | <Size> |
||
1895 | <AbsDimension x="25" y="25" /> |
||
1896 | </Size> |
||
1897 | <Anchors> |
||
1898 | <Anchor point="TOPLEFT"> |
||
1899 | <Offset> |
||
1900 | <AbsDimension x="10" y="-35" /> |
||
1901 | </Offset> |
||
1902 | </Anchor> |
||
1903 | </Anchors> |
||
1904 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
1905 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
1906 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
1907 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
1908 | <Layers> |
||
1909 | <Layer level="OVERLAY"> |
||
1910 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Enable cascading. Direction:"> |
||
1911 | <Anchors> |
||
1912 | <Anchor point="LEFT"> |
||
1913 | <Offset> |
||
1914 | <AbsDimension x="30" y="1" /> |
||
1915 | </Offset> |
||
1916 | </Anchor> |
||
1917 | </Anchors> |
||
1918 | <FontHeight> |
||
1919 | <AbsValue val="12" /> |
||
1920 | </FontHeight> |
||
1921 | <Color r="1" g="0.8196079" b="0" /> |
||
1922 | <Shadow> |
||
1923 | <Color r="0" g="0" b="0" /> |
||
1924 | <Offset> |
||
1925 | <AbsDimension x="1" y="-1" /> |
||
1926 | </Offset> |
||
1927 | </Shadow> |
||
1928 | </FontString> |
||
1929 | </Layer> |
||
1930 | </Layers> |
||
1931 | <Scripts> |
||
1932 | <OnClick> |
||
1933 | if ( this:GetChecked() ) then |
||
1934 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
1935 | else |
||
1936 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
1937 | end |
||
1938 | WIM_Options_WindowCascadeClicked(); |
||
1939 | </OnClick> |
||
1940 | </Scripts> |
||
1941 | </CheckButton> |
||
1942 | |||
1943 | |||
1944 | <Button name="$parentWindowAnchor" inherits="UIPanelButtonTemplate" text="Set Locaion"> |
||
1945 | <Size> |
||
1946 | <AbsDimension x="120" y="28"/> |
||
1947 | </Size> |
||
1948 | <Anchors> |
||
1949 | <Anchor point="TOPLEFT" relativeTo="$parentWindowCascade" relativePoint="BOTTOMLEFT"> |
||
1950 | <Offset> |
||
1951 | <AbsDimension x="0" y="-20"/> |
||
1952 | </Offset> |
||
1953 | </Anchor> |
||
1954 | </Anchors> |
||
1955 | <Scripts> |
||
1956 | <OnClick> |
||
1957 | WIM_Options_WindowAnchorToggle_Click(); |
||
1958 | </OnClick> |
||
1959 | </Scripts> |
||
1960 | </Button> |
||
1961 | <Frame name="$parentCascadeDirection" inherits="UIDropDownMenuTemplate" enableMouse="true"> |
||
1962 | <Anchors> |
||
1963 | <Anchor point="TOPLEFT" relativeTo="$parentWindowCascade" relativePoint="TOPLEFT"> |
||
1964 | <Offset> |
||
1965 | <AbsDimension x="200" y="2"/> |
||
1966 | </Offset> |
||
1967 | </Anchor> |
||
1968 | </Anchors> |
||
1969 | <Scripts> |
||
1970 | <!-- Ensure that the correct information is displayed |
||
1971 | Also setup the different options and function for selecting options--> |
||
1972 | <OnShow> |
||
1973 | WIM_Options_CascadeDirection_OnShow(); |
||
1974 | </OnShow> |
||
1975 | <OnEnter> |
||
1976 | --GameTooltip:SetOwner(this, "ANCHOR_TOPRIGHT"); |
||
1977 | --GameTooltip:SetText(this.tooltip, nil, nil, nil, nil, 1); |
||
1978 | </OnEnter> |
||
1979 | <OnLeave> |
||
1980 | GameTooltip:Hide(); |
||
1981 | </OnLeave> |
||
1982 | </Scripts> |
||
1983 | </Frame> |
||
1984 | <Slider name="$parentWindowWidth" inherits="WIM_Options_SliderTemplate" minValue="250" maxValue="800" valueStep="1"> |
||
1985 | <Size> |
||
1986 | <AbsDimension x="285" y="17"/> |
||
1987 | </Size> |
||
1988 | <Anchors> |
||
1989 | <Anchor point="TOPLEFT" relativeTo="$parentWindowAnchor" relativePoint="BOTTOMLEFT"> |
||
1990 | <Offset> |
||
1991 | <AbsDimension x="0" y="-30" /> |
||
1992 | </Offset> |
||
1993 | </Anchor> |
||
1994 | </Anchors> |
||
1995 | <Scripts> |
||
1996 | <OnValueChanged> |
||
1997 | WIM_Data.winSize.width = this:GetValue(); |
||
1998 | getglobal(this:GetName().."EditBox"):SetText(this:GetValue()); |
||
1999 | WIM_SetAllWindowProps(); |
||
2000 | </OnValueChanged> |
||
2001 | </Scripts> |
||
2002 | </Slider> |
||
2003 | <Slider name="$parentWindowHeight" inherits="WIM_Options_SliderTemplate" minValue="130" maxValue="600" valueStep="1"> |
||
2004 | <Size> |
||
2005 | <AbsDimension x="285" y="17"/> |
||
2006 | </Size> |
||
2007 | <Anchors> |
||
2008 | <Anchor point="TOPLEFT" relativeTo="$parentWindowWidth" relativePoint="BOTTOMLEFT"> |
||
2009 | <Offset> |
||
2010 | <AbsDimension x="0" y="-30" /> |
||
2011 | </Offset> |
||
2012 | </Anchor> |
||
2013 | </Anchors> |
||
2014 | <Scripts> |
||
2015 | <OnValueChanged> |
||
2016 | WIM_Data.winSize.height = this:GetValue(); |
||
2017 | getglobal(this:GetName().."EditBox"):SetText(this:GetValue()); |
||
2018 | WIM_SetAllWindowProps(); |
||
2019 | </OnValueChanged> |
||
2020 | </Scripts> |
||
2021 | </Slider> |
||
2022 | <!-- End Window Options --> |
||
2023 | </Frames> |
||
2024 | </Frame> |
||
2025 | <!-- Filter Frame --> |
||
2026 | <Frame name="$parentFilter" hidden="true"> |
||
2027 | <Size> |
||
2028 | <AbsDimension x="350" y="200" /> |
||
2029 | </Size> |
||
2030 | <Anchors> |
||
2031 | <Anchor point="TOPLEFT"> |
||
2032 | <Offset> |
||
2033 | <AbsDimension x="10" y="10" /> |
||
2034 | </Offset> |
||
2035 | </Anchor> |
||
2036 | </Anchors> |
||
2037 | <Frames> |
||
2038 | <!-- Alias Frame --> |
||
2039 | <Frame name="$parentAlias"> |
||
2040 | <Size> |
||
2041 | <AbsDimension x="100" y="175" /> |
||
2042 | </Size> |
||
2043 | <Anchors> |
||
2044 | <Anchor point="TOPLEFT"> |
||
2045 | <AbsDimension x="0" y="0" /> |
||
2046 | </Anchor> |
||
2047 | </Anchors> |
||
2048 | <Frames> |
||
2049 | <CheckButton name="$parentEnabled"> |
||
2050 | <Size> |
||
2051 | <AbsDimension x="25" y="25" /> |
||
2052 | </Size> |
||
2053 | <Anchors> |
||
2054 | <Anchor point="TOPLEFT"> |
||
2055 | <Offset> |
||
2056 | <AbsDimension x="10" y="-25" /> |
||
2057 | </Offset> |
||
2058 | </Anchor> |
||
2059 | </Anchors> |
||
2060 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
2061 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
2062 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
2063 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
2064 | <Layers> |
||
2065 | <Layer level="OVERLAY"> |
||
2066 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Enable Aliasing"> |
||
2067 | <Anchors> |
||
2068 | <Anchor point="LEFT"> |
||
2069 | <Offset> |
||
2070 | <AbsDimension x="30" y="1" /> |
||
2071 | </Offset> |
||
2072 | </Anchor> |
||
2073 | </Anchors> |
||
2074 | <FontHeight> |
||
2075 | <AbsValue val="12" /> |
||
2076 | </FontHeight> |
||
2077 | <Color r="1" g="0.8196079" b="0" /> |
||
2078 | <Shadow> |
||
2079 | <Color r="0" g="0" b="0" /> |
||
2080 | <Offset> |
||
2081 | <AbsDimension x="1" y="-1" /> |
||
2082 | </Offset> |
||
2083 | </Shadow> |
||
2084 | </FontString> |
||
2085 | </Layer> |
||
2086 | </Layers> |
||
2087 | <Scripts> |
||
2088 | <OnClick> |
||
2089 | if ( this:GetChecked() ) then |
||
2090 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
2091 | else |
||
2092 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
2093 | end |
||
2094 | WIM_Options_AliasEnabledClicked(); |
||
2095 | </OnClick> |
||
2096 | </Scripts> |
||
2097 | </CheckButton> |
||
2098 | <CheckButton name="$parentShowAsComment"> |
||
2099 | <Size> |
||
2100 | <AbsDimension x="25" y="25" /> |
||
2101 | </Size> |
||
2102 | <Anchors> |
||
2103 | <Anchor point="TOPLEFT" relativeTo="$parentEnabled" relativePoint="TOPLEFT"> |
||
2104 | <Offset> |
||
2105 | <AbsDimension x="170" y="0" /> |
||
2106 | </Offset> |
||
2107 | </Anchor> |
||
2108 | </Anchors> |
||
2109 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
2110 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
2111 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
2112 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
2113 | <Layers> |
||
2114 | <Layer level="OVERLAY"> |
||
2115 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Show as comment"> |
||
2116 | <Anchors> |
||
2117 | <Anchor point="LEFT"> |
||
2118 | <Offset> |
||
2119 | <AbsDimension x="30" y="1" /> |
||
2120 | </Offset> |
||
2121 | </Anchor> |
||
2122 | </Anchors> |
||
2123 | <FontHeight> |
||
2124 | <AbsValue val="12" /> |
||
2125 | </FontHeight> |
||
2126 | <Color r="1" g="0.8196079" b="0" /> |
||
2127 | <Shadow> |
||
2128 | <Color r="0" g="0" b="0" /> |
||
2129 | <Offset> |
||
2130 | <AbsDimension x="1" y="-1" /> |
||
2131 | </Offset> |
||
2132 | </Shadow> |
||
2133 | </FontString> |
||
2134 | </Layer> |
||
2135 | </Layers> |
||
2136 | <Scripts> |
||
2137 | <OnClick> |
||
2138 | if ( this:GetChecked() ) then |
||
2139 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
2140 | else |
||
2141 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
2142 | end |
||
2143 | WIM_Options_AliasShowAsCommentClicked(); |
||
2144 | </OnClick> |
||
2145 | </Scripts> |
||
2146 | </CheckButton> |
||
2147 | <Button name="$parentColumnHeader1" inherits="WhoFrameColumnHeaderTemplate" text="Name"> |
||
2148 | <Anchors> |
||
2149 | <Anchor point="TOPLEFT"> |
||
2150 | <Offset> |
||
2151 | <AbsDimension x="10" y="-50"/> |
||
2152 | </Offset> |
||
2153 | </Anchor> |
||
2154 | </Anchors> |
||
2155 | <Scripts> |
||
2156 | <OnLoad> |
||
2157 | WhoFrameColumn_SetWidth(155); |
||
2158 | this.sortType = "name"; |
||
2159 | </OnLoad> |
||
2160 | <OnClick> |
||
2161 | |||
2162 | </OnClick> |
||
2163 | </Scripts> |
||
2164 | </Button> |
||
2165 | <Button name="$parentColumnHeader2" inherits="WhoFrameColumnHeaderTemplate" text="Alias"> |
||
2166 | <Anchors> |
||
2167 | <Anchor point="TOPLEFT" relativeTo="$parentColumnHeader1" relativePoint="TOPRIGHT"> |
||
2168 | <Offset> |
||
2169 | <AbsDimension x="0" y="0"/> |
||
2170 | </Offset> |
||
2171 | </Anchor> |
||
2172 | </Anchors> |
||
2173 | <Scripts> |
||
2174 | <OnLoad> |
||
2175 | WhoFrameColumn_SetWidth(155); |
||
2176 | this.sortType = "alias"; |
||
2177 | </OnLoad> |
||
2178 | <OnClick> |
||
2179 | |||
2180 | </OnClick> |
||
2181 | </Scripts> |
||
2182 | </Button> |
||
2183 | <Frame name="$parentPanel" inherits="WIM_Options_PanelTemplate"> |
||
2184 | <Size> |
||
2185 | <AbsDimension x="340" y="100" /> |
||
2186 | </Size> |
||
2187 | <Anchors> |
||
2188 | <Anchor point="TOPLEFT" relativeTo="$parentColumnHeader1" relativePoint="BOTTOMLEFT"> |
||
2189 | <Offset> |
||
2190 | <AbsDimension x="-2" y="4" /> |
||
2191 | </Offset> |
||
2192 | </Anchor> |
||
2193 | </Anchors> |
||
2194 | <Frames> |
||
2195 | <ScrollFrame name="$parentScrollBar" inherits="FauxScrollFrameTemplate"> |
||
2196 | <Anchors> |
||
2197 | <Anchor point="TOPLEFT"> |
||
2198 | <Offset> |
||
2199 | <AbsDimension x="0" y="-8"/> |
||
2200 | </Offset> |
||
2201 | </Anchor> |
||
2202 | <Anchor point="BOTTOMRIGHT"> |
||
2203 | <Offset> |
||
2204 | <AbsDimension x="-30" y="8"/> |
||
2205 | </Offset> |
||
2206 | </Anchor> |
||
2207 | </Anchors> |
||
2208 | |||
2209 | <Scripts> |
||
2210 | <OnVerticalScroll> |
||
2211 | FauxScrollFrame_OnVerticalScroll(16, WIM_AliasScrollBar_Update); |
||
2212 | </OnVerticalScroll> |
||
2213 | <OnShow> |
||
2214 | WIM_AliasScrollBar_Update(); |
||
2215 | </OnShow> |
||
2216 | </Scripts> |
||
2217 | </ScrollFrame> |
||
2218 | <Button name="$parentButton1" inherits="WIM_AliasButtonTemplate"> |
||
2219 | <Anchors> |
||
2220 | <Anchor point="TOPLEFT" relativeTo="$parentScrollBar" relativePoint="TOPLEFT"> |
||
2221 | <Offset> |
||
2222 | <AbsDimension x="0" y="0" /> |
||
2223 | </Offset> |
||
2224 | </Anchor> |
||
2225 | </Anchors> |
||
2226 | </Button> |
||
2227 | <Button name="$parentButton2" inherits="WIM_AliasButtonTemplate"> |
||
2228 | <Anchors> |
||
2229 | <Anchor point="TOPLEFT" relativeTo="$parentButton1" relativePoint="BOTTOMLEFT"> |
||
2230 | <Offset> |
||
2231 | <AbsDimension x="0" y="0" /> |
||
2232 | </Offset> |
||
2233 | </Anchor> |
||
2234 | </Anchors> |
||
2235 | </Button> |
||
2236 | <Button name="$parentButton3" inherits="WIM_AliasButtonTemplate"> |
||
2237 | <Anchors> |
||
2238 | <Anchor point="TOPLEFT" relativeTo="$parentButton2" relativePoint="BOTTOMLEFT"> |
||
2239 | <Offset> |
||
2240 | <AbsDimension x="0" y="0" /> |
||
2241 | </Offset> |
||
2242 | </Anchor> |
||
2243 | </Anchors> |
||
2244 | </Button> |
||
2245 | <Button name="$parentButton4" inherits="WIM_AliasButtonTemplate"> |
||
2246 | <Anchors> |
||
2247 | <Anchor point="TOPLEFT" relativeTo="$parentButton3" relativePoint="BOTTOMLEFT"> |
||
2248 | <Offset> |
||
2249 | <AbsDimension x="0" y="0" /> |
||
2250 | </Offset> |
||
2251 | </Anchor> |
||
2252 | </Anchors> |
||
2253 | </Button> |
||
2254 | <Button name="$parentButton5" inherits="WIM_AliasButtonTemplate"> |
||
2255 | <Anchors> |
||
2256 | <Anchor point="TOPLEFT" relativeTo="$parentButton4" relativePoint="BOTTOMLEFT"> |
||
2257 | <Offset> |
||
2258 | <AbsDimension x="0" y="0" /> |
||
2259 | </Offset> |
||
2260 | </Anchor> |
||
2261 | </Anchors> |
||
2262 | </Button> |
||
2263 | <Button name="$parentAdd" inherits="UIPanelButtonTemplate" text="Add"> |
||
2264 | <Size> |
||
2265 | <AbsDimension x="85" y="22"/> |
||
2266 | </Size> |
||
2267 | <Anchors> |
||
2268 | <Anchor point="BOTTOMLEFT"> |
||
2269 | <Offset> |
||
2270 | <AbsDimension x="0" y="-20"/> |
||
2271 | </Offset> |
||
2272 | </Anchor> |
||
2273 | </Anchors> |
||
2274 | <Scripts> |
||
2275 | <OnClick> |
||
2276 | PlaySound("igMainMenuClose"); |
||
2277 | WIM_Options_AliasWindowTitleString:SetText("Add New Alias"); |
||
2278 | WIM_Options_AliasWindow_Name:SetText(""); |
||
2279 | WIM_Options_AliasWindow_Alias:SetText(""); |
||
2280 | WIM_Options_AliasWindow.prevName = ""; |
||
2281 | WIM_Options_AliasWindow.theMode = "add"; |
||
2282 | WIM_Options_AliasWindow:Show(); |
||
2283 | WIM_Options_AliasWindow_Name:SetFocus(); |
||
2284 | </OnClick> |
||
2285 | </Scripts> |
||
2286 | </Button> |
||
2287 | <Button name="$parentRemove" inherits="UIPanelButtonTemplate" text="Remove"> |
||
2288 | <Size> |
||
2289 | <AbsDimension x="85" y="22"/> |
||
2290 | </Size> |
||
2291 | <Anchors> |
||
2292 | <Anchor point="BOTTOMLEFT"> |
||
2293 | <Offset> |
||
2294 | <AbsDimension x="90" y="-20"/> |
||
2295 | </Offset> |
||
2296 | </Anchor> |
||
2297 | </Anchors> |
||
2298 | <Scripts> |
||
2299 | <OnClick> |
||
2300 | PlaySound("igMainMenuClose"); |
||
2301 | if(WIM_Alias_Selected ~= "") then |
||
2302 | WIM_Alias[WIM_Alias_Selected] = nil; |
||
2303 | WIM_Alias_Selected = ""; |
||
2304 | WIM_AliasScrollBar_Update(); |
||
2305 | end |
||
2306 | </OnClick> |
||
2307 | </Scripts> |
||
2308 | </Button> |
||
2309 | <Button name="$parentEdit" inherits="UIPanelButtonTemplate" text="Edit"> |
||
2310 | <Size> |
||
2311 | <AbsDimension x="85" y="22"/> |
||
2312 | </Size> |
||
2313 | <Anchors> |
||
2314 | <Anchor point="BOTTOMRIGHT"> |
||
2315 | <Offset> |
||
2316 | <AbsDimension x="0" y="-20"/> |
||
2317 | </Offset> |
||
2318 | </Anchor> |
||
2319 | </Anchors> |
||
2320 | <Scripts> |
||
2321 | <OnClick> |
||
2322 | PlaySound("igMainMenuClose"); |
||
2323 | if(WIM_Alias_Selected ~= "") then |
||
2324 | WIM_Options_AliasWindowTitleString:SetText("Edit Alias"); |
||
2325 | WIM_Options_AliasWindow.theMode = "edit"; |
||
2326 | WIM_Options_AliasWindow.prevName = WIM_Alias_Selected; |
||
2327 | WIM_Options_AliasWindow_Name:SetText(WIM_Alias_Selected); |
||
2328 | WIM_Options_AliasWindow_Alias:SetText(WIM_Alias[WIM_Alias_Selected]); |
||
2329 | WIM_Options_AliasWindow_Alias:HighlightText(0); |
||
2330 | WIM_Options_AliasWindow:Show(); |
||
2331 | WIM_Options_AliasWindow_Alias:SetFocus(); |
||
2332 | end |
||
2333 | </OnClick> |
||
2334 | </Scripts> |
||
2335 | </Button> |
||
2336 | |||
2337 | |||
2338 | |||
2339 | </Frames> |
||
2340 | </Frame> |
||
2341 | </Frames> |
||
2342 | </Frame> |
||
2343 | <!-- End Alias Frame --> |
||
2344 | <!-- Filtering Frame --> |
||
2345 | <Frame name="$parentFiltering"> |
||
2346 | <Size> |
||
2347 | <AbsDimension x="100" y="100" /> |
||
2348 | </Size> |
||
2349 | <Anchors> |
||
2350 | <Anchor point="TOPLEFT" relativeTo="$parentAlias" relativePoint="BOTTOMLEFT"> |
||
2351 | <AbsDimension x="0" y="0" /> |
||
2352 | </Anchor> |
||
2353 | </Anchors> |
||
2354 | <Frames> |
||
2355 | <CheckButton name="$parentEnabled"> |
||
2356 | <Size> |
||
2357 | <AbsDimension x="25" y="25" /> |
||
2358 | </Size> |
||
2359 | <Anchors> |
||
2360 | <Anchor point="TOPLEFT"> |
||
2361 | <Offset> |
||
2362 | <AbsDimension x="10" y="-35" /> |
||
2363 | </Offset> |
||
2364 | </Anchor> |
||
2365 | </Anchors> |
||
2366 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
2367 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
2368 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
2369 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
2370 | <Layers> |
||
2371 | <Layer level="OVERLAY"> |
||
2372 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Enable Filtering"> |
||
2373 | <Anchors> |
||
2374 | <Anchor point="LEFT"> |
||
2375 | <Offset> |
||
2376 | <AbsDimension x="30" y="1" /> |
||
2377 | </Offset> |
||
2378 | </Anchor> |
||
2379 | </Anchors> |
||
2380 | <FontHeight> |
||
2381 | <AbsValue val="12" /> |
||
2382 | </FontHeight> |
||
2383 | <Color r="1" g="0.8196079" b="0" /> |
||
2384 | <Shadow> |
||
2385 | <Color r="0" g="0" b="0" /> |
||
2386 | <Offset> |
||
2387 | <AbsDimension x="1" y="-1" /> |
||
2388 | </Offset> |
||
2389 | </Shadow> |
||
2390 | </FontString> |
||
2391 | </Layer> |
||
2392 | </Layers> |
||
2393 | <Scripts> |
||
2394 | <OnClick> |
||
2395 | if ( this:GetChecked() ) then |
||
2396 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
2397 | else |
||
2398 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
2399 | end |
||
2400 | WIM_Options_FilteringEnabledClicked(); |
||
2401 | </OnClick> |
||
2402 | </Scripts> |
||
2403 | </CheckButton> |
||
2404 | <Button name="$parentColumnHeader1" inherits="WhoFrameColumnHeaderTemplate" text="Keywords/Phrases"> |
||
2405 | <Anchors> |
||
2406 | <Anchor point="TOPLEFT"> |
||
2407 | <Offset> |
||
2408 | <AbsDimension x="10" y="-60"/> |
||
2409 | </Offset> |
||
2410 | </Anchor> |
||
2411 | </Anchors> |
||
2412 | <Scripts> |
||
2413 | <OnLoad> |
||
2414 | WhoFrameColumn_SetWidth(230); |
||
2415 | this.sortType = "name"; |
||
2416 | </OnLoad> |
||
2417 | <OnClick> |
||
2418 | |||
2419 | </OnClick> |
||
2420 | </Scripts> |
||
2421 | </Button> |
||
2422 | <Button name="$parentColumnHeader2" inherits="WhoFrameColumnHeaderTemplate" text="Action"> |
||
2423 | <Anchors> |
||
2424 | <Anchor point="TOPLEFT" relativeTo="$parentColumnHeader1" relativePoint="TOPRIGHT"> |
||
2425 | <Offset> |
||
2426 | <AbsDimension x="0" y="0"/> |
||
2427 | </Offset> |
||
2428 | </Anchor> |
||
2429 | </Anchors> |
||
2430 | <Scripts> |
||
2431 | <OnLoad> |
||
2432 | WhoFrameColumn_SetWidth(80); |
||
2433 | this.sortType = "action"; |
||
2434 | </OnLoad> |
||
2435 | <OnClick> |
||
2436 | |||
2437 | </OnClick> |
||
2438 | </Scripts> |
||
2439 | </Button> |
||
2440 | <Frame name="$parentPanel" inherits="WIM_Options_PanelTemplate"> |
||
2441 | <Size> |
||
2442 | <AbsDimension x="340" y="100" /> |
||
2443 | </Size> |
||
2444 | <Anchors> |
||
2445 | <Anchor point="TOPLEFT" relativeTo="$parentColumnHeader1" relativePoint="BOTTOMLEFT"> |
||
2446 | <Offset> |
||
2447 | <AbsDimension x="-2" y="4" /> |
||
2448 | </Offset> |
||
2449 | </Anchor> |
||
2450 | </Anchors> |
||
2451 | <Frames> |
||
2452 | <ScrollFrame name="$parentScrollBar" inherits="FauxScrollFrameTemplate"> |
||
2453 | <Anchors> |
||
2454 | <Anchor point="TOPLEFT"> |
||
2455 | <Offset> |
||
2456 | <AbsDimension x="0" y="-8"/> |
||
2457 | </Offset> |
||
2458 | </Anchor> |
||
2459 | <Anchor point="BOTTOMRIGHT"> |
||
2460 | <Offset> |
||
2461 | <AbsDimension x="-30" y="8"/> |
||
2462 | </Offset> |
||
2463 | </Anchor> |
||
2464 | </Anchors> |
||
2465 | |||
2466 | <Scripts> |
||
2467 | <OnVerticalScroll> |
||
2468 | FauxScrollFrame_OnVerticalScroll(16, WIM_FilteringScrollBar_Update); |
||
2469 | </OnVerticalScroll> |
||
2470 | <OnShow> |
||
2471 | WIM_FilteringScrollBar_Update(); |
||
2472 | </OnShow> |
||
2473 | </Scripts> |
||
2474 | </ScrollFrame> |
||
2475 | <Button name="$parentButton1" inherits="WIM_FilterButtonTemplate"> |
||
2476 | <Anchors> |
||
2477 | <Anchor point="TOPLEFT" relativeTo="$parentScrollBar" relativePoint="TOPLEFT"> |
||
2478 | <Offset> |
||
2479 | <AbsDimension x="0" y="0" /> |
||
2480 | </Offset> |
||
2481 | </Anchor> |
||
2482 | </Anchors> |
||
2483 | </Button> |
||
2484 | <Button name="$parentButton2" inherits="WIM_FilterButtonTemplate"> |
||
2485 | <Anchors> |
||
2486 | <Anchor point="TOPLEFT" relativeTo="$parentButton1" relativePoint="BOTTOMLEFT"> |
||
2487 | <Offset> |
||
2488 | <AbsDimension x="0" y="0" /> |
||
2489 | </Offset> |
||
2490 | </Anchor> |
||
2491 | </Anchors> |
||
2492 | </Button> |
||
2493 | <Button name="$parentButton3" inherits="WIM_FilterButtonTemplate"> |
||
2494 | <Anchors> |
||
2495 | <Anchor point="TOPLEFT" relativeTo="$parentButton2" relativePoint="BOTTOMLEFT"> |
||
2496 | <Offset> |
||
2497 | <AbsDimension x="0" y="0" /> |
||
2498 | </Offset> |
||
2499 | </Anchor> |
||
2500 | </Anchors> |
||
2501 | </Button> |
||
2502 | <Button name="$parentButton4" inherits="WIM_FilterButtonTemplate"> |
||
2503 | <Anchors> |
||
2504 | <Anchor point="TOPLEFT" relativeTo="$parentButton3" relativePoint="BOTTOMLEFT"> |
||
2505 | <Offset> |
||
2506 | <AbsDimension x="0" y="0" /> |
||
2507 | </Offset> |
||
2508 | </Anchor> |
||
2509 | </Anchors> |
||
2510 | </Button> |
||
2511 | <Button name="$parentButton5" inherits="WIM_FilterButtonTemplate"> |
||
2512 | <Anchors> |
||
2513 | <Anchor point="TOPLEFT" relativeTo="$parentButton4" relativePoint="BOTTOMLEFT"> |
||
2514 | <Offset> |
||
2515 | <AbsDimension x="0" y="0" /> |
||
2516 | </Offset> |
||
2517 | </Anchor> |
||
2518 | </Anchors> |
||
2519 | </Button> |
||
2520 | <Button name="$parentAdd" inherits="UIPanelButtonTemplate" text="Add"> |
||
2521 | <Size> |
||
2522 | <AbsDimension x="85" y="22"/> |
||
2523 | </Size> |
||
2524 | <Anchors> |
||
2525 | <Anchor point="BOTTOMLEFT"> |
||
2526 | <Offset> |
||
2527 | <AbsDimension x="0" y="-20"/> |
||
2528 | </Offset> |
||
2529 | </Anchor> |
||
2530 | </Anchors> |
||
2531 | <Scripts> |
||
2532 | <OnClick> |
||
2533 | PlaySound("igMainMenuClose"); |
||
2534 | WIM_Options_FilterWindowTitleString:SetText("Add New Filter"); |
||
2535 | WIM_Options_FilterWindow_Name:SetText(""); |
||
2536 | WIM_Options_FilterWindow.prevName = ""; |
||
2537 | WIM_Options_FilterWindow.theMode = "add"; |
||
2538 | WIM_Options_FilterWindow_ActionIgnore:SetChecked(true); |
||
2539 | WIM_Options_FilterWindow:Show(); |
||
2540 | WIM_Options_FilterWindow_Name:SetFocus(); |
||
2541 | </OnClick> |
||
2542 | </Scripts> |
||
2543 | </Button> |
||
2544 | <Button name="$parentRemove" inherits="UIPanelButtonTemplate" text="Remove"> |
||
2545 | <Size> |
||
2546 | <AbsDimension x="85" y="22"/> |
||
2547 | </Size> |
||
2548 | <Anchors> |
||
2549 | <Anchor point="BOTTOMLEFT"> |
||
2550 | <Offset> |
||
2551 | <AbsDimension x="90" y="-20"/> |
||
2552 | </Offset> |
||
2553 | </Anchor> |
||
2554 | </Anchors> |
||
2555 | <Scripts> |
||
2556 | <OnClick> |
||
2557 | PlaySound("igMainMenuClose"); |
||
2558 | if(WIM_Filter_Selected ~= "") then |
||
2559 | WIM_Filters[WIM_Filter_Selected] = nil; |
||
2560 | WIM_Filter_Selected = ""; |
||
2561 | WIM_FilteringScrollBar_Update(); |
||
2562 | end |
||
2563 | </OnClick> |
||
2564 | </Scripts> |
||
2565 | </Button> |
||
2566 | <Button name="$parentEdit" inherits="UIPanelButtonTemplate" text="Edit"> |
||
2567 | <Size> |
||
2568 | <AbsDimension x="85" y="22"/> |
||
2569 | </Size> |
||
2570 | <Anchors> |
||
2571 | <Anchor point="BOTTOMRIGHT"> |
||
2572 | <Offset> |
||
2573 | <AbsDimension x="0" y="-20"/> |
||
2574 | </Offset> |
||
2575 | </Anchor> |
||
2576 | </Anchors> |
||
2577 | <Scripts> |
||
2578 | <OnClick> |
||
2579 | PlaySound("igMainMenuClose"); |
||
2580 | if(WIM_Filter_Selected ~= "") then |
||
2581 | WIM_Options_FilterWindowTitleString:SetText("Edit Filter"); |
||
2582 | WIM_Options_FilterWindow.theMode = "edit"; |
||
2583 | WIM_Options_FilterWindow.prevName = WIM_Filter_Selected; |
||
2584 | WIM_Options_FilterWindow_Name:SetText(WIM_Filter_Selected); |
||
2585 | if(WIM_Filters[WIM_Filter_Selected] == "Ignore") then |
||
2586 | WIM_Options_FilterWindow_ActionIgnore:SetChecked(true); |
||
2587 | else |
||
2588 | WIM_Options_FilterWindow_ActionBlock:SetChecked(true); |
||
2589 | end |
||
2590 | WIM_Options_FilterWindow:Show(); |
||
2591 | end |
||
2592 | </OnClick> |
||
2593 | </Scripts> |
||
2594 | </Button> |
||
2595 | |||
2596 | |||
2597 | |||
2598 | </Frames> |
||
2599 | </Frame> |
||
2600 | </Frames> |
||
2601 | </Frame> |
||
2602 | <!-- End Filtering Frame --> |
||
2603 | </Frames> |
||
2604 | </Frame> |
||
2605 | <!-- End Filter Frame --> |
||
2606 | <!-- History Frame --> |
||
2607 | <Frame name="$parentHistory" hidden="true"> |
||
2608 | <Size> |
||
2609 | <AbsDimension x="350" y="200" /> |
||
2610 | </Size> |
||
2611 | <Anchors> |
||
2612 | <Anchor point="TOPLEFT"> |
||
2613 | <Offset> |
||
2614 | <AbsDimension x="10" y="10" /> |
||
2615 | </Offset> |
||
2616 | </Anchor> |
||
2617 | </Anchors> |
||
2618 | <Frames> |
||
2619 | <!-- History Options --> |
||
2620 | <CheckButton name="$parentEnabled"> |
||
2621 | <Size> |
||
2622 | <AbsDimension x="25" y="25" /> |
||
2623 | </Size> |
||
2624 | <Anchors> |
||
2625 | <Anchor point="TOPLEFT"> |
||
2626 | <Offset> |
||
2627 | <AbsDimension x="10" y="-25" /> |
||
2628 | </Offset> |
||
2629 | </Anchor> |
||
2630 | </Anchors> |
||
2631 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
2632 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
2633 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
2634 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
2635 | <Layers> |
||
2636 | <Layer level="OVERLAY"> |
||
2637 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Enable History"> |
||
2638 | <Anchors> |
||
2639 | <Anchor point="LEFT"> |
||
2640 | <Offset> |
||
2641 | <AbsDimension x="30" y="1" /> |
||
2642 | </Offset> |
||
2643 | </Anchor> |
||
2644 | </Anchors> |
||
2645 | <FontHeight> |
||
2646 | <AbsValue val="12" /> |
||
2647 | </FontHeight> |
||
2648 | <Color r="1" g="0.8196079" b="0" /> |
||
2649 | <Shadow> |
||
2650 | <Color r="0" g="0" b="0" /> |
||
2651 | <Offset> |
||
2652 | <AbsDimension x="1" y="-1" /> |
||
2653 | </Offset> |
||
2654 | </Shadow> |
||
2655 | </FontString> |
||
2656 | </Layer> |
||
2657 | </Layers> |
||
2658 | <Scripts> |
||
2659 | <OnClick> |
||
2660 | if ( this:GetChecked() ) then |
||
2661 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
2662 | else |
||
2663 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
2664 | end |
||
2665 | WIM_Options_HistoryEnabledClicked(); |
||
2666 | </OnClick> |
||
2667 | </Scripts> |
||
2668 | </CheckButton> |
||
2669 | <CheckButton name="$parentRecordEveryone"> |
||
2670 | <Size> |
||
2671 | <AbsDimension x="25" y="25" /> |
||
2672 | </Size> |
||
2673 | <Anchors> |
||
2674 | <Anchor point="TOPLEFT" relativeTo="$parentEnabled" relativePoint="BOTTOMLEFT"> |
||
2675 | <Offset> |
||
2676 | <AbsDimension x="0" y="-10" /> |
||
2677 | </Offset> |
||
2678 | </Anchor> |
||
2679 | </Anchors> |
||
2680 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
2681 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
2682 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
2683 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
2684 | <Layers> |
||
2685 | <Layer level="OVERLAY"> |
||
2686 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Record Everyone"> |
||
2687 | <Anchors> |
||
2688 | <Anchor point="LEFT"> |
||
2689 | <Offset> |
||
2690 | <AbsDimension x="30" y="1" /> |
||
2691 | </Offset> |
||
2692 | </Anchor> |
||
2693 | </Anchors> |
||
2694 | <FontHeight> |
||
2695 | <AbsValue val="12" /> |
||
2696 | </FontHeight> |
||
2697 | <Color r="1" g="0.8196079" b="0" /> |
||
2698 | <Shadow> |
||
2699 | <Color r="0" g="0" b="0" /> |
||
2700 | <Offset> |
||
2701 | <AbsDimension x="1" y="-1" /> |
||
2702 | </Offset> |
||
2703 | </Shadow> |
||
2704 | </FontString> |
||
2705 | </Layer> |
||
2706 | </Layers> |
||
2707 | <Scripts> |
||
2708 | <OnClick> |
||
2709 | if ( this:GetChecked() ) then |
||
2710 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
2711 | else |
||
2712 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
2713 | end |
||
2714 | WIM_Options_HistoryRecordEveryoneClicked(); |
||
2715 | </OnClick> |
||
2716 | </Scripts> |
||
2717 | </CheckButton> |
||
2718 | <CheckButton name="$parentRecordFriends"> |
||
2719 | <Size> |
||
2720 | <AbsDimension x="25" y="25" /> |
||
2721 | </Size> |
||
2722 | <Anchors> |
||
2723 | <Anchor point="TOPLEFT" relativeTo="$parentRecordEveryone" relativePoint="BOTTOMLEFT"> |
||
2724 | <Offset> |
||
2725 | <AbsDimension x="25" y="0" /> |
||
2726 | </Offset> |
||
2727 | </Anchor> |
||
2728 | </Anchors> |
||
2729 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
2730 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
2731 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
2732 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
2733 | <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" /> |
||
2734 | <Layers> |
||
2735 | <Layer level="OVERLAY"> |
||
2736 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Record Friends"> |
||
2737 | <Anchors> |
||
2738 | <Anchor point="LEFT"> |
||
2739 | <Offset> |
||
2740 | <AbsDimension x="30" y="1" /> |
||
2741 | </Offset> |
||
2742 | </Anchor> |
||
2743 | </Anchors> |
||
2744 | <FontHeight> |
||
2745 | <AbsValue val="12" /> |
||
2746 | </FontHeight> |
||
2747 | <Color r="1" g="0.8196079" b="0" /> |
||
2748 | <Shadow> |
||
2749 | <Color r="0" g="0" b="0" /> |
||
2750 | <Offset> |
||
2751 | <AbsDimension x="1" y="-1" /> |
||
2752 | </Offset> |
||
2753 | </Shadow> |
||
2754 | </FontString> |
||
2755 | </Layer> |
||
2756 | </Layers> |
||
2757 | <Scripts> |
||
2758 | <OnClick> |
||
2759 | if ( this:GetChecked() ) then |
||
2760 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
2761 | else |
||
2762 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
2763 | end |
||
2764 | WIM_Options_HistoryRecordFriendsClicked(); |
||
2765 | </OnClick> |
||
2766 | </Scripts> |
||
2767 | </CheckButton> |
||
2768 | <CheckButton name="$parentRecordGuild"> |
||
2769 | <Size> |
||
2770 | <AbsDimension x="25" y="25" /> |
||
2771 | </Size> |
||
2772 | <Anchors> |
||
2773 | <Anchor point="TOPLEFT" relativeTo="$parentRecordFriends" relativePoint="BOTTOMLEFT"> |
||
2774 | <Offset> |
||
2775 | <AbsDimension x="0" y="0" /> |
||
2776 | </Offset> |
||
2777 | </Anchor> |
||
2778 | </Anchors> |
||
2779 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
2780 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
2781 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
2782 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
2783 | <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" /> |
||
2784 | <Layers> |
||
2785 | <Layer level="OVERLAY"> |
||
2786 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Record Guild"> |
||
2787 | <Anchors> |
||
2788 | <Anchor point="LEFT"> |
||
2789 | <Offset> |
||
2790 | <AbsDimension x="30" y="1" /> |
||
2791 | </Offset> |
||
2792 | </Anchor> |
||
2793 | </Anchors> |
||
2794 | <FontHeight> |
||
2795 | <AbsValue val="12" /> |
||
2796 | </FontHeight> |
||
2797 | <Color r="1" g="0.8196079" b="0" /> |
||
2798 | <Shadow> |
||
2799 | <Color r="0" g="0" b="0" /> |
||
2800 | <Offset> |
||
2801 | <AbsDimension x="1" y="-1" /> |
||
2802 | </Offset> |
||
2803 | </Shadow> |
||
2804 | </FontString> |
||
2805 | </Layer> |
||
2806 | </Layers> |
||
2807 | <Scripts> |
||
2808 | <OnClick> |
||
2809 | if ( this:GetChecked() ) then |
||
2810 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
2811 | else |
||
2812 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
2813 | end |
||
2814 | WIM_Options_HistoryRecordGuildClicked(); |
||
2815 | </OnClick> |
||
2816 | </Scripts> |
||
2817 | </CheckButton> |
||
2818 | <Frame name="$parentColorIn" inherits="WIM_Options_PickColorTemplate"> |
||
2819 | <Anchors> |
||
2820 | <Anchor point="TOPLEFT" relativeTo="$parentRecordEveryone" relativePoint="TOPLEFT"> |
||
2821 | <Offset> |
||
2822 | <AbsDimension x="180" y="-3" /> |
||
2823 | </Offset> |
||
2824 | </Anchor> |
||
2825 | </Anchors> |
||
2826 | <Layers> |
||
2827 | <Layer level="OVERLAY"> |
||
2828 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Incoming messages"> |
||
2829 | <Anchors> |
||
2830 | <Anchor point="LEFT"> |
||
2831 | <Offset> |
||
2832 | <AbsDimension x="30" y="1" /> |
||
2833 | </Offset> |
||
2834 | </Anchor> |
||
2835 | </Anchors> |
||
2836 | <FontHeight> |
||
2837 | <AbsValue val="12" /> |
||
2838 | </FontHeight> |
||
2839 | <Color r="1" g="0.8196079" b="0" /> |
||
2840 | <Shadow> |
||
2841 | <Color r="0" g="0" b="0" /> |
||
2842 | <Offset> |
||
2843 | <AbsDimension x="1" y="-1" /> |
||
2844 | </Offset> |
||
2845 | </Shadow> |
||
2846 | </FontString> |
||
2847 | </Layer> |
||
2848 | </Layers> |
||
2849 | </Frame> |
||
2850 | <Frame name="$parentColorOut" inherits="WIM_Options_PickColorTemplate"> |
||
2851 | <Anchors> |
||
2852 | <Anchor point="TOPLEFT" relativeTo="$parentColorIn" relativePoint="BOTTOMLEFT"> |
||
2853 | <Offset> |
||
2854 | <AbsDimension x="0" y="-5" /> |
||
2855 | </Offset> |
||
2856 | </Anchor> |
||
2857 | </Anchors> |
||
2858 | <Layers> |
||
2859 | <Layer level="OVERLAY"> |
||
2860 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Outgoing messages"> |
||
2861 | <Anchors> |
||
2862 | <Anchor point="LEFT"> |
||
2863 | <Offset> |
||
2864 | <AbsDimension x="30" y="1" /> |
||
2865 | </Offset> |
||
2866 | </Anchor> |
||
2867 | </Anchors> |
||
2868 | <FontHeight> |
||
2869 | <AbsValue val="12" /> |
||
2870 | </FontHeight> |
||
2871 | <Color r="1" g="0.8196079" b="0" /> |
||
2872 | <Shadow> |
||
2873 | <Color r="0" g="0" b="0" /> |
||
2874 | <Offset> |
||
2875 | <AbsDimension x="1" y="-1" /> |
||
2876 | </Offset> |
||
2877 | </Shadow> |
||
2878 | </FontString> |
||
2879 | </Layer> |
||
2880 | </Layers> |
||
2881 | </Frame> |
||
2882 | <CheckButton name="$parentShowInMessage"> |
||
2883 | <Size> |
||
2884 | <AbsDimension x="25" y="25" /> |
||
2885 | </Size> |
||
2886 | <Anchors> |
||
2887 | <Anchor point="TOPLEFT" relativeTo="$parentRecordEveryone" relativePoint="BOTTOMLEFT"> |
||
2888 | <Offset> |
||
2889 | <AbsDimension x="0" y="-50" /> |
||
2890 | </Offset> |
||
2891 | </Anchor> |
||
2892 | </Anchors> |
||
2893 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
2894 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
2895 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
2896 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
2897 | <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" /> |
||
2898 | <Layers> |
||
2899 | <Layer level="OVERLAY"> |
||
2900 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Show history in message:"> |
||
2901 | <Anchors> |
||
2902 | <Anchor point="LEFT"> |
||
2903 | <Offset> |
||
2904 | <AbsDimension x="30" y="1" /> |
||
2905 | </Offset> |
||
2906 | </Anchor> |
||
2907 | </Anchors> |
||
2908 | <FontHeight> |
||
2909 | <AbsValue val="12" /> |
||
2910 | </FontHeight> |
||
2911 | <Color r="1" g="0.8196079" b="0" /> |
||
2912 | <Shadow> |
||
2913 | <Color r="0" g="0" b="0" /> |
||
2914 | <Offset> |
||
2915 | <AbsDimension x="1" y="-1" /> |
||
2916 | </Offset> |
||
2917 | </Shadow> |
||
2918 | </FontString> |
||
2919 | </Layer> |
||
2920 | </Layers> |
||
2921 | <Scripts> |
||
2922 | <OnClick> |
||
2923 | if ( this:GetChecked() ) then |
||
2924 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
2925 | else |
||
2926 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
2927 | end |
||
2928 | WIM_Options_HistoryShowInMessageClicked(); |
||
2929 | </OnClick> |
||
2930 | </Scripts> |
||
2931 | </CheckButton> |
||
2932 | <CheckButton name="$parentSetMaxToStore"> |
||
2933 | <Size> |
||
2934 | <AbsDimension x="25" y="25" /> |
||
2935 | </Size> |
||
2936 | <Anchors> |
||
2937 | <Anchor point="TOPLEFT" relativeTo="$parentShowInMessage" relativePoint="BOTTOMLEFT"> |
||
2938 | <Offset> |
||
2939 | <AbsDimension x="0" y="-5" /> |
||
2940 | </Offset> |
||
2941 | </Anchor> |
||
2942 | </Anchors> |
||
2943 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
2944 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
2945 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
2946 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
2947 | <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" /> |
||
2948 | <Layers> |
||
2949 | <Layer level="OVERLAY"> |
||
2950 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Set maximum messages per user:"> |
||
2951 | <Anchors> |
||
2952 | <Anchor point="LEFT"> |
||
2953 | <Offset> |
||
2954 | <AbsDimension x="30" y="1" /> |
||
2955 | </Offset> |
||
2956 | </Anchor> |
||
2957 | </Anchors> |
||
2958 | <FontHeight> |
||
2959 | <AbsValue val="12" /> |
||
2960 | </FontHeight> |
||
2961 | <Color r="1" g="0.8196079" b="0" /> |
||
2962 | <Shadow> |
||
2963 | <Color r="0" g="0" b="0" /> |
||
2964 | <Offset> |
||
2965 | <AbsDimension x="1" y="-1" /> |
||
2966 | </Offset> |
||
2967 | </Shadow> |
||
2968 | </FontString> |
||
2969 | </Layer> |
||
2970 | </Layers> |
||
2971 | <Scripts> |
||
2972 | <OnClick> |
||
2973 | if ( this:GetChecked() ) then |
||
2974 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
2975 | else |
||
2976 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
2977 | end |
||
2978 | WIM_Options_HistorySetMaxToStoreClicked(); |
||
2979 | </OnClick> |
||
2980 | </Scripts> |
||
2981 | </CheckButton> |
||
2982 | <CheckButton name="$parentSetAutoDelete"> |
||
2983 | <Size> |
||
2984 | <AbsDimension x="25" y="25" /> |
||
2985 | </Size> |
||
2986 | <Anchors> |
||
2987 | <Anchor point="TOPLEFT" relativeTo="$parentSetMaxToStore" relativePoint="BOTTOMLEFT"> |
||
2988 | <Offset> |
||
2989 | <AbsDimension x="0" y="-5" /> |
||
2990 | </Offset> |
||
2991 | </Anchor> |
||
2992 | </Anchors> |
||
2993 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
2994 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
2995 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
2996 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
2997 | <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" /> |
||
2998 | <Layers> |
||
2999 | <Layer level="OVERLAY"> |
||
3000 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Delete messages older than a:"> |
||
3001 | <Anchors> |
||
3002 | <Anchor point="LEFT"> |
||
3003 | <Offset> |
||
3004 | <AbsDimension x="30" y="1" /> |
||
3005 | </Offset> |
||
3006 | </Anchor> |
||
3007 | </Anchors> |
||
3008 | <FontHeight> |
||
3009 | <AbsValue val="12" /> |
||
3010 | </FontHeight> |
||
3011 | <Color r="1" g="0.8196079" b="0" /> |
||
3012 | <Shadow> |
||
3013 | <Color r="0" g="0" b="0" /> |
||
3014 | <Offset> |
||
3015 | <AbsDimension x="1" y="-1" /> |
||
3016 | </Offset> |
||
3017 | </Shadow> |
||
3018 | </FontString> |
||
3019 | </Layer> |
||
3020 | </Layers> |
||
3021 | <Scripts> |
||
3022 | <OnClick> |
||
3023 | if ( this:GetChecked() ) then |
||
3024 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
3025 | else |
||
3026 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
3027 | end |
||
3028 | WIM_Options_HistorySetAutoDeleteClicked(); |
||
3029 | </OnClick> |
||
3030 | </Scripts> |
||
3031 | </CheckButton> |
||
3032 | <Frame name="$parentMessageCount" inherits="UIDropDownMenuTemplate" enableMouse="true"> |
||
3033 | <Anchors> |
||
3034 | <Anchor point="TOPRIGHT" relativeTo="$parentShowInMessage" relativePoint="TOPLEFT"> |
||
3035 | <Offset> |
||
3036 | <AbsDimension x="300" y="2"/> |
||
3037 | </Offset> |
||
3038 | </Anchor> |
||
3039 | </Anchors> |
||
3040 | <Scripts> |
||
3041 | <!-- Ensure that the correct information is displayed |
||
3042 | Also setup the different options and function for selecting options--> |
||
3043 | <OnShow> |
||
3044 | WIM_Options_HistoryMessageCount_OnShow(); |
||
3045 | </OnShow> |
||
3046 | <OnEnter> |
||
3047 | --GameTooltip:SetOwner(this, "ANCHOR_TOPRIGHT"); |
||
3048 | --GameTooltip:SetText(this.tooltip, nil, nil, nil, nil, 1); |
||
3049 | </OnEnter> |
||
3050 | <OnLeave> |
||
3051 | GameTooltip:Hide(); |
||
3052 | </OnLeave> |
||
3053 | </Scripts> |
||
3054 | </Frame> |
||
3055 | <Frame name="$parentMaxCount" inherits="UIDropDownMenuTemplate" enableMouse="true"> |
||
3056 | <Anchors> |
||
3057 | <Anchor point="TOPRIGHT" relativeTo="$parentSetMaxToStore" relativePoint="TOPLEFT"> |
||
3058 | <Offset> |
||
3059 | <AbsDimension x="350" y="2"/> |
||
3060 | </Offset> |
||
3061 | </Anchor> |
||
3062 | </Anchors> |
||
3063 | <Scripts> |
||
3064 | <!-- Ensure that the correct information is displayed |
||
3065 | Also setup the different options and function for selecting options--> |
||
3066 | <OnShow> |
||
3067 | WIM_Options_HistoryMaxCount_OnShow(); |
||
3068 | </OnShow> |
||
3069 | <OnEnter> |
||
3070 | --GameTooltip:SetOwner(this, "ANCHOR_TOPRIGHT"); |
||
3071 | --GameTooltip:SetText(this.tooltip, nil, nil, nil, nil, 1); |
||
3072 | </OnEnter> |
||
3073 | <OnLeave> |
||
3074 | GameTooltip:Hide(); |
||
3075 | </OnLeave> |
||
3076 | </Scripts> |
||
3077 | </Frame> |
||
3078 | <Frame name="$parentAutoDeleteTime" inherits="UIDropDownMenuTemplate" enableMouse="true"> |
||
3079 | <Anchors> |
||
3080 | <Anchor point="TOPRIGHT" relativeTo="$parentSetAutoDelete" relativePoint="TOPLEFT"> |
||
3081 | <Offset> |
||
3082 | <AbsDimension x="342" y="2"/> |
||
3083 | </Offset> |
||
3084 | </Anchor> |
||
3085 | </Anchors> |
||
3086 | <Scripts> |
||
3087 | <!-- Ensure that the correct information is displayed |
||
3088 | Also setup the different options and function for selecting options--> |
||
3089 | <OnShow> |
||
3090 | WIM_Options_HistoryAutoDeleteTime_OnShow(); |
||
3091 | </OnShow> |
||
3092 | <OnEnter> |
||
3093 | --GameTooltip:SetOwner(this, "ANCHOR_TOPRIGHT"); |
||
3094 | --GameTooltip:SetText(this.tooltip, nil, nil, nil, nil, 1); |
||
3095 | </OnEnter> |
||
3096 | <OnLeave> |
||
3097 | GameTooltip:Hide(); |
||
3098 | </OnLeave> |
||
3099 | </Scripts> |
||
3100 | </Frame> |
||
3101 | <Button name="$parentColumnHeader1" inherits="WhoFrameColumnHeaderTemplate" text="Recorded Users"> |
||
3102 | <Anchors> |
||
3103 | <Anchor point="TOPLEFT"> |
||
3104 | <Offset> |
||
3105 | <AbsDimension x="10" y="-235"/> |
||
3106 | </Offset> |
||
3107 | </Anchor> |
||
3108 | </Anchors> |
||
3109 | <Scripts> |
||
3110 | <OnLoad> |
||
3111 | WhoFrameColumn_SetWidth(200); |
||
3112 | this.sortType = "name"; |
||
3113 | </OnLoad> |
||
3114 | <OnClick> |
||
3115 | |||
3116 | </OnClick> |
||
3117 | </Scripts> |
||
3118 | </Button> |
||
3119 | <Button name="$parentColumnHeader2" inherits="WhoFrameColumnHeaderTemplate" text="Saved Messages"> |
||
3120 | <Anchors> |
||
3121 | <Anchor point="TOPLEFT" relativeTo="$parentColumnHeader1" relativePoint="TOPRIGHT"> |
||
3122 | <Offset> |
||
3123 | <AbsDimension x="0" y="0"/> |
||
3124 | </Offset> |
||
3125 | </Anchor> |
||
3126 | </Anchors> |
||
3127 | <Scripts> |
||
3128 | <OnLoad> |
||
3129 | WhoFrameColumn_SetWidth(110); |
||
3130 | this.sortType = "messages"; |
||
3131 | </OnLoad> |
||
3132 | <OnClick> |
||
3133 | |||
3134 | </OnClick> |
||
3135 | </Scripts> |
||
3136 | </Button> |
||
3137 | <Frame name="$parentPanel" inherits="WIM_Options_PanelTemplate"> |
||
3138 | <Size> |
||
3139 | <AbsDimension x="340" y="100" /> |
||
3140 | </Size> |
||
3141 | <Anchors> |
||
3142 | <Anchor point="TOPLEFT" relativeTo="$parentColumnHeader1" relativePoint="BOTTOMLEFT"> |
||
3143 | <Offset> |
||
3144 | <AbsDimension x="-2" y="4" /> |
||
3145 | </Offset> |
||
3146 | </Anchor> |
||
3147 | </Anchors> |
||
3148 | <Frames> |
||
3149 | <ScrollFrame name="$parentScrollBar" inherits="FauxScrollFrameTemplate"> |
||
3150 | <Anchors> |
||
3151 | <Anchor point="TOPLEFT"> |
||
3152 | <Offset> |
||
3153 | <AbsDimension x="0" y="-8"/> |
||
3154 | </Offset> |
||
3155 | </Anchor> |
||
3156 | <Anchor point="BOTTOMRIGHT"> |
||
3157 | <Offset> |
||
3158 | <AbsDimension x="-30" y="8"/> |
||
3159 | </Offset> |
||
3160 | </Anchor> |
||
3161 | </Anchors> |
||
3162 | <Scripts> |
||
3163 | <OnVerticalScroll> |
||
3164 | FauxScrollFrame_OnVerticalScroll(16, WIM_HistoryScrollBar_Update); |
||
3165 | </OnVerticalScroll> |
||
3166 | <OnShow> |
||
3167 | WIM_HistoryScrollBar_Update(); |
||
3168 | </OnShow> |
||
3169 | </Scripts> |
||
3170 | </ScrollFrame> |
||
3171 | <Button name="$parentButton1" inherits="WIM_HistoryButtonTemplate"> |
||
3172 | <Anchors> |
||
3173 | <Anchor point="TOPLEFT" relativeTo="$parentScrollBar" relativePoint="TOPLEFT"> |
||
3174 | <Offset> |
||
3175 | <AbsDimension x="0" y="0" /> |
||
3176 | </Offset> |
||
3177 | </Anchor> |
||
3178 | </Anchors> |
||
3179 | </Button> |
||
3180 | <Button name="$parentButton2" inherits="WIM_HistoryButtonTemplate"> |
||
3181 | <Anchors> |
||
3182 | <Anchor point="TOPLEFT" relativeTo="$parentButton1" relativePoint="BOTTOMLEFT"> |
||
3183 | <Offset> |
||
3184 | <AbsDimension x="0" y="0" /> |
||
3185 | </Offset> |
||
3186 | </Anchor> |
||
3187 | </Anchors> |
||
3188 | </Button> |
||
3189 | <Button name="$parentButton3" inherits="WIM_HistoryButtonTemplate"> |
||
3190 | <Anchors> |
||
3191 | <Anchor point="TOPLEFT" relativeTo="$parentButton2" relativePoint="BOTTOMLEFT"> |
||
3192 | <Offset> |
||
3193 | <AbsDimension x="0" y="0" /> |
||
3194 | </Offset> |
||
3195 | </Anchor> |
||
3196 | </Anchors> |
||
3197 | </Button> |
||
3198 | <Button name="$parentButton4" inherits="WIM_HistoryButtonTemplate"> |
||
3199 | <Anchors> |
||
3200 | <Anchor point="TOPLEFT" relativeTo="$parentButton3" relativePoint="BOTTOMLEFT"> |
||
3201 | <Offset> |
||
3202 | <AbsDimension x="0" y="0" /> |
||
3203 | </Offset> |
||
3204 | </Anchor> |
||
3205 | </Anchors> |
||
3206 | </Button> |
||
3207 | <Button name="$parentButton5" inherits="WIM_HistoryButtonTemplate"> |
||
3208 | <Anchors> |
||
3209 | <Anchor point="TOPLEFT" relativeTo="$parentButton4" relativePoint="BOTTOMLEFT"> |
||
3210 | <Offset> |
||
3211 | <AbsDimension x="0" y="0" /> |
||
3212 | </Offset> |
||
3213 | </Anchor> |
||
3214 | </Anchors> |
||
3215 | </Button> |
||
3216 | <Button name="$parentDeleteUser" inherits="UIPanelButtonTemplate" text="Delete User"> |
||
3217 | <Size> |
||
3218 | <AbsDimension x="90" y="22"/> |
||
3219 | </Size> |
||
3220 | <Anchors> |
||
3221 | <Anchor point="BOTTOMLEFT"> |
||
3222 | <Offset> |
||
3223 | <AbsDimension x="0" y="-20"/> |
||
3224 | </Offset> |
||
3225 | </Anchor> |
||
3226 | </Anchors> |
||
3227 | <Scripts> |
||
3228 | <OnClick> |
||
3229 | PlaySound("igMainMenuClose"); |
||
3230 | if(WIM_History_Selected ~= "") then |
||
3231 | WIM_History[WIM_History_Selected] = nil; |
||
3232 | WIM_History_Selected = ""; |
||
3233 | WIM_HistoryScrollBar_Update(); |
||
3234 | end |
||
3235 | </OnClick> |
||
3236 | </Scripts> |
||
3237 | </Button> |
||
3238 | <Button name="$parentViewHistory" inherits="UIPanelButtonTemplate" text="View History"> |
||
3239 | <Size> |
||
3240 | <AbsDimension x="100" y="22"/> |
||
3241 | </Size> |
||
3242 | <Anchors> |
||
3243 | <Anchor point="BOTTOMRIGHT"> |
||
3244 | <Offset> |
||
3245 | <AbsDimension x="0" y="-20"/> |
||
3246 | </Offset> |
||
3247 | </Anchor> |
||
3248 | </Anchors> |
||
3249 | <Scripts> |
||
3250 | <OnClick> |
||
3251 | PlaySound("igMainMenuClose"); |
||
3252 | WIM_HistoryView_Name_Selected = WIM_History_Selected; |
||
3253 | WIM_HistoryView_Filter_Selected = ""; |
||
3254 | if(WIM_HistoryFrame:IsVisible()) then |
||
3255 | WIM_HistoryViewNameScrollBar_Update(); |
||
3256 | WIM_HistoryViewFiltersScrollBar_Update(); |
||
3257 | else |
||
3258 | WIM_HistoryFrame:Show(); |
||
3259 | end |
||
3260 | </OnClick> |
||
3261 | </Scripts> |
||
3262 | </Button> |
||
3263 | </Frames> |
||
3264 | </Frame> |
||
3265 | |||
3266 | |||
3267 | |||
3268 | |||
3269 | |||
3270 | |||
3271 | |||
3272 | |||
3273 | |||
3274 | |||
3275 | |||
3276 | |||
3277 | |||
3278 | |||
3279 | |||
3280 | |||
3281 | |||
3282 | |||
3283 | |||
3284 | <!-- End History Options --> |
||
3285 | </Frames> |
||
3286 | </Frame> |
||
3287 | <!-- End History Frame --> |
||
3288 | </Frames> |
||
3289 | <!-- End Whisper Frame --> |
||
3290 | </Frame> |
||
3291 | <!-- End Tabbed Frame --> |
||
3292 | |||
3293 | |||
3294 | |||
3295 | |||
3296 | |||
3297 | <Button name="$parentExitButton"> |
||
3298 | <Size> |
||
3299 | <AbsDimension x="32" y="32"/> |
||
3300 | </Size> |
||
3301 | <Anchors> |
||
3302 | <Anchor point="TOPRIGHT"> |
||
3303 | <Offset> |
||
3304 | <AbsDimension x="-10" y="-10"/> |
||
3305 | </Offset> |
||
3306 | </Anchor> |
||
3307 | </Anchors> |
||
3308 | <NormalTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Up"/> |
||
3309 | <PushedTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Down"/> |
||
3310 | <HighlightTexture alphaMode="ADD" file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight"/> |
||
3311 | <Scripts> |
||
3312 | <OnLoad> |
||
3313 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
3314 | </OnLoad> |
||
3315 | <OnClick> |
||
3316 | this:GetParent():Hide(); |
||
3317 | </OnClick> |
||
3318 | </Scripts> |
||
3319 | </Button> |
||
3320 | |||
3321 | </Frames> |
||
3322 | <Scripts> |
||
3323 | <OnLoad> |
||
3324 | tinsert(UISpecialFrames,this:GetName()); |
||
3325 | this:RegisterForDrag("LeftButton"); |
||
3326 | </OnLoad> |
||
3327 | <OnShow> |
||
3328 | PlaySound("igMainMenuOpen"); |
||
3329 | WIM_Options_OnShow(); |
||
3330 | </OnShow> |
||
3331 | <OnHide> |
||
3332 | PlaySound("igMainMenuClose"); |
||
3333 | GameTooltip:Hide(); |
||
3334 | WIM_WindowAnchor:Hide(); |
||
3335 | </OnHide> |
||
3336 | <OnDragStart> |
||
3337 | this:StartMoving(); |
||
3338 | this.isMoving = true; |
||
3339 | </OnDragStart> |
||
3340 | <OnDragStop> |
||
3341 | this:StopMovingOrSizing(); |
||
3342 | this.isMoving = false; |
||
3343 | </OnDragStop> |
||
3344 | </Scripts> |
||
3345 | </Frame> |
||
3346 | |||
3347 | |||
3348 | <Frame name="WIM_Options_AliasWindow" movable="false" alpha="1" enableMouse="true" toplevel="true" frameStrata="TOOLTIP" parent="UIParent" hidden="true" clampedToScreen="true"> |
||
3349 | <Size> |
||
3350 | <AbsDimension x="250" y="220" /> |
||
3351 | </Size> |
||
3352 | <Anchors> |
||
3353 | <Anchor point="CENTER" relativeTo="WIM_Options"> |
||
3354 | <Offset> |
||
3355 | <AbsDimension x="0" y="0" /> |
||
3356 | </Offset> |
||
3357 | </Anchor> |
||
3358 | </Anchors> |
||
3359 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> |
||
3360 | <BackgroundInsets> |
||
3361 | <AbsInset left="11" right="12" top="12" bottom="11" /> |
||
3362 | </BackgroundInsets> |
||
3363 | <TileSize> |
||
3364 | <AbsValue val="32" /> |
||
3365 | </TileSize> |
||
3366 | <EdgeSize> |
||
3367 | <AbsValue val="32" /> |
||
3368 | </EdgeSize> |
||
3369 | </Backdrop> |
||
3370 | <Layers> |
||
3371 | <Layer> |
||
3372 | <Texture name="$parentTitleBorder" file="Interface\DialogFrame\UI-DialogBox-Header"> |
||
3373 | <Size> |
||
3374 | <AbsDimension x="160" y="32" /> |
||
3375 | </Size> |
||
3376 | <Anchors> |
||
3377 | <Anchor point="TOP"> |
||
3378 | <Offset> |
||
3379 | <AbsDimension x="0" y="5" /> |
||
3380 | </Offset> |
||
3381 | </Anchor> |
||
3382 | </Anchors> |
||
3383 | <TexCoords left="0.2" right="0.8" top="0" bottom="0.6" /> |
||
3384 | </Texture> |
||
3385 | <FontString name="$parentTitleString" font="Fonts\FRIZQT__.TTF" text="Add New Alias"> |
||
3386 | <Size> |
||
3387 | <AbsDimension x="140" y="0" /> |
||
3388 | </Size> |
||
3389 | <Anchors> |
||
3390 | <Anchor point="TOP"> |
||
3391 | <Offset> |
||
3392 | <AbsDimension x="0" y="-4" /> |
||
3393 | </Offset> |
||
3394 | </Anchor> |
||
3395 | </Anchors> |
||
3396 | <FontHeight> |
||
3397 | <AbsValue val="12" /> |
||
3398 | </FontHeight> |
||
3399 | <Color r="1" g="0.8196079" b="0" /> |
||
3400 | <Shadow> |
||
3401 | <Color r="0" g="0" b="0" /> |
||
3402 | <Offset> |
||
3403 | <AbsDimension x="1" y="-1" /> |
||
3404 | </Offset> |
||
3405 | </Shadow> |
||
3406 | </FontString> |
||
3407 | </Layer> |
||
3408 | </Layers> |
||
3409 | <Frames> |
||
3410 | <Frame name="$parentPanel1" inherits="WIM_Options_PanelTemplate"> |
||
3411 | <Size> |
||
3412 | <AbsDimension x="200" y="40" /> |
||
3413 | </Size> |
||
3414 | <Anchors> |
||
3415 | <Anchor point="TOP"> |
||
3416 | <Offset> |
||
3417 | <AbsDimension x="0" y="-50" /> |
||
3418 | </Offset> |
||
3419 | </Anchor> |
||
3420 | </Anchors> |
||
3421 | <Layers> |
||
3422 | <Layer level="OVERLAY"> |
||
3423 | <FontString font="Fonts\FRIZQT__.TTF" text="Character Name"> |
||
3424 | <Anchors> |
||
3425 | <Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="TOPLEFT"> |
||
3426 | <Offset> |
||
3427 | <AbsDimension x="0" y="0"/> |
||
3428 | </Offset> |
||
3429 | </Anchor> |
||
3430 | </Anchors> |
||
3431 | <FontHeight> |
||
3432 | <AbsValue val="12" /> |
||
3433 | </FontHeight> |
||
3434 | <Color r="1" g="0.8196079" b="0" /> |
||
3435 | <Shadow> |
||
3436 | <Color r="0" g="0" b="0" /> |
||
3437 | <Offset> |
||
3438 | <AbsDimension x="1" y="-1" /> |
||
3439 | </Offset> |
||
3440 | </Shadow> |
||
3441 | </FontString> |
||
3442 | </Layer> |
||
3443 | </Layers> |
||
3444 | <Frames> |
||
3445 | <EditBox name="WIM_Options_AliasWindow_Name" enableMouse="true" ignoreArrows="false" frameStrata="TOOLTIP" toplevel="true" letters="16" autoFocus="false"> |
||
3446 | <Size> |
||
3447 | <AbsDimension x="190" y="35" /> |
||
3448 | </Size> |
||
3449 | <Anchors> |
||
3450 | <Anchor point="TOPLEFT"> |
||
3451 | <Offset> |
||
3452 | <AbsDimension x="10" y="0" /> |
||
3453 | </Offset> |
||
3454 | </Anchor> |
||
3455 | </Anchors> |
||
3456 | <FontString font="Fonts\ARIALN.TTF"> |
||
3457 | <FontHeight> |
||
3458 | <AbsValue val="16" /> |
||
3459 | </FontHeight> |
||
3460 | <Color r="1" g="1" b="1" /> |
||
3461 | <Shadow> |
||
3462 | <Color r="0" g="0" b="0" /> |
||
3463 | <Offset> |
||
3464 | <AbsDimension x="1" y="-1" /> |
||
3465 | </Offset> |
||
3466 | </Shadow> |
||
3467 | </FontString> |
||
3468 | <Scripts> |
||
3469 | <OnEscapePressed> |
||
3470 | this:Hide(); |
||
3471 | this:Show(); |
||
3472 | </OnEscapePressed> |
||
3473 | </Scripts> |
||
3474 | </EditBox> |
||
3475 | </Frames> |
||
3476 | </Frame> |
||
3477 | <Frame name="$parentPanel2" inherits="WIM_Options_PanelTemplate"> |
||
3478 | <Size> |
||
3479 | <AbsDimension x="200" y="40" /> |
||
3480 | </Size> |
||
3481 | <Anchors> |
||
3482 | <Anchor point="TOPLEFT" relativeTo="$parentPanel1" relativePoint="BOTTOMLEFT"> |
||
3483 | <Offset> |
||
3484 | <AbsDimension x="0" y="-20" /> |
||
3485 | </Offset> |
||
3486 | </Anchor> |
||
3487 | </Anchors> |
||
3488 | <Layers> |
||
3489 | <Layer level="OVERLAY"> |
||
3490 | <FontString font="Fonts\FRIZQT__.TTF" text="Character Alias"> |
||
3491 | <Anchors> |
||
3492 | <Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="TOPLEFT"> |
||
3493 | <Offset> |
||
3494 | <AbsDimension x="0" y="0"/> |
||
3495 | </Offset> |
||
3496 | </Anchor> |
||
3497 | </Anchors> |
||
3498 | <FontHeight> |
||
3499 | <AbsValue val="12" /> |
||
3500 | </FontHeight> |
||
3501 | <Color r="1" g="0.8196079" b="0" /> |
||
3502 | <Shadow> |
||
3503 | <Color r="0" g="0" b="0" /> |
||
3504 | <Offset> |
||
3505 | <AbsDimension x="1" y="-1" /> |
||
3506 | </Offset> |
||
3507 | </Shadow> |
||
3508 | </FontString> |
||
3509 | <FontString name="WIM_Options_AliasWindow_Error" font="Fonts\FRIZQT__.TTF" text=""> |
||
3510 | <Anchors> |
||
3511 | <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="BOTTOMLEFT"> |
||
3512 | <Offset> |
||
3513 | <AbsDimension x="0" y="0"/> |
||
3514 | </Offset> |
||
3515 | </Anchor> |
||
3516 | </Anchors> |
||
3517 | <FontHeight> |
||
3518 | <AbsValue val="12" /> |
||
3519 | </FontHeight> |
||
3520 | <Color r="1" g="0" b="0" /> |
||
3521 | <Shadow> |
||
3522 | <Color r="0" g="0" b="0" /> |
||
3523 | <Offset> |
||
3524 | <AbsDimension x="1" y="-1" /> |
||
3525 | </Offset> |
||
3526 | </Shadow> |
||
3527 | </FontString> |
||
3528 | </Layer> |
||
3529 | </Layers> |
||
3530 | <Frames> |
||
3531 | <EditBox name="WIM_Options_AliasWindow_Alias" enableMouse="true" ignoreArrows="false" frameStrata="TOOLTIP" toplevel="true" letters="16" autoFocus="false"> |
||
3532 | <Size> |
||
3533 | <AbsDimension x="190" y="35" /> |
||
3534 | </Size> |
||
3535 | <Anchors> |
||
3536 | <Anchor point="TOPLEFT"> |
||
3537 | <Offset> |
||
3538 | <AbsDimension x="10" y="0" /> |
||
3539 | </Offset> |
||
3540 | </Anchor> |
||
3541 | </Anchors> |
||
3542 | <FontString font="Fonts\ARIALN.TTF"> |
||
3543 | <FontHeight> |
||
3544 | <AbsValue val="16" /> |
||
3545 | </FontHeight> |
||
3546 | <Color r="1" g="1" b="1" /> |
||
3547 | <Shadow> |
||
3548 | <Color r="0" g="0" b="0" /> |
||
3549 | <Offset> |
||
3550 | <AbsDimension x="1" y="-1" /> |
||
3551 | </Offset> |
||
3552 | </Shadow> |
||
3553 | </FontString> |
||
3554 | <Scripts> |
||
3555 | <OnEscapePressed> |
||
3556 | this:Hide(); |
||
3557 | this:Show(); |
||
3558 | </OnEscapePressed> |
||
3559 | </Scripts> |
||
3560 | </EditBox> |
||
3561 | </Frames> |
||
3562 | </Frame> |
||
3563 | |||
3564 | |||
3565 | |||
3566 | |||
3567 | |||
3568 | <Button name="$parentCancel" inherits="UIPanelButtonTemplate" text="Cancel"> |
||
3569 | <Size> |
||
3570 | <AbsDimension x="85" y="28"/> |
||
3571 | </Size> |
||
3572 | <Anchors> |
||
3573 | <Anchor point="BOTTOMRIGHT"> |
||
3574 | <Offset> |
||
3575 | <AbsDimension x="-25" y="15"/> |
||
3576 | </Offset> |
||
3577 | </Anchor> |
||
3578 | </Anchors> |
||
3579 | <Scripts> |
||
3580 | <OnClick> |
||
3581 | PlaySound("igMainMenuClose"); |
||
3582 | WIM_Options_AliasWindow:Hide(); |
||
3583 | </OnClick> |
||
3584 | </Scripts> |
||
3585 | </Button> |
||
3586 | <Button name="$parentOK" inherits="UIPanelButtonTemplate" text="OK"> |
||
3587 | <Size> |
||
3588 | <AbsDimension x="85" y="28"/> |
||
3589 | </Size> |
||
3590 | <Anchors> |
||
3591 | <Anchor point="RIGHT" relativeTo="$parentCancel" relativePoint="LEFT"> |
||
3592 | <Offset> |
||
3593 | <AbsDimension x="-5" y="0"/> |
||
3594 | </Offset> |
||
3595 | </Anchor> |
||
3596 | </Anchors> |
||
3597 | <Scripts> |
||
3598 | <OnClick> |
||
3599 | WIM_Options_AliasWindow_Click(); |
||
3600 | </OnClick> |
||
3601 | </Scripts> |
||
3602 | </Button> |
||
3603 | </Frames> |
||
3604 | <Scripts> |
||
3605 | <OnLoad> |
||
3606 | tinsert(UISpecialFrames,this:GetName()); |
||
3607 | </OnLoad> |
||
3608 | <OnShow> |
||
3609 | WIM_Options_AliasWindow_Error:SetText(""); |
||
3610 | WIM_Options:SetAlpha(.35); |
||
3611 | WIM_Options:EnableMouse(false); |
||
3612 | PlaySound("igMainMenuOpen"); |
||
3613 | </OnShow> |
||
3614 | <OnHide> |
||
3615 | WIM_Options:SetAlpha(1); |
||
3616 | WIM_Options:EnableMouse(true); |
||
3617 | WIM_Options_AliasWindow.prevName = ""; |
||
3618 | PlaySound("igMainMenuClose"); |
||
3619 | </OnHide> |
||
3620 | </Scripts> |
||
3621 | </Frame> |
||
3622 | |||
3623 | |||
3624 | <Frame name="WIM_Options_FilterWindow" movable="false" alpha="1" enableMouse="true" toplevel="true" frameStrata="TOOLTIP" parent="UIParent" hidden="true" clampedToScreen="true"> |
||
3625 | <Size> |
||
3626 | <AbsDimension x="400" y="220" /> |
||
3627 | </Size> |
||
3628 | <Anchors> |
||
3629 | <Anchor point="CENTER" relativeTo="WIM_Options"> |
||
3630 | <Offset> |
||
3631 | <AbsDimension x="0" y="0" /> |
||
3632 | </Offset> |
||
3633 | </Anchor> |
||
3634 | </Anchors> |
||
3635 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> |
||
3636 | <BackgroundInsets> |
||
3637 | <AbsInset left="11" right="12" top="12" bottom="11" /> |
||
3638 | </BackgroundInsets> |
||
3639 | <TileSize> |
||
3640 | <AbsValue val="32" /> |
||
3641 | </TileSize> |
||
3642 | <EdgeSize> |
||
3643 | <AbsValue val="32" /> |
||
3644 | </EdgeSize> |
||
3645 | </Backdrop> |
||
3646 | <Layers> |
||
3647 | <Layer> |
||
3648 | <Texture name="$parentTitleBorder" file="Interface\DialogFrame\UI-DialogBox-Header"> |
||
3649 | <Size> |
||
3650 | <AbsDimension x="160" y="32" /> |
||
3651 | </Size> |
||
3652 | <Anchors> |
||
3653 | <Anchor point="TOP"> |
||
3654 | <Offset> |
||
3655 | <AbsDimension x="0" y="5" /> |
||
3656 | </Offset> |
||
3657 | </Anchor> |
||
3658 | </Anchors> |
||
3659 | <TexCoords left="0.2" right="0.8" top="0" bottom="0.6" /> |
||
3660 | </Texture> |
||
3661 | <FontString name="$parentTitleString" font="Fonts\FRIZQT__.TTF" text="Add New Filter"> |
||
3662 | <Size> |
||
3663 | <AbsDimension x="140" y="0" /> |
||
3664 | </Size> |
||
3665 | <Anchors> |
||
3666 | <Anchor point="TOP"> |
||
3667 | <Offset> |
||
3668 | <AbsDimension x="0" y="-4" /> |
||
3669 | </Offset> |
||
3670 | </Anchor> |
||
3671 | </Anchors> |
||
3672 | <FontHeight> |
||
3673 | <AbsValue val="12" /> |
||
3674 | </FontHeight> |
||
3675 | <Color r="1" g="0.8196079" b="0" /> |
||
3676 | <Shadow> |
||
3677 | <Color r="0" g="0" b="0" /> |
||
3678 | <Offset> |
||
3679 | <AbsDimension x="1" y="-1" /> |
||
3680 | </Offset> |
||
3681 | </Shadow> |
||
3682 | </FontString> |
||
3683 | <FontString name="$parentActionString" font="Fonts\FRIZQT__.TTF" text="Perform the following action:"> |
||
3684 | <Size> |
||
3685 | <AbsDimension x="200" y="0" /> |
||
3686 | </Size> |
||
3687 | <Anchors> |
||
3688 | <Anchor point="TOPLEFT"> |
||
3689 | <Offset> |
||
3690 | <AbsDimension x="13" y="-110" /> |
||
3691 | </Offset> |
||
3692 | </Anchor> |
||
3693 | </Anchors> |
||
3694 | <FontHeight> |
||
3695 | <AbsValue val="12" /> |
||
3696 | </FontHeight> |
||
3697 | <Color r="1" g="0.8196079" b="0" /> |
||
3698 | <Shadow> |
||
3699 | <Color r="0" g="0" b="0" /> |
||
3700 | <Offset> |
||
3701 | <AbsDimension x="1" y="-1" /> |
||
3702 | </Offset> |
||
3703 | </Shadow> |
||
3704 | </FontString> |
||
3705 | <FontString name="WIM_Options_FilterWindow_Error" font="Fonts\FRIZQT__.TTF" text="ERROR: Example Error Message" justifyH="LEFT"> |
||
3706 | <Size> |
||
3707 | <AbsDimension x="300" y="0" /> |
||
3708 | </Size> |
||
3709 | <Anchors> |
||
3710 | <Anchor point="TOPLEFT"> |
||
3711 | <Offset> |
||
3712 | <AbsDimension x="25" y="-90" /> |
||
3713 | </Offset> |
||
3714 | </Anchor> |
||
3715 | </Anchors> |
||
3716 | <FontHeight> |
||
3717 | <AbsValue val="12" /> |
||
3718 | </FontHeight> |
||
3719 | <Color r="1" g="0" b="0" /> |
||
3720 | <Shadow> |
||
3721 | <Color r="0" g="0" b="0" /> |
||
3722 | <Offset> |
||
3723 | <AbsDimension x="1" y="-1" /> |
||
3724 | </Offset> |
||
3725 | </Shadow> |
||
3726 | </FontString> |
||
3727 | </Layer> |
||
3728 | </Layers> |
||
3729 | <Frames> |
||
3730 | <Frame name="$parentPanel1" inherits="WIM_Options_PanelTemplate"> |
||
3731 | <Size> |
||
3732 | <AbsDimension x="350" y="40" /> |
||
3733 | </Size> |
||
3734 | <Anchors> |
||
3735 | <Anchor point="TOP"> |
||
3736 | <Offset> |
||
3737 | <AbsDimension x="0" y="-50" /> |
||
3738 | </Offset> |
||
3739 | </Anchor> |
||
3740 | </Anchors> |
||
3741 | <Layers> |
||
3742 | <Layer level="OVERLAY"> |
||
3743 | <FontString font="Fonts\FRIZQT__.TTF" text="Keyword/Phrase to Filter"> |
||
3744 | <Anchors> |
||
3745 | <Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="TOPLEFT"> |
||
3746 | <Offset> |
||
3747 | <AbsDimension x="0" y="0"/> |
||
3748 | </Offset> |
||
3749 | </Anchor> |
||
3750 | </Anchors> |
||
3751 | <FontHeight> |
||
3752 | <AbsValue val="12" /> |
||
3753 | </FontHeight> |
||
3754 | <Color r="1" g="0.8196079" b="0" /> |
||
3755 | <Shadow> |
||
3756 | <Color r="0" g="0" b="0" /> |
||
3757 | <Offset> |
||
3758 | <AbsDimension x="1" y="-1" /> |
||
3759 | </Offset> |
||
3760 | </Shadow> |
||
3761 | </FontString> |
||
3762 | </Layer> |
||
3763 | </Layers> |
||
3764 | <Frames> |
||
3765 | <EditBox name="WIM_Options_FilterWindow_Name" enableMouse="true" ignoreArrows="false" frameStrata="TOOLTIP" toplevel="true" letters="150" autoFocus="false"> |
||
3766 | <Size> |
||
3767 | <AbsDimension x="325" y="35" /> |
||
3768 | </Size> |
||
3769 | <Anchors> |
||
3770 | <Anchor point="TOPLEFT"> |
||
3771 | <Offset> |
||
3772 | <AbsDimension x="10" y="0" /> |
||
3773 | </Offset> |
||
3774 | </Anchor> |
||
3775 | </Anchors> |
||
3776 | <FontString font="Fonts\ARIALN.TTF"> |
||
3777 | <FontHeight> |
||
3778 | <AbsValue val="16" /> |
||
3779 | </FontHeight> |
||
3780 | <Color r="1" g="1" b="1" /> |
||
3781 | <Shadow> |
||
3782 | <Color r="0" g="0" b="0" /> |
||
3783 | <Offset> |
||
3784 | <AbsDimension x="1" y="-1" /> |
||
3785 | </Offset> |
||
3786 | </Shadow> |
||
3787 | </FontString> |
||
3788 | <Scripts> |
||
3789 | <OnEscapePressed> |
||
3790 | this:Hide(); |
||
3791 | this:Show(); |
||
3792 | </OnEscapePressed> |
||
3793 | </Scripts> |
||
3794 | </EditBox> |
||
3795 | </Frames> |
||
3796 | </Frame> |
||
3797 | |||
3798 | <CheckButton name="WIM_Options_FilterWindow_ActionIgnore"> |
||
3799 | <Size> |
||
3800 | <AbsDimension x="25" y="25" /> |
||
3801 | </Size> |
||
3802 | <Anchors> |
||
3803 | <Anchor point="TOPLEFT"> |
||
3804 | <Offset> |
||
3805 | <AbsDimension x="220" y="-105" /> |
||
3806 | </Offset> |
||
3807 | </Anchor> |
||
3808 | </Anchors> |
||
3809 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
3810 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
3811 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
3812 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
3813 | <Layers> |
||
3814 | <Layer level="OVERLAY"> |
||
3815 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Ignore"> |
||
3816 | <Anchors> |
||
3817 | <Anchor point="LEFT"> |
||
3818 | <Offset> |
||
3819 | <AbsDimension x="30" y="1" /> |
||
3820 | </Offset> |
||
3821 | </Anchor> |
||
3822 | </Anchors> |
||
3823 | <FontHeight> |
||
3824 | <AbsValue val="12" /> |
||
3825 | </FontHeight> |
||
3826 | <Color r="1" g="0.8196079" b="0" /> |
||
3827 | <Shadow> |
||
3828 | <Color r="0" g="0" b="0" /> |
||
3829 | <Offset> |
||
3830 | <AbsDimension x="1" y="-1" /> |
||
3831 | </Offset> |
||
3832 | </Shadow> |
||
3833 | </FontString> |
||
3834 | </Layer> |
||
3835 | </Layers> |
||
3836 | <Scripts> |
||
3837 | <OnClick> |
||
3838 | if ( this:GetChecked() ) then |
||
3839 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
3840 | else |
||
3841 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
3842 | end |
||
3843 | WIM_Options_FilteringIgnoreClicked(); |
||
3844 | </OnClick> |
||
3845 | </Scripts> |
||
3846 | </CheckButton> |
||
3847 | <CheckButton name="WIM_Options_FilterWindow_ActionBlock"> |
||
3848 | <Size> |
||
3849 | <AbsDimension x="25" y="25" /> |
||
3850 | </Size> |
||
3851 | <Anchors> |
||
3852 | <Anchor point="TOPLEFT" relativeTo="WIM_Options_FilterWindow_ActionIgnore" relativePoint="BOTTOMLEFT"> |
||
3853 | <Offset> |
||
3854 | <AbsDimension x="0" y="0" /> |
||
3855 | </Offset> |
||
3856 | </Anchor> |
||
3857 | </Anchors> |
||
3858 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" /> |
||
3859 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" /> |
||
3860 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" /> |
||
3861 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" /> |
||
3862 | <Layers> |
||
3863 | <Layer level="OVERLAY"> |
||
3864 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Block"> |
||
3865 | <Anchors> |
||
3866 | <Anchor point="LEFT"> |
||
3867 | <Offset> |
||
3868 | <AbsDimension x="30" y="1" /> |
||
3869 | </Offset> |
||
3870 | </Anchor> |
||
3871 | </Anchors> |
||
3872 | <FontHeight> |
||
3873 | <AbsValue val="12" /> |
||
3874 | </FontHeight> |
||
3875 | <Color r="1" g="0.8196079" b="0" /> |
||
3876 | <Shadow> |
||
3877 | <Color r="0" g="0" b="0" /> |
||
3878 | <Offset> |
||
3879 | <AbsDimension x="1" y="-1" /> |
||
3880 | </Offset> |
||
3881 | </Shadow> |
||
3882 | </FontString> |
||
3883 | </Layer> |
||
3884 | </Layers> |
||
3885 | <Scripts> |
||
3886 | <OnClick> |
||
3887 | if ( this:GetChecked() ) then |
||
3888 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
3889 | else |
||
3890 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
3891 | end |
||
3892 | WIM_Options_FilteringBlockClicked(); |
||
3893 | </OnClick> |
||
3894 | </Scripts> |
||
3895 | </CheckButton> |
||
3896 | |||
3897 | |||
3898 | |||
3899 | <Button name="$parentCancel" inherits="UIPanelButtonTemplate" text="Cancel"> |
||
3900 | <Size> |
||
3901 | <AbsDimension x="85" y="28"/> |
||
3902 | </Size> |
||
3903 | <Anchors> |
||
3904 | <Anchor point="BOTTOMRIGHT"> |
||
3905 | <Offset> |
||
3906 | <AbsDimension x="-25" y="15"/> |
||
3907 | </Offset> |
||
3908 | </Anchor> |
||
3909 | </Anchors> |
||
3910 | <Scripts> |
||
3911 | <OnClick> |
||
3912 | PlaySound("igMainMenuClose"); |
||
3913 | WIM_Options_FilterWindow:Hide(); |
||
3914 | </OnClick> |
||
3915 | </Scripts> |
||
3916 | </Button> |
||
3917 | <Button name="$parentOK" inherits="UIPanelButtonTemplate" text="OK"> |
||
3918 | <Size> |
||
3919 | <AbsDimension x="85" y="28"/> |
||
3920 | </Size> |
||
3921 | <Anchors> |
||
3922 | <Anchor point="RIGHT" relativeTo="$parentCancel" relativePoint="LEFT"> |
||
3923 | <Offset> |
||
3924 | <AbsDimension x="-5" y="0"/> |
||
3925 | </Offset> |
||
3926 | </Anchor> |
||
3927 | </Anchors> |
||
3928 | <Scripts> |
||
3929 | <OnClick> |
||
3930 | WIM_Options_FilterWindow_Click(); |
||
3931 | </OnClick> |
||
3932 | </Scripts> |
||
3933 | </Button> |
||
3934 | </Frames> |
||
3935 | <Scripts> |
||
3936 | <OnLoad> |
||
3937 | tinsert(UISpecialFrames,this:GetName()); |
||
3938 | </OnLoad> |
||
3939 | <OnShow> |
||
3940 | WIM_Options_FilterWindow_Error:SetText(""); |
||
3941 | WIM_Options:SetAlpha(.35); |
||
3942 | WIM_Options:EnableMouse(false); |
||
3943 | PlaySound("igMainMenuOpen"); |
||
3944 | WIM_Options_FilteringIgnoreClicked(); |
||
3945 | WIM_Options_FilteringBlockClicked(); |
||
3946 | </OnShow> |
||
3947 | <OnHide> |
||
3948 | WIM_Options_FilterWindow.prevName = ""; |
||
3949 | WIM_Options:SetAlpha(1); |
||
3950 | WIM_Options:EnableMouse(true); |
||
3951 | PlaySound("igMainMenuClose"); |
||
3952 | </OnHide> |
||
3953 | </Scripts> |
||
3954 | </Frame> |
||
3955 | |||
3956 | |||
3957 | <Frame name="WIM_WindowAnchor" movable="true" enableMouse="true" toplevel="true" frameStrata="TOOLTIP" parent="UIParent" hidden="true"> |
||
3958 | <Size> |
||
3959 | <AbsDimension x="16" y="16"/> |
||
3960 | </Size> |
||
3961 | <Anchors> |
||
3962 | <Anchor point="TOPLEFT"> |
||
3963 | <Offset> |
||
3964 | <AbsDimension x="100" y="-125"/> |
||
3965 | </Offset> |
||
3966 | </Anchor> |
||
3967 | </Anchors> |
||
3968 | <Layers> |
||
3969 | <Layer level="BACKGROUND"> |
||
3970 | <Texture file="Interface\AddOns\WIM\Images\DragButton"> |
||
3971 | <Size> |
||
3972 | <AbsDimension x="16" y="16"/> |
||
3973 | </Size> |
||
3974 | <Anchors> |
||
3975 | <Anchor point="TOPLEFT"> |
||
3976 | <Offset> |
||
3977 | <AbsDimension x="0" y="0"/> |
||
3978 | </Offset> |
||
3979 | </Anchor> |
||
3980 | </Anchors> |
||
3981 | </Texture> |
||
3982 | </Layer> |
||
3983 | </Layers> |
||
3984 | <Scripts> |
||
3985 | <OnLoad> |
||
3986 | this:RegisterForDrag("LeftButton"); |
||
3987 | </OnLoad> |
||
3988 | <OnShow> |
||
3989 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
3990 | </OnShow> |
||
3991 | <OnHide> |
||
3992 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
3993 | </OnHide> |
||
3994 | <OnDragStart> |
||
3995 | this:StartMoving(); |
||
3996 | this.isMoving = true; |
||
3997 | </OnDragStart> |
||
3998 | <OnDragStop> |
||
3999 | this:StopMovingOrSizing(); |
||
4000 | this.isMoving = false; |
||
4001 | WIM_Data.winLoc.left = this:GetLeft(); |
||
4002 | WIM_Data.winLoc.top = this:GetTop(); |
||
4003 | WIM_CascadeStep = 0; |
||
4004 | </OnDragStop> |
||
4005 | <OnEnter> |
||
4006 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
4007 | GameTooltip:SetText("Drag to set default spawn\nposition for message windows."); |
||
4008 | </OnEnter> |
||
4009 | <OnLeave> |
||
4010 | GameTooltip:Hide(); |
||
4011 | </OnLeave> |
||
4012 | </Scripts> |
||
4013 | </Frame> |
||
4014 | |||
4015 | |||
4016 | |||
4017 | <Frame name="WIM_ToggleWindow" inherits="WIM_Options_PanelTemplate" hidden="true" frameStrata="TOOLTIP" toplevel="true"> |
||
4018 | <Size> |
||
4019 | <AbsDimension x="276" y="78" /> |
||
4020 | </Size> |
||
4021 | <Anchors> |
||
4022 | <Anchor point="CENTER"> |
||
4023 | <Offset> |
||
4024 | <AbsDimension x="0" y="200" /> |
||
4025 | </Offset> |
||
4026 | </Anchor> |
||
4027 | </Anchors> |
||
4028 | <Layers> |
||
4029 | <Layer level="OVERLAY"> |
||
4030 | <Texture name="$parentIconBorder" file="Interface\MailFrame\MailItemBorder"> |
||
4031 | <Size> |
||
4032 | <AbsDimension x="256" y="64"/> |
||
4033 | </Size> |
||
4034 | <Anchors> |
||
4035 | <Anchor point="TOPLEFT"> |
||
4036 | <Offset> |
||
4037 | <AbsDimension x="10" y="-10"/> |
||
4038 | </Offset> |
||
4039 | </Anchor> |
||
4040 | </Anchors> |
||
4041 | </Texture> |
||
4042 | <Texture name="$parentIconNew" file="Interface\AddOns\WIM\Images\toggle_new"> |
||
4043 | <Size> |
||
4044 | <AbsDimension x="39" y="39" /> |
||
4045 | </Size> |
||
4046 | <Anchors> |
||
4047 | <Anchor point="TOPLEFT" relativeTo="$parentIconBorder" relativePoint="TOPLEFT"> |
||
4048 | <Offset> |
||
4049 | <AbsDimension x="2" y="-3" /> |
||
4050 | </Offset> |
||
4051 | </Anchor> |
||
4052 | </Anchors> |
||
4053 | </Texture> |
||
4054 | <Texture name="$parentIconRead" file="Interface\AddOns\WIM\Images\toggle_read"> |
||
4055 | <Size> |
||
4056 | <AbsDimension x="39" y="39" /> |
||
4057 | </Size> |
||
4058 | <Anchors> |
||
4059 | <Anchor point="TOPLEFT" relativeTo="$parentIconBorder" relativePoint="TOPLEFT"> |
||
4060 | <Offset> |
||
4061 | <AbsDimension x="2" y="-3" /> |
||
4062 | </Offset> |
||
4063 | </Anchor> |
||
4064 | </Anchors> |
||
4065 | </Texture> |
||
4066 | <FontString name="$parentUser" font="Fonts\FRIZQT__.TTF" text="Pazza"> |
||
4067 | <Anchors> |
||
4068 | <Anchor point="TOPLEFT" relativeTo="$parentIconNew" relativePoint="TOPRIGHT"> |
||
4069 | <Offset> |
||
4070 | <AbsDimension x="20" y="-1" /> |
||
4071 | </Offset> |
||
4072 | </Anchor> |
||
4073 | </Anchors> |
||
4074 | <FontHeight> |
||
4075 | <AbsValue val="18" /> |
||
4076 | </FontHeight> |
||
4077 | <Color r="1" g="0.8196079" b="0" /> |
||
4078 | <Shadow> |
||
4079 | <Color r="0" g="0" b="0" /> |
||
4080 | <Offset> |
||
4081 | <AbsDimension x="1" y="-1" /> |
||
4082 | </Offset> |
||
4083 | </Shadow> |
||
4084 | </FontString> |
||
4085 | <FontString name="$parentStatus" font="Fonts\FRIZQT__.TTF" text="No new messages."> |
||
4086 | <Anchors> |
||
4087 | <Anchor point="TOPLEFT" relativeTo="$parentIconNew" relativePoint="TOPRIGHT"> |
||
4088 | <Offset> |
||
4089 | <AbsDimension x="20" y="-22" /> |
||
4090 | </Offset> |
||
4091 | </Anchor> |
||
4092 | </Anchors> |
||
4093 | <FontHeight> |
||
4094 | <AbsValue val="10" /> |
||
4095 | </FontHeight> |
||
4096 | <Color r="1" g="0.8196079" b="0" /> |
||
4097 | <Shadow> |
||
4098 | <Color r="0" g="0" b="0" /> |
||
4099 | <Offset> |
||
4100 | <AbsDimension x="1" y="-1" /> |
||
4101 | </Offset> |
||
4102 | </Shadow> |
||
4103 | </FontString> |
||
4104 | <FontString name="$parentCount" font="Fonts\FRIZQT__.TTF" text="Recent Conversation 1 or 20"> |
||
4105 | <Anchors> |
||
4106 | <Anchor point="BOTTOM"> |
||
4107 | <Offset> |
||
4108 | <AbsDimension x="0" y="10" /> |
||
4109 | </Offset> |
||
4110 | </Anchor> |
||
4111 | </Anchors> |
||
4112 | <FontHeight> |
||
4113 | <AbsValue val="11" /> |
||
4114 | </FontHeight> |
||
4115 | <Color r=".8" g=".8" b=".8" /> |
||
4116 | <Shadow> |
||
4117 | <Color r="0" g="0" b="0" /> |
||
4118 | <Offset> |
||
4119 | <AbsDimension x="1" y="-1" /> |
||
4120 | </Offset> |
||
4121 | </Shadow> |
||
4122 | </FontString> |
||
4123 | </Layer> |
||
4124 | </Layers> |
||
4125 | <Scripts> |
||
4126 | <OnUpdate> |
||
4127 | WIM_ToggleWindow_OnUpdate(arg1); |
||
4128 | </OnUpdate> |
||
4129 | <OnShow> |
||
4130 | WIM_ToggleWindow_Timer = 0; |
||
4131 | </OnShow> |
||
4132 | <OnHide> |
||
4133 | WIM_ToggleWindow_Timer = 0; |
||
4134 | WIM_ToggleWindow_Index = 1; |
||
4135 | WIM_PostMessage(this.theUser, "", 5, "", ""); |
||
4136 | </OnHide> |
||
4137 | </Scripts> |
||
4138 | </Frame> |
||
4139 | |||
4140 | |||
4141 | <Frame name="WIM_Help" movable="true" alpha="1" enableMouse="true" toplevel="true" frameStrata="DIALOG" parent="UIParent" hidden="true" clampedToScreen="true"> |
||
4142 | <Size> |
||
4143 | <AbsDimension x="600" y="480" /> |
||
4144 | </Size> |
||
4145 | <Anchors> |
||
4146 | <Anchor point="CENTER" relativeTo="UIParent"> |
||
4147 | <Offset> |
||
4148 | <AbsDimension x="0" y="0" /> |
||
4149 | </Offset> |
||
4150 | </Anchor> |
||
4151 | </Anchors> |
||
4152 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> |
||
4153 | <BackgroundInsets> |
||
4154 | <AbsInset left="11" right="12" top="12" bottom="11" /> |
||
4155 | </BackgroundInsets> |
||
4156 | <TileSize> |
||
4157 | <AbsValue val="32" /> |
||
4158 | </TileSize> |
||
4159 | <EdgeSize> |
||
4160 | <AbsValue val="32" /> |
||
4161 | </EdgeSize> |
||
4162 | </Backdrop> |
||
4163 | <Layers> |
||
4164 | <Layer> |
||
4165 | <Texture name="$parentTitleBorder" file="Interface\DialogFrame\UI-DialogBox-Header"> |
||
4166 | <Size> |
||
4167 | <AbsDimension x="160" y="32" /> |
||
4168 | </Size> |
||
4169 | <Anchors> |
||
4170 | <Anchor point="TOP"> |
||
4171 | <Offset> |
||
4172 | <AbsDimension x="0" y="5" /> |
||
4173 | </Offset> |
||
4174 | </Anchor> |
||
4175 | </Anchors> |
||
4176 | <TexCoords left="0.2" right="0.8" top="0" bottom="0.6" /> |
||
4177 | </Texture> |
||
4178 | <FontString name="$parentTitleString" font="Fonts\FRIZQT__.TTF" text="WIM Documentation"> |
||
4179 | <Size> |
||
4180 | <AbsDimension x="140" y="0" /> |
||
4181 | </Size> |
||
4182 | <Anchors> |
||
4183 | <Anchor point="TOP"> |
||
4184 | <Offset> |
||
4185 | <AbsDimension x="0" y="-4" /> |
||
4186 | </Offset> |
||
4187 | </Anchor> |
||
4188 | </Anchors> |
||
4189 | <FontHeight> |
||
4190 | <AbsValue val="12" /> |
||
4191 | </FontHeight> |
||
4192 | <Color r="1" g="0.8196079" b="0" /> |
||
4193 | <Shadow> |
||
4194 | <Color r="0" g="0" b="0" /> |
||
4195 | <Offset> |
||
4196 | <AbsDimension x="1" y="-1" /> |
||
4197 | </Offset> |
||
4198 | </Shadow> |
||
4199 | </FontString> |
||
4200 | </Layer> |
||
4201 | </Layers> |
||
4202 | <Frames> |
||
4203 | <Button name="$parentExitButton"> |
||
4204 | <Size> |
||
4205 | <AbsDimension x="32" y="32"/> |
||
4206 | </Size> |
||
4207 | <Anchors> |
||
4208 | <Anchor point="TOPRIGHT"> |
||
4209 | <Offset> |
||
4210 | <AbsDimension x="-10" y="-10"/> |
||
4211 | </Offset> |
||
4212 | </Anchor> |
||
4213 | </Anchors> |
||
4214 | <NormalTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Up"/> |
||
4215 | <PushedTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Down"/> |
||
4216 | <HighlightTexture alphaMode="ADD" file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight"/> |
||
4217 | <Scripts> |
||
4218 | <OnLoad> |
||
4219 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
4220 | </OnLoad> |
||
4221 | <OnClick> |
||
4222 | this:GetParent():Hide(); |
||
4223 | </OnClick> |
||
4224 | </Scripts> |
||
4225 | </Button> |
||
4226 | <Frame name="$parentFrame" inherits="WIM_Options_PanelTemplate"> |
||
4227 | <Anchors> |
||
4228 | <Anchor point="TOPLEFT"> |
||
4229 | <Offset> |
||
4230 | <AbsDimension x="15" y="-60" /> |
||
4231 | </Offset> |
||
4232 | </Anchor> |
||
4233 | <Anchor point="BOTTOMRIGHT"> |
||
4234 | <Offset> |
||
4235 | <AbsDimension x="-15" y="10" /> |
||
4236 | </Offset> |
||
4237 | </Anchor> |
||
4238 | </Anchors> |
||
4239 | </Frame> |
||
4240 | <Button name="$parentTab1" inherits="TabButtonTemplate" text=" Description " alpha=".8"> |
||
4241 | <Anchors> |
||
4242 | <Anchor point="BOTTOMLEFT" relativeTo="$parentFrame" relativePoint="TOPLEFT"> |
||
4243 | <Offset> |
||
4244 | <AbsDimension x="10" y="-2" /> |
||
4245 | </Offset> |
||
4246 | </Anchor> |
||
4247 | </Anchors> |
||
4248 | <Scripts> |
||
4249 | <OnClick> |
||
4250 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
4251 | WIM_Help_Description_Click(); |
||
4252 | </OnClick> |
||
4253 | <OnLoad> |
||
4254 | <!-- Size it properly --> |
||
4255 | PanelTemplates_TabResize(0, this); |
||
4256 | getglobal(this:GetName().."HighlightTexture"):SetWidth(this:GetTextWidth()+10); |
||
4257 | </OnLoad> |
||
4258 | </Scripts> |
||
4259 | </Button> |
||
4260 | <Button name="$parentTab2" inherits="TabButtonTemplate" text=" Version History " alpha=".8"> |
||
4261 | <Anchors> |
||
4262 | <Anchor point="TOPLEFT" relativeTo="$parentTab1" relativePoint="TOPRIGHT"> |
||
4263 | <Offset> |
||
4264 | <AbsDimension x="0" y="0" /> |
||
4265 | </Offset> |
||
4266 | </Anchor> |
||
4267 | </Anchors> |
||
4268 | <Scripts> |
||
4269 | <OnClick> |
||
4270 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
4271 | WIM_Help_ChangeLog_Click(); |
||
4272 | </OnClick> |
||
4273 | <OnLoad> |
||
4274 | <!-- Size it properly --> |
||
4275 | PanelTemplates_TabResize(0, this); |
||
4276 | getglobal(this:GetName().."HighlightTexture"):SetWidth(this:GetTextWidth()+10); |
||
4277 | </OnLoad> |
||
4278 | </Scripts> |
||
4279 | </Button> |
||
4280 | |||
4281 | <ScrollFrame name="WIM_HelpScrollFrame" inherits="UIPanelScrollFrameTemplate"> |
||
4282 | <Anchors> |
||
4283 | <Anchor point="TOPLEFT" relativeTo="$parentFrame" relativePoint="TOPLEFT"> |
||
4284 | <Offset> |
||
4285 | <AbsDimension x="20" y="-20"/> |
||
4286 | </Offset> |
||
4287 | </Anchor> |
||
4288 | <Anchor point="BOTTOMRIGHT" relativeTo="$parentFrame" relativePoint="BOTTOMRIGHT"> |
||
4289 | <Offset> |
||
4290 | <AbsDimension x="-30" y="20"/> |
||
4291 | </Offset> |
||
4292 | </Anchor> |
||
4293 | </Anchors> |
||
4294 | <ScrollChild> |
||
4295 | <Frame name="$parentScrollChild" frameStrata="HIGH"> |
||
4296 | <Size> |
||
4297 | <AbsDimension x="10" y="10"/> |
||
4298 | </Size> |
||
4299 | <Frames> |
||
4300 | <SimpleHTML name="$parentText"> |
||
4301 | <Size> |
||
4302 | <AbsDimension x="500" y="304"/> |
||
4303 | </Size> |
||
4304 | <Anchors> |
||
4305 | <Anchor point="TOPLEFT"> |
||
4306 | <Offset> |
||
4307 | <AbsDimension x="0" y="0"/> |
||
4308 | </Offset> |
||
4309 | </Anchor> |
||
4310 | <Anchor point="BOTTOMRIGHT"> |
||
4311 | <Offset> |
||
4312 | <AbsDimension x="0" y="0"/> |
||
4313 | </Offset> |
||
4314 | </Anchor> |
||
4315 | </Anchors> |
||
4316 | <FontString font="Fonts\FRIZQT__.TTF" justifyH="LEFT"> |
||
4317 | <FontHeight> |
||
4318 | <AbsValue val="12" /> |
||
4319 | </FontHeight> |
||
4320 | <Color r="1" g="0.8196079" b="0" /> |
||
4321 | <Shadow> |
||
4322 | <Color r="0" g="0" b="0" /> |
||
4323 | <Offset> |
||
4324 | <AbsDimension x="1" y="-1" /> |
||
4325 | </Offset> |
||
4326 | </Shadow> |
||
4327 | </FontString> |
||
4328 | </SimpleHTML> |
||
4329 | </Frames> |
||
4330 | </Frame> |
||
4331 | </ScrollChild> |
||
4332 | </ScrollFrame> |
||
4333 | |||
4334 | |||
4335 | |||
4336 | |||
4337 | </Frames> |
||
4338 | <Scripts> |
||
4339 | <OnLoad> |
||
4340 | tinsert(UISpecialFrames,this:GetName()); |
||
4341 | this:RegisterForDrag("LeftButton"); |
||
4342 | </OnLoad> |
||
4343 | <OnShow> |
||
4344 | WIM_Help_Description_Click(); |
||
4345 | PlaySound("igMainMenuOpen"); |
||
4346 | </OnShow> |
||
4347 | <OnHide> |
||
4348 | PlaySound("igMainMenuClose"); |
||
4349 | </OnHide> |
||
4350 | <OnDragStart> |
||
4351 | this:StartMoving(); |
||
4352 | this.isMoving = true; |
||
4353 | </OnDragStart> |
||
4354 | <OnDragStop> |
||
4355 | this:StopMovingOrSizing(); |
||
4356 | this.isMoving = false; |
||
4357 | </OnDragStop> |
||
4358 | </Scripts> |
||
4359 | </Frame> |
||
4360 | |||
4361 | |||
4362 | </Ui> |