vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | <Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/ ..\FrameXML\UI.xsd"> |
2 | |||
3 | <Script file="WIM_History.lua"/> |
||
4 | |||
5 | <Button name="WIM_HistoryUsersButtonTemplate" virtual="true"> |
||
6 | <Size> |
||
7 | <AbsDimension x="120" y="16"/> |
||
8 | </Size> |
||
9 | <Layers> |
||
10 | <Layer level="BORDER"> |
||
11 | <FontString name="$parentName" inherits="GameFontNormalSmall" justifyH="LEFT"> |
||
12 | <Size> |
||
13 | <AbsDimension x="120" y="14"/> |
||
14 | </Size> |
||
15 | <Anchors> |
||
16 | <Anchor point="TOPLEFT"> |
||
17 | <Offset> |
||
18 | <AbsDimension x="10" y="-3"/> |
||
19 | </Offset> |
||
20 | </Anchor> |
||
21 | </Anchors> |
||
22 | </FontString> |
||
23 | </Layer> |
||
24 | </Layers> |
||
25 | <Scripts> |
||
26 | <OnLoad> |
||
27 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
28 | </OnLoad> |
||
29 | <OnClick> |
||
30 | WIM_HistoryView_NameClick(); |
||
31 | WIM_HistoryViewNameScrollBar_Update(); |
||
32 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
33 | </OnClick> |
||
34 | </Scripts> |
||
35 | <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"> |
||
36 | <Size> |
||
37 | <AbsDimension x="118" y="16"/> |
||
38 | </Size> |
||
39 | <Anchors> |
||
40 | <Anchor point="TOP"> |
||
41 | <Offset> |
||
42 | <AbsDimension x="5" y="-2"/> |
||
43 | </Offset> |
||
44 | </Anchor> |
||
45 | </Anchors> |
||
46 | </HighlightTexture> |
||
47 | </Button> |
||
48 | |||
49 | <Button name="WIM_HistoryFiltersButtonTemplate" virtual="true"> |
||
50 | <Size> |
||
51 | <AbsDimension x="120" y="16"/> |
||
52 | </Size> |
||
53 | <Layers> |
||
54 | <Layer level="BORDER"> |
||
55 | <FontString name="$parentName" inherits="GameFontNormalSmall" justifyH="LEFT"> |
||
56 | <Size> |
||
57 | <AbsDimension x="120" y="14"/> |
||
58 | </Size> |
||
59 | <Anchors> |
||
60 | <Anchor point="TOPLEFT"> |
||
61 | <Offset> |
||
62 | <AbsDimension x="10" y="-3"/> |
||
63 | </Offset> |
||
64 | </Anchor> |
||
65 | </Anchors> |
||
66 | </FontString> |
||
67 | </Layer> |
||
68 | </Layers> |
||
69 | <Scripts> |
||
70 | <OnLoad> |
||
71 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
72 | </OnLoad> |
||
73 | <OnClick> |
||
74 | WIM_HistoryView_FilterClick(); |
||
75 | WIM_HistoryViewFiltersScrollBar_Update(); |
||
76 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
77 | </OnClick> |
||
78 | </Scripts> |
||
79 | <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"> |
||
80 | <Size> |
||
81 | <AbsDimension x="118" y="16"/> |
||
82 | </Size> |
||
83 | <Anchors> |
||
84 | <Anchor point="TOP"> |
||
85 | <Offset> |
||
86 | <AbsDimension x="5" y="-2"/> |
||
87 | </Offset> |
||
88 | </Anchor> |
||
89 | </Anchors> |
||
90 | </HighlightTexture> |
||
91 | </Button> |
||
92 | |||
93 | <Frame name="WIM_HistoryFrame" movable="true" alpha="1" enableMouse="true" toplevel="true" frameStrata="DIALOG" parent="UIParent" hidden="true" clampedToScreen="true"> |
||
94 | <Size> |
||
95 | <AbsDimension x="600" y="500" /> |
||
96 | </Size> |
||
97 | <Anchors> |
||
98 | <Anchor point="CENTER" relativeTo="WIM_Options"> |
||
99 | <Offset> |
||
100 | <AbsDimension x="0" y="0" /> |
||
101 | </Offset> |
||
102 | </Anchor> |
||
103 | </Anchors> |
||
104 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> |
||
105 | <BackgroundInsets> |
||
106 | <AbsInset left="11" right="12" top="12" bottom="11" /> |
||
107 | </BackgroundInsets> |
||
108 | <TileSize> |
||
109 | <AbsValue val="32" /> |
||
110 | </TileSize> |
||
111 | <EdgeSize> |
||
112 | <AbsValue val="32" /> |
||
113 | </EdgeSize> |
||
114 | </Backdrop> |
||
115 | <Frames> |
||
116 | <Frame name="$parentTitle" inherits="WIM_Options_TitlePanelTemplate"> |
||
117 | <Size> |
||
118 | <AbsDimension x="580" y="35" /> |
||
119 | </Size> |
||
120 | <Anchors> |
||
121 | <Anchor point="TOPLEFT"> |
||
122 | <Offset> |
||
123 | <AbsDimension x="10" y="-10" /> |
||
124 | </Offset> |
||
125 | </Anchor> |
||
126 | </Anchors> |
||
127 | <Layers> |
||
128 | <Layer level="OVERLAY"> |
||
129 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="WIM History Viewer"> |
||
130 | <Anchors> |
||
131 | <Anchor point="CENTER"> |
||
132 | <Offset> |
||
133 | <AbsDimension x="0" y="3"/> |
||
134 | </Offset> |
||
135 | </Anchor> |
||
136 | </Anchors> |
||
137 | <FontHeight> |
||
138 | <AbsValue val="16" /> |
||
139 | </FontHeight> |
||
140 | <Color r="1" g="0.8196079" b="0" /> |
||
141 | <Shadow> |
||
142 | <Color r="0" g="0" b="0" /> |
||
143 | <Offset> |
||
144 | <AbsDimension x="1" y="-1" /> |
||
145 | </Offset> |
||
146 | </Shadow> |
||
147 | </FontString> |
||
148 | </Layer> |
||
149 | </Layers> |
||
150 | <Frames> |
||
151 | <Button name="$parentExitButton"> |
||
152 | <Size> |
||
153 | <AbsDimension x="32" y="32"/> |
||
154 | </Size> |
||
155 | <Anchors> |
||
156 | <Anchor point="TOPRIGHT"> |
||
157 | <Offset> |
||
158 | <AbsDimension x="-2" y="-2"/> |
||
159 | </Offset> |
||
160 | </Anchor> |
||
161 | </Anchors> |
||
162 | <NormalTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Up"/> |
||
163 | <PushedTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Down"/> |
||
164 | <HighlightTexture alphaMode="ADD" file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight"/> |
||
165 | <Scripts> |
||
166 | <OnLoad> |
||
167 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
168 | </OnLoad> |
||
169 | <OnClick> |
||
170 | this:GetParent():GetParent():Hide(); |
||
171 | </OnClick> |
||
172 | </Scripts> |
||
173 | </Button> |
||
174 | </Frames> |
||
175 | </Frame> |
||
176 | <Frame name="$parentNameList" inherits="WIM_Options_PanelTemplate"> |
||
177 | <Size> |
||
178 | <AbsDimension x="160" y="290" /> |
||
179 | </Size> |
||
180 | <Anchors> |
||
181 | <Anchor point="TOPLEFT" relativeTo="$parentTitle" relativePoint="BOTTOMLEFT"> |
||
182 | <Offset> |
||
183 | <AbsDimension x="3" y="0" /> |
||
184 | </Offset> |
||
185 | </Anchor> |
||
186 | </Anchors> |
||
187 | <Frames> |
||
188 | <Frame name="$parentTitle" inherits="WIM_Options_PanelTemplate"> |
||
189 | <Size> |
||
190 | <AbsDimension x="50" y="30" /> |
||
191 | </Size> |
||
192 | <Anchors> |
||
193 | <Anchor point="TOPLEFT"> |
||
194 | <Offset> |
||
195 | <AbsDimension x="2" y="-1" /> |
||
196 | </Offset> |
||
197 | </Anchor> |
||
198 | <Anchor point="RIGHT"> |
||
199 | <Offset> |
||
200 | <AbsDimension x="-2" y="0" /> |
||
201 | </Offset> |
||
202 | </Anchor> |
||
203 | </Anchors> |
||
204 | <Layers> |
||
205 | <Layer level="OVERLAY"> |
||
206 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Users"> |
||
207 | <Anchors> |
||
208 | <Anchor point="CENTER"> |
||
209 | <Offset> |
||
210 | <AbsDimension x="0" y="0"/> |
||
211 | </Offset> |
||
212 | </Anchor> |
||
213 | </Anchors> |
||
214 | <FontHeight> |
||
215 | <AbsValue val="12" /> |
||
216 | </FontHeight> |
||
217 | <Color r="1" g="1" b="1" /> |
||
218 | <Shadow> |
||
219 | <Color r="0" g="0" b="0" /> |
||
220 | <Offset> |
||
221 | <AbsDimension x="1" y="-1" /> |
||
222 | </Offset> |
||
223 | </Shadow> |
||
224 | </FontString> |
||
225 | </Layer> |
||
226 | </Layers> |
||
227 | </Frame> |
||
228 | <ScrollFrame name="$parentScrollBar" inherits="FauxScrollFrameTemplate"> |
||
229 | <Anchors> |
||
230 | <Anchor point="TOPLEFT" relativeTo="$parentTitle" relativePoint="BOTTOMLEFT"> |
||
231 | <Offset> |
||
232 | <AbsDimension x="0" y="-2"/> |
||
233 | </Offset> |
||
234 | </Anchor> |
||
235 | <Anchor point="BOTTOMRIGHT"> |
||
236 | <Offset> |
||
237 | <AbsDimension x="-30" y="12"/> |
||
238 | </Offset> |
||
239 | </Anchor> |
||
240 | </Anchors> |
||
241 | <Scripts> |
||
242 | <OnVerticalScroll> |
||
243 | FauxScrollFrame_OnVerticalScroll(16, WIM_HistoryViewNameScrollBar_Update); |
||
244 | </OnVerticalScroll> |
||
245 | <OnShow> |
||
246 | WIM_HistoryViewNameScrollBar_Update(); |
||
247 | </OnShow> |
||
248 | </Scripts> |
||
249 | </ScrollFrame> |
||
250 | <Button name="$parentButton1" inherits="WIM_HistoryUsersButtonTemplate"> |
||
251 | <Anchors> |
||
252 | <Anchor point="TOPLEFT" relativeTo="$parentScrollBar" relativePoint="TOPLEFT"> |
||
253 | <Offset> |
||
254 | <AbsDimension x="0" y="0" /> |
||
255 | </Offset> |
||
256 | </Anchor> |
||
257 | </Anchors> |
||
258 | </Button> |
||
259 | <Button name="$parentButton2" inherits="WIM_HistoryUsersButtonTemplate"> |
||
260 | <Anchors> |
||
261 | <Anchor point="TOPLEFT" relativeTo="$parentButton1" relativePoint="BOTTOMLEFT"> |
||
262 | <Offset> |
||
263 | <AbsDimension x="0" y="0" /> |
||
264 | </Offset> |
||
265 | </Anchor> |
||
266 | </Anchors> |
||
267 | </Button> |
||
268 | <Button name="$parentButton3" inherits="WIM_HistoryUsersButtonTemplate"> |
||
269 | <Anchors> |
||
270 | <Anchor point="TOPLEFT" relativeTo="$parentButton2" relativePoint="BOTTOMLEFT"> |
||
271 | <Offset> |
||
272 | <AbsDimension x="0" y="0" /> |
||
273 | </Offset> |
||
274 | </Anchor> |
||
275 | </Anchors> |
||
276 | </Button> |
||
277 | <Button name="$parentButton4" inherits="WIM_HistoryUsersButtonTemplate"> |
||
278 | <Anchors> |
||
279 | <Anchor point="TOPLEFT" relativeTo="$parentButton3" relativePoint="BOTTOMLEFT"> |
||
280 | <Offset> |
||
281 | <AbsDimension x="0" y="0" /> |
||
282 | </Offset> |
||
283 | </Anchor> |
||
284 | </Anchors> |
||
285 | </Button> |
||
286 | <Button name="$parentButton5" inherits="WIM_HistoryUsersButtonTemplate"> |
||
287 | <Anchors> |
||
288 | <Anchor point="TOPLEFT" relativeTo="$parentButton4" relativePoint="BOTTOMLEFT"> |
||
289 | <Offset> |
||
290 | <AbsDimension x="0" y="0" /> |
||
291 | </Offset> |
||
292 | </Anchor> |
||
293 | </Anchors> |
||
294 | </Button> |
||
295 | <Button name="$parentButton6" inherits="WIM_HistoryUsersButtonTemplate"> |
||
296 | <Anchors> |
||
297 | <Anchor point="TOPLEFT" relativeTo="$parentButton5" relativePoint="BOTTOMLEFT"> |
||
298 | <Offset> |
||
299 | <AbsDimension x="0" y="0" /> |
||
300 | </Offset> |
||
301 | </Anchor> |
||
302 | </Anchors> |
||
303 | </Button> |
||
304 | <Button name="$parentButton7" inherits="WIM_HistoryUsersButtonTemplate"> |
||
305 | <Anchors> |
||
306 | <Anchor point="TOPLEFT" relativeTo="$parentButton6" relativePoint="BOTTOMLEFT"> |
||
307 | <Offset> |
||
308 | <AbsDimension x="0" y="0" /> |
||
309 | </Offset> |
||
310 | </Anchor> |
||
311 | </Anchors> |
||
312 | </Button> |
||
313 | <Button name="$parentButton8" inherits="WIM_HistoryUsersButtonTemplate"> |
||
314 | <Anchors> |
||
315 | <Anchor point="TOPLEFT" relativeTo="$parentButton7" relativePoint="BOTTOMLEFT"> |
||
316 | <Offset> |
||
317 | <AbsDimension x="0" y="0" /> |
||
318 | </Offset> |
||
319 | </Anchor> |
||
320 | </Anchors> |
||
321 | </Button> |
||
322 | <Button name="$parentButton9" inherits="WIM_HistoryUsersButtonTemplate"> |
||
323 | <Anchors> |
||
324 | <Anchor point="TOPLEFT" relativeTo="$parentButton8" relativePoint="BOTTOMLEFT"> |
||
325 | <Offset> |
||
326 | <AbsDimension x="0" y="0" /> |
||
327 | </Offset> |
||
328 | </Anchor> |
||
329 | </Anchors> |
||
330 | </Button> |
||
331 | <Button name="$parentButton10" inherits="WIM_HistoryUsersButtonTemplate"> |
||
332 | <Anchors> |
||
333 | <Anchor point="TOPLEFT" relativeTo="$parentButton9" relativePoint="BOTTOMLEFT"> |
||
334 | <Offset> |
||
335 | <AbsDimension x="0" y="0" /> |
||
336 | </Offset> |
||
337 | </Anchor> |
||
338 | </Anchors> |
||
339 | </Button> |
||
340 | <Button name="$parentButton11" inherits="WIM_HistoryUsersButtonTemplate"> |
||
341 | <Anchors> |
||
342 | <Anchor point="TOPLEFT" relativeTo="$parentButton10" relativePoint="BOTTOMLEFT"> |
||
343 | <Offset> |
||
344 | <AbsDimension x="0" y="0" /> |
||
345 | </Offset> |
||
346 | </Anchor> |
||
347 | </Anchors> |
||
348 | </Button> |
||
349 | <Button name="$parentButton12" inherits="WIM_HistoryUsersButtonTemplate"> |
||
350 | <Anchors> |
||
351 | <Anchor point="TOPLEFT" relativeTo="$parentButton11" relativePoint="BOTTOMLEFT"> |
||
352 | <Offset> |
||
353 | <AbsDimension x="0" y="0" /> |
||
354 | </Offset> |
||
355 | </Anchor> |
||
356 | </Anchors> |
||
357 | </Button> |
||
358 | <Button name="$parentButton13" inherits="WIM_HistoryUsersButtonTemplate"> |
||
359 | <Anchors> |
||
360 | <Anchor point="TOPLEFT" relativeTo="$parentButton12" relativePoint="BOTTOMLEFT"> |
||
361 | <Offset> |
||
362 | <AbsDimension x="0" y="0" /> |
||
363 | </Offset> |
||
364 | </Anchor> |
||
365 | </Anchors> |
||
366 | </Button> |
||
367 | <Button name="$parentButton14" inherits="WIM_HistoryUsersButtonTemplate"> |
||
368 | <Anchors> |
||
369 | <Anchor point="TOPLEFT" relativeTo="$parentButton13" relativePoint="BOTTOMLEFT"> |
||
370 | <Offset> |
||
371 | <AbsDimension x="0" y="0" /> |
||
372 | </Offset> |
||
373 | </Anchor> |
||
374 | </Anchors> |
||
375 | </Button> |
||
376 | <Button name="$parentButton15" inherits="WIM_HistoryUsersButtonTemplate"> |
||
377 | <Anchors> |
||
378 | <Anchor point="TOPLEFT" relativeTo="$parentButton14" relativePoint="BOTTOMLEFT"> |
||
379 | <Offset> |
||
380 | <AbsDimension x="0" y="0" /> |
||
381 | </Offset> |
||
382 | </Anchor> |
||
383 | </Anchors> |
||
384 | </Button> |
||
385 | </Frames> |
||
386 | </Frame> |
||
387 | <Frame name="$parentFilterList" inherits="WIM_Options_PanelTemplate"> |
||
388 | <Size> |
||
389 | <AbsDimension x="160" y="160" /> |
||
390 | </Size> |
||
391 | <Anchors> |
||
392 | <Anchor point="TOPLEFT" relativeTo="$parentNameList" relativePoint="BOTTOMLEFT"> |
||
393 | <Offset> |
||
394 | <AbsDimension x="0" y="4" /> |
||
395 | </Offset> |
||
396 | </Anchor> |
||
397 | </Anchors> |
||
398 | <Frames> |
||
399 | <Frame name="$parentTitle" inherits="WIM_Options_PanelTemplate"> |
||
400 | <Size> |
||
401 | <AbsDimension x="50" y="30" /> |
||
402 | </Size> |
||
403 | <Anchors> |
||
404 | <Anchor point="TOPLEFT"> |
||
405 | <Offset> |
||
406 | <AbsDimension x="2" y="-1" /> |
||
407 | </Offset> |
||
408 | </Anchor> |
||
409 | <Anchor point="RIGHT"> |
||
410 | <Offset> |
||
411 | <AbsDimension x="-2" y="0" /> |
||
412 | </Offset> |
||
413 | </Anchor> |
||
414 | </Anchors> |
||
415 | <Layers> |
||
416 | <Layer level="OVERLAY"> |
||
417 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Filters"> |
||
418 | <Anchors> |
||
419 | <Anchor point="CENTER"> |
||
420 | <Offset> |
||
421 | <AbsDimension x="0" y="0"/> |
||
422 | </Offset> |
||
423 | </Anchor> |
||
424 | </Anchors> |
||
425 | <FontHeight> |
||
426 | <AbsValue val="12" /> |
||
427 | </FontHeight> |
||
428 | <Color r="1" g="1" b="1" /> |
||
429 | <Shadow> |
||
430 | <Color r="0" g="0" b="0" /> |
||
431 | <Offset> |
||
432 | <AbsDimension x="1" y="-1" /> |
||
433 | </Offset> |
||
434 | </Shadow> |
||
435 | </FontString> |
||
436 | </Layer> |
||
437 | </Layers> |
||
438 | </Frame> |
||
439 | <ScrollFrame name="$parentScrollBar" inherits="FauxScrollFrameTemplate"> |
||
440 | <Anchors> |
||
441 | <Anchor point="TOPLEFT" relativeTo="$parentTitle" relativePoint="BOTTOMLEFT"> |
||
442 | <Offset> |
||
443 | <AbsDimension x="0" y="-2"/> |
||
444 | </Offset> |
||
445 | </Anchor> |
||
446 | <Anchor point="BOTTOMRIGHT"> |
||
447 | <Offset> |
||
448 | <AbsDimension x="-30" y="12"/> |
||
449 | </Offset> |
||
450 | </Anchor> |
||
451 | </Anchors> |
||
452 | <Scripts> |
||
453 | <OnVerticalScroll> |
||
454 | FauxScrollFrame_OnVerticalScroll(16, WIM_HistoryViewFiltersScrollBar_Update); |
||
455 | </OnVerticalScroll> |
||
456 | <OnShow> |
||
457 | WIM_HistoryViewFiltersScrollBar_Update(); |
||
458 | </OnShow> |
||
459 | </Scripts> |
||
460 | </ScrollFrame> |
||
461 | <Button name="$parentButton1" inherits="WIM_HistoryFiltersButtonTemplate"> |
||
462 | <Anchors> |
||
463 | <Anchor point="TOPLEFT" relativeTo="$parentScrollBar" relativePoint="TOPLEFT"> |
||
464 | <Offset> |
||
465 | <AbsDimension x="0" y="0" /> |
||
466 | </Offset> |
||
467 | </Anchor> |
||
468 | </Anchors> |
||
469 | </Button> |
||
470 | <Button name="$parentButton2" inherits="WIM_HistoryFiltersButtonTemplate"> |
||
471 | <Anchors> |
||
472 | <Anchor point="TOPLEFT" relativeTo="$parentButton1" relativePoint="BOTTOMLEFT"> |
||
473 | <Offset> |
||
474 | <AbsDimension x="0" y="0" /> |
||
475 | </Offset> |
||
476 | </Anchor> |
||
477 | </Anchors> |
||
478 | </Button> |
||
479 | <Button name="$parentButton3" inherits="WIM_HistoryFiltersButtonTemplate"> |
||
480 | <Anchors> |
||
481 | <Anchor point="TOPLEFT" relativeTo="$parentButton2" relativePoint="BOTTOMLEFT"> |
||
482 | <Offset> |
||
483 | <AbsDimension x="0" y="0" /> |
||
484 | </Offset> |
||
485 | </Anchor> |
||
486 | </Anchors> |
||
487 | </Button> |
||
488 | <Button name="$parentButton4" inherits="WIM_HistoryFiltersButtonTemplate"> |
||
489 | <Anchors> |
||
490 | <Anchor point="TOPLEFT" relativeTo="$parentButton3" relativePoint="BOTTOMLEFT"> |
||
491 | <Offset> |
||
492 | <AbsDimension x="0" y="0" /> |
||
493 | </Offset> |
||
494 | </Anchor> |
||
495 | </Anchors> |
||
496 | </Button> |
||
497 | <Button name="$parentButton5" inherits="WIM_HistoryFiltersButtonTemplate"> |
||
498 | <Anchors> |
||
499 | <Anchor point="TOPLEFT" relativeTo="$parentButton4" relativePoint="BOTTOMLEFT"> |
||
500 | <Offset> |
||
501 | <AbsDimension x="0" y="0" /> |
||
502 | </Offset> |
||
503 | </Anchor> |
||
504 | </Anchors> |
||
505 | </Button> |
||
506 | <Button name="$parentButton6" inherits="WIM_HistoryFiltersButtonTemplate"> |
||
507 | <Anchors> |
||
508 | <Anchor point="TOPLEFT" relativeTo="$parentButton5" relativePoint="BOTTOMLEFT"> |
||
509 | <Offset> |
||
510 | <AbsDimension x="0" y="0" /> |
||
511 | </Offset> |
||
512 | </Anchor> |
||
513 | </Anchors> |
||
514 | </Button> |
||
515 | <Button name="$parentButton7" inherits="WIM_HistoryFiltersButtonTemplate"> |
||
516 | <Anchors> |
||
517 | <Anchor point="TOPLEFT" relativeTo="$parentButton6" relativePoint="BOTTOMLEFT"> |
||
518 | <Offset> |
||
519 | <AbsDimension x="0" y="0" /> |
||
520 | </Offset> |
||
521 | </Anchor> |
||
522 | </Anchors> |
||
523 | </Button> |
||
524 | </Frames> |
||
525 | </Frame> |
||
526 | <Frame name="$parentMessageList" inherits="WIM_Options_PanelTemplate"> |
||
527 | <Size> |
||
528 | <AbsDimension x="160" y="30" /> |
||
529 | </Size> |
||
530 | <Anchors> |
||
531 | <Anchor point="TOPLEFT" relativeTo="$parentNameList" relativePoint="TOPRIGHT"> |
||
532 | <Offset> |
||
533 | <AbsDimension x="3" y="0" /> |
||
534 | </Offset> |
||
535 | </Anchor> |
||
536 | <Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="BOTTOMRIGHT"> |
||
537 | <Offset> |
||
538 | <AbsDimension x="-12" y="9" /> |
||
539 | </Offset> |
||
540 | </Anchor> |
||
541 | </Anchors> |
||
542 | <Frames> |
||
543 | <Frame name="$parentTitle" inherits="WIM_Options_PanelTemplate"> |
||
544 | <Size> |
||
545 | <AbsDimension x="50" y="30" /> |
||
546 | </Size> |
||
547 | <Anchors> |
||
548 | <Anchor point="TOPLEFT"> |
||
549 | <Offset> |
||
550 | <AbsDimension x="2" y="-1" /> |
||
551 | </Offset> |
||
552 | </Anchor> |
||
553 | <Anchor point="RIGHT"> |
||
554 | <Offset> |
||
555 | <AbsDimension x="-2" y="0" /> |
||
556 | </Offset> |
||
557 | </Anchor> |
||
558 | </Anchors> |
||
559 | <Layers> |
||
560 | <Layer level="OVERLAY"> |
||
561 | <FontString name="$parentText" font="Fonts\FRIZQT__.TTF" text="Messages"> |
||
562 | <Anchors> |
||
563 | <Anchor point="CENTER"> |
||
564 | <Offset> |
||
565 | <AbsDimension x="0" y="0"/> |
||
566 | </Offset> |
||
567 | </Anchor> |
||
568 | </Anchors> |
||
569 | <FontHeight> |
||
570 | <AbsValue val="12" /> |
||
571 | </FontHeight> |
||
572 | <Color r="1" g="1" b="1" /> |
||
573 | <Shadow> |
||
574 | <Color r="0" g="0" b="0" /> |
||
575 | <Offset> |
||
576 | <AbsDimension x="1" y="-1" /> |
||
577 | </Offset> |
||
578 | </Shadow> |
||
579 | </FontString> |
||
580 | </Layer> |
||
581 | </Layers> |
||
582 | </Frame> |
||
583 | <ScrollingMessageFrame name="$parentScrollingMessageFrame" enableMouse="true" fade="false" maxLines="500" movable="true"> |
||
584 | <Anchors> |
||
585 | <Anchor point="TOPLEFT" relativeTo="$parentTitle" relativePoing="TOPLEFT"> |
||
586 | <Offset> |
||
587 | <AbsDimension x="10" y="-30" /> |
||
588 | </Offset> |
||
589 | </Anchor> |
||
590 | <Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoing="TOPLEFT"> |
||
591 | <Offset> |
||
592 | <AbsDimension x="-35" y="15" /> |
||
593 | </Offset> |
||
594 | </Anchor> |
||
595 | </Anchors> |
||
596 | <FontString font="Fonts\FRIZQT__.TTF" justifyH="LEFT"> |
||
597 | <FontHeight> |
||
598 | <AbsValue val="12" /> |
||
599 | </FontHeight> |
||
600 | <Color r="1" g="0.8196079" b="0" /> |
||
601 | <Shadow> |
||
602 | <Color r="0" g="0" b="0" /> |
||
603 | <Offset> |
||
604 | <AbsDimension x="1" y="-1" /> |
||
605 | </Offset> |
||
606 | </Shadow> |
||
607 | </FontString> |
||
608 | <TextInsets> |
||
609 | <AbsInset left="0" right="10" top="0" bottom="0" /> |
||
610 | </TextInsets> |
||
611 | <Scripts> |
||
612 | <OnMouseWheel> |
||
613 | if(arg1 > 0) then |
||
614 | if( IsShiftKeyDown() ) then |
||
615 | this:PageUp(); |
||
616 | else |
||
617 | this:ScrollUp(); |
||
618 | end |
||
619 | else |
||
620 | if( IsShiftKeyDown() ) then |
||
621 | this:PageDown(); |
||
622 | else |
||
623 | this:ScrollDown(); |
||
624 | end |
||
625 | end |
||
626 | </OnMouseWheel> |
||
627 | <OnHyperlinkClick> |
||
628 | ChatFrame_OnHyperlinkShow(arg1, arg2, arg3); |
||
629 | </OnHyperlinkClick> |
||
630 | <OnMessageScrollChanged> |
||
631 | WIM_UpdateScrollBars(this); |
||
632 | </OnMessageScrollChanged> |
||
633 | <OnMouseDown> |
||
634 | this:GetParent():GetParent():StartMoving(); |
||
635 | this:GetParent():GetParent().isMoving = true; |
||
636 | </OnMouseDown> |
||
637 | <OnMouseUp> |
||
638 | this:GetParent():GetParent():StopMovingOrSizing(); |
||
639 | this:GetParent():GetParent().isMoving = false; |
||
640 | </OnMouseUp> |
||
641 | </Scripts> |
||
642 | </ScrollingMessageFrame> |
||
643 | <Button name="$parentScrollUp"> |
||
644 | <Size> |
||
645 | <AbsDimension x="32" y="32"/> |
||
646 | </Size> |
||
647 | <Anchors> |
||
648 | <Anchor point="TOPLEFT" relativeTo="$parentScrollingMessageFrame" relativePoint="TOPRIGHT"> |
||
649 | <Offset> |
||
650 | <AbsDimension x="0" y="0"/> |
||
651 | </Offset> |
||
652 | </Anchor> |
||
653 | </Anchors> |
||
654 | <NormalTexture file="Interface\Buttons\UI-ScrollBar-ScrollUpButton-Up"/> |
||
655 | <PushedTexture file="Interface\Buttons\UI-ScrollBar-ScrollUpButton-Down"/> |
||
656 | <DisabledTexture file="Interface\Buttons\UI-ScrollBar-ScrollUpButton-Disabled"/> |
||
657 | <HighlightTexture alphaMode="ADD" file="Interface\Buttons\UI-ScrollBar-ScrollUpButton-Highlight"/> |
||
658 | <Scripts> |
||
659 | <OnLoad> |
||
660 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
661 | </OnLoad> |
||
662 | <OnClick> |
||
663 | if( IsShiftKeyDown() ) then |
||
664 | getglobal(this:GetParent():GetName().."ScrollingMessageFrame"):PageUp(); |
||
665 | else |
||
666 | getglobal(this:GetParent():GetName().."ScrollingMessageFrame"):ScrollUp(); |
||
667 | end |
||
668 | WIM_UpdateScrollBars(getglobal(this:GetParent():GetName().."ScrollingMessageFrame")); |
||
669 | </OnClick> |
||
670 | </Scripts> |
||
671 | </Button> |
||
672 | <Button name="$parentScrollDown"> |
||
673 | <Size> |
||
674 | <AbsDimension x="32" y="32"/> |
||
675 | </Size> |
||
676 | <Anchors> |
||
677 | <Anchor point="BOTTOMLEFT" relativeTo="$parentScrollingMessageFrame" relativePoint="BOTTOMRIGHT"> |
||
678 | <Offset> |
||
679 | <AbsDimension x="0" y="0"/> |
||
680 | </Offset> |
||
681 | </Anchor> |
||
682 | </Anchors> |
||
683 | <NormalTexture file="Interface\Buttons\UI-ScrollBar-ScrollDownButton-Up"/> |
||
684 | <PushedTexture file="Interface\Buttons\UI-ScrollBar-ScrollDownButton-Down"/> |
||
685 | <DisabledTexture file="Interface\Buttons\UI-ScrollBar-ScrollDownButton-Disabled"/> |
||
686 | <HighlightTexture alphaMode="ADD" file="Interface\Buttons\UI-ScrollBar-ScrollDownButton-Highlight"/> |
||
687 | <Scripts> |
||
688 | <OnLoad> |
||
689 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
690 | </OnLoad> |
||
691 | <OnClick> |
||
692 | if( IsShiftKeyDown() ) then |
||
693 | getglobal(this:GetParent():GetName().."ScrollingMessageFrame"):PageDown(); |
||
694 | else |
||
695 | getglobal(this:GetParent():GetName().."ScrollingMessageFrame"):ScrollDown(); |
||
696 | end |
||
697 | WIM_UpdateScrollBars(getglobal(this:GetParent():GetName().."ScrollingMessageFrame")); |
||
698 | </OnClick> |
||
699 | </Scripts> |
||
700 | </Button> |
||
701 | </Frames> |
||
702 | </Frame> |
||
703 | |||
704 | |||
705 | |||
706 | |||
707 | |||
708 | </Frames> |
||
709 | <Scripts> |
||
710 | <OnLoad> |
||
711 | tinsert(UISpecialFrames,this:GetName()); |
||
712 | this:RegisterForDrag("LeftButton"); |
||
713 | </OnLoad> |
||
714 | <OnDragStart> |
||
715 | this:StartMoving(); |
||
716 | this.isMoving = true; |
||
717 | </OnDragStart> |
||
718 | <OnDragStop> |
||
719 | this:StopMovingOrSizing(); |
||
720 | this.isMoving = false; |
||
721 | </OnDragStop> |
||
722 | <OnShow> |
||
723 | PlaySound("igMainMenuOpen"); |
||
724 | WIM_HistoryFrameMessageListScrollingMessageFrame:SetFont("Fonts\\FRIZQT__.TTF",WIM_Data.fontSize); |
||
725 | WIM_HistoryViewNameScrollBar_Update(); |
||
726 | WIM_HistoryViewFiltersScrollBar_Update(); |
||
727 | </OnShow> |
||
728 | <OnHide> |
||
729 | WIM_Help_Description_Click(); |
||
730 | PlaySound("igMainMenuClose"); |
||
731 | </OnHide> |
||
732 | </Scripts> |
||
733 | </Frame> |
||
734 | |||
735 | </Ui> |