vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | <Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/"> |
2 | <!-- Frame to handle all core events --> |
||
3 | <Frame name="VanasKoS_CoreFrame"> |
||
4 | <Scripts> |
||
5 | <OnLoad> |
||
6 | VanasKoS_CoreFrame:Hide(); |
||
7 | </OnLoad> |
||
8 | |||
9 | <OnUpdate> |
||
10 | VanasKoS:OnUpdate(); |
||
11 | </OnUpdate> |
||
12 | </Scripts> |
||
13 | </Frame> |
||
14 | |||
15 | <Frame name="VanasKoS_WarnFrame" toplevel="true" enableMouse="true" parent="UIParent" movable="true" hidden="false"> |
||
16 | <Size> |
||
17 | <AbsDimension x="130" y="81" /> |
||
18 | </Size> |
||
19 | |||
20 | <Anchors> |
||
21 | <Anchor point="CENTER" /> |
||
22 | </Anchors> |
||
23 | |||
24 | <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
25 | <BackgroundInsets> |
||
26 | <AbsInset left="5" right="4" top="5" bottom="5" /> |
||
27 | </BackgroundInsets> |
||
28 | |||
29 | <TileSize> |
||
30 | <AbsValue val="16" /> |
||
31 | </TileSize> |
||
32 | |||
33 | <EdgeSize> |
||
34 | <AbsValue val="16" /> |
||
35 | </EdgeSize> |
||
36 | </Backdrop> |
||
37 | |||
38 | <TitleRegion setAllPoints="true" /> |
||
39 | |||
40 | <Frames> |
||
41 | <Frame setAllPoints="true"> |
||
42 | <Frames> |
||
43 | <Frame setAllPoints="true"> |
||
44 | <Layers> |
||
45 | <Layer level="BACKGROUND"> |
||
46 | <FontString name="$parentText0" inherits="TextStatusBarText" /> |
||
47 | <FontString name="$parentText1" inherits="TextStatusBarText" /> |
||
48 | <FontString name="$parentText2" inherits="TextStatusBarText" /> |
||
49 | <FontString name="$parentText3" inherits="TextStatusBarText" /> |
||
50 | <FontString name="$parentText4" inherits="TextStatusBarText" /> |
||
51 | </Layer> |
||
52 | </Layers> |
||
53 | </Frame> |
||
54 | </Frames> |
||
55 | </Frame> |
||
56 | </Frames> |
||
57 | |||
58 | <Scripts> |
||
59 | <OnLoad> |
||
60 | VanasKoS_WarnFrame:SetBackdropColor(0.5, 0.5, 1.0, 0.5); |
||
61 | VanasKoS_WarnFrameText0:SetPoint("TOP", "VanasKoS_WarnFrame", 0, -6); |
||
62 | VanasKoS_WarnFrameText1:SetPoint("TOP", "VanasKoS_WarnFrameText0", "BOTTOM", 0, 0); |
||
63 | VanasKoS_WarnFrameText2:SetPoint("TOP", "VanasKoS_WarnFrameText1", "BOTTOM", 0, 0); |
||
64 | VanasKoS_WarnFrameText3:SetPoint("TOP", "VanasKoS_WarnFrameText2", "BOTTOM", 0, 0); |
||
65 | VanasKoS_WarnFrameText4:SetPoint("TOP", "VanasKoS_WarnFrameText3", "BOTTOM", 0, 0); |
||
66 | </OnLoad> |
||
67 | </Scripts> |
||
68 | </Frame> |
||
69 | |||
70 | <Button name="VanasKoSFrameTabTemplate" inherits="CharacterFrameTabButtonTemplate" virtual="true"> |
||
71 | <Scripts> |
||
72 | <OnClick> |
||
73 | PanelTemplates_Tab_OnClick(VanasKoSFrame); |
||
74 | VanasKoS:GUIOnUpdate(); |
||
75 | </OnClick> |
||
76 | </Scripts> |
||
77 | </Button> |
||
78 | |||
79 | <Button name="VanasKoSListFrameListButtonTemplate" virtual="true"> |
||
80 | <Size> |
||
81 | <AbsDimension x="298" y="31" /> |
||
82 | </Size> |
||
83 | <Frames> |
||
84 | <Frame Name="$parentButtonText" setAllPoints="true"> |
||
85 | <Layers> |
||
86 | <Layer level="BORDER"> |
||
87 | <FontString name="$parentName" inherits="GameFontNormal"> |
||
88 | <Anchors> |
||
89 | <Anchor point="TOPLEFT"> |
||
90 | <Offset> |
||
91 | <AbsDimension x="10" y="-3" /> |
||
92 | </Offset> |
||
93 | </Anchor> |
||
94 | </Anchors> |
||
95 | </FontString> |
||
96 | <FontString name="$parentReason" inherits="GameFontHighlightSmall" justifyH="LEFT"> |
||
97 | <Anchors> |
||
98 | <Anchor point="TOPLEFT" relativeTo="$parentName" relativePoint="BOTTOMLEFT"> |
||
99 | <Offset> |
||
100 | <AbsDimension x="0" y="0" /> |
||
101 | </Offset> |
||
102 | </Anchor> |
||
103 | </Anchors> |
||
104 | </FontString> |
||
105 | </Layer> |
||
106 | </Layers> |
||
107 | </Frame> |
||
108 | </Frames> |
||
109 | <Scripts> |
||
110 | <OnLoad> |
||
111 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
112 | </OnLoad> |
||
113 | <OnClick> |
||
114 | VanasKoS:GUIListButton_OnClick(arg1); |
||
115 | </OnClick> |
||
116 | </Scripts> |
||
117 | <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD" /> |
||
118 | </Button> |
||
119 | |||
120 | <Frame name="VanasKoSFrame" toplevel="true" parent="UIParent" movable="true" enableMouse="true" hidden="true"> |
||
121 | <Size> |
||
122 | <AbsDimension x="384" y="512" /> |
||
123 | </Size> |
||
124 | |||
125 | <Anchors> |
||
126 | <Anchor point="TOPLEFT"> |
||
127 | <Offset> |
||
128 | <AbsDimension x="0" y="-104" /> |
||
129 | </Offset> |
||
130 | </Anchor> |
||
131 | </Anchors> |
||
132 | |||
133 | <HitRectInsets> |
||
134 | <AbsInset left="0" right="30" top="0" bottom="45" /> |
||
135 | </HitRectInsets> |
||
136 | |||
137 | <Layers> |
||
138 | <Layer level="BACKGROUND"> |
||
139 | <Texture file="Interface\FriendsFrame\FriendsFrameScrollIcon"> |
||
140 | <Size> |
||
141 | <AbsDimension x="60" y="60" /> |
||
142 | </Size> |
||
143 | |||
144 | <Anchors> |
||
145 | <Anchor point="TOPLEFT"> |
||
146 | <Offset> |
||
147 | <AbsDimension x="7" y="-6" /> |
||
148 | </Offset> |
||
149 | </Anchor> |
||
150 | </Anchors> |
||
151 | </Texture> |
||
152 | </Layer> |
||
153 | |||
154 | <Layer level="ARTWORK"> |
||
155 | <Texture name="VanasKoSFrameTopLeft" file="Interface\PaperDollInfoFrame\UI-Character-General-TopLeft"> |
||
156 | <Size> |
||
157 | <AbsDimension x="256" y="256" /> |
||
158 | </Size> |
||
159 | |||
160 | <Anchors> |
||
161 | <Anchor point="TOPLEFT"> |
||
162 | <Offset> |
||
163 | <AbsDimension x="0" y="0" /> |
||
164 | </Offset> |
||
165 | </Anchor> |
||
166 | </Anchors> |
||
167 | </Texture> |
||
168 | |||
169 | <Texture name="VanasKoSFrameTopRight" file="Interface\PaperDollInfoFrame\UI-Character-General-TopRight"> |
||
170 | <Size> |
||
171 | <AbsDimension x="128" y="256" /> |
||
172 | </Size> |
||
173 | |||
174 | <Anchors> |
||
175 | <Anchor point="TOPRIGHT"> |
||
176 | <Offset> |
||
177 | <AbsDimension x="0" y="0" /> |
||
178 | </Offset> |
||
179 | </Anchor> |
||
180 | </Anchors> |
||
181 | </Texture> |
||
182 | |||
183 | <Texture name="VanasKoSFrameBottomLeft" file="Interface\FriendsFrame\UI-FriendsFrame-BotLeft"> |
||
184 | <Size> |
||
185 | <AbsDimension x="256" y="256" /> |
||
186 | </Size> |
||
187 | |||
188 | <Anchors> |
||
189 | <Anchor point="BOTTOMLEFT"> |
||
190 | <Offset> |
||
191 | <AbsDimension x="0" y="0" /> |
||
192 | </Offset> |
||
193 | </Anchor> |
||
194 | </Anchors> |
||
195 | </Texture> |
||
196 | |||
197 | <Texture name="VanasKoSFrameBottomRight" file="Interface\FriendsFrame\UI-FriendsFrame-BotRight"> |
||
198 | <Size> |
||
199 | <AbsDimension x="128" y="256" /> |
||
200 | </Size> |
||
201 | |||
202 | <Anchors> |
||
203 | <Anchor point="BOTTOMRIGHT"> |
||
204 | <Offset> |
||
205 | <AbsDimension x="0" y="0" /> |
||
206 | </Offset> |
||
207 | </Anchor> |
||
208 | </Anchors> |
||
209 | </Texture> |
||
210 | </Layer> |
||
211 | |||
212 | <Layer level="OVERLAY"> |
||
213 | <FontString name="VanasKoSFrameTitleText" inherits="GameFontNormal"> |
||
214 | <Anchors> |
||
215 | <Anchor point="TOP"> |
||
216 | <Offset> |
||
217 | <AbsDimension x="0" y="-18" /> |
||
218 | </Offset> |
||
219 | </Anchor> |
||
220 | </Anchors> |
||
221 | </FontString> |
||
222 | </Layer> |
||
223 | </Layers> |
||
224 | |||
225 | <Frames> |
||
226 | <Button name="VanasKoSFrameCloseButton" inherits="UIPanelCloseButton"> |
||
227 | <Anchors> |
||
228 | <Anchor point="TOPRIGHT"> |
||
229 | <Offset> |
||
230 | <AbsDimension x="-30" y="-8" /> |
||
231 | </Offset> |
||
232 | </Anchor> |
||
233 | </Anchors> |
||
234 | </Button> |
||
235 | |||
236 | <Frame name="VanasKoSListFrame" hodden="true" setAllPoints="true"> |
||
237 | <Frames> |
||
238 | <Frame name="VanasKoSPlayersListFrame" hidden="true" setAllPoints="true"> |
||
239 | <Frames> |
||
240 | <Button name="VanasKoSPlayersListFrameToggleTab1" inherits="TabButtonTemplate" text="VANASKOS_TEXT_PLAYERS" id="1"> |
||
241 | <Anchors> |
||
242 | <Anchor point="TOPLEFT" relativeTo="VanasKoSFrame"> |
||
243 | <Offset> |
||
244 | <AbsDimension x="70" y="-39" /> |
||
245 | </Offset> |
||
246 | </Anchor> |
||
247 | </Anchors> |
||
248 | |||
249 | <Scripts> |
||
250 | <OnLoad> |
||
251 | PanelTemplates_SelectTab(this); |
||
252 | PanelTemplates_TabResize(0); |
||
253 | VanasKoSFrame.showPlayersList = 1; |
||
254 | getglobal(this:GetName().."HighlightTexture"):SetWidth(this:GetTextWidth() + 31); |
||
255 | </OnLoad> |
||
256 | </Scripts> |
||
257 | </Button> |
||
258 | |||
259 | <Button name="VanasKoSPlayersListFrameToggleTab2" inherits="TabButtonTemplate" text="VANASKOS_TEXT_GUILDS" id="2"> |
||
260 | <Anchors> |
||
261 | <Anchor point="LEFT" relativeTo="VanasKoSPlayersListFrameToggleTab1" relativePoint="RIGHT"> |
||
262 | <Offset> |
||
263 | <AbsDimension x="0" y="0" /> |
||
264 | </Offset> |
||
265 | </Anchor> |
||
266 | </Anchors> |
||
267 | |||
268 | <Scripts> |
||
269 | <OnShow> |
||
270 | PanelTemplates_DeselectTab(this); |
||
271 | </OnShow> |
||
272 | |||
273 | <OnClick> |
||
274 | VanasKoSFrame.showPlayersList = nil; |
||
275 | VanasKoS:GUIOnUpdate(); |
||
276 | </OnClick> |
||
277 | </Scripts> |
||
278 | </Button> |
||
279 | </Frames> |
||
280 | <Scripts> |
||
281 | <OnShow> |
||
282 | VanasKoS:GUIOnUpdate(); |
||
283 | </OnShow> |
||
284 | </Scripts> |
||
285 | </Frame> |
||
286 | |||
287 | <Frame name="VanasKoSGuildsListFrame" hidden="true" setAllPoints="true"> |
||
288 | <Frames> |
||
289 | <Button name="VanasKoSGuildsListFrameToggleTab1" inherits="TabButtonTemplate" text="VANASKOS_TEXT_PLAYERS" id="1"> |
||
290 | <Anchors> |
||
291 | <Anchor point="TOPLEFT" relativeTo="VanasKoSFrame"> |
||
292 | <Offset> |
||
293 | <AbsDimension x="70" y="-39" /> |
||
294 | </Offset> |
||
295 | </Anchor> |
||
296 | </Anchors> |
||
297 | |||
298 | <Scripts> |
||
299 | <OnShow> |
||
300 | PanelTemplates_DeselectTab(this); |
||
301 | </OnShow> |
||
302 | |||
303 | <OnClick> |
||
304 | VanasKoSFrame.showPlayersList = 1; |
||
305 | VanasKoS:GUIOnUpdate(); |
||
306 | </OnClick> |
||
307 | </Scripts> |
||
308 | </Button> |
||
309 | |||
310 | <Button name="VanasKoSGuildsListFrameToggleTab2" inherits="TabButtonTemplate" text="VANASKOS_TEXT_GUILDS" id="2"> |
||
311 | <Anchors> |
||
312 | <Anchor point="LEFT" relativeTo="VanasKoSGuildsListFrameToggleTab1" relativePoint="RIGHT"> |
||
313 | <Offset> |
||
314 | <AbsDimension x="0" y="0" /> |
||
315 | </Offset> |
||
316 | </Anchor> |
||
317 | </Anchors> |
||
318 | |||
319 | <Scripts> |
||
320 | <OnLoad> |
||
321 | PanelTemplates_SelectTab(this); |
||
322 | PanelTemplates_TabResize(0); |
||
323 | getglobal(this:GetName().."HighlightTexture"):SetWidth(this:GetTextWidth() + 31); |
||
324 | </OnLoad> |
||
325 | </Scripts> |
||
326 | </Button> |
||
327 | </Frames> |
||
328 | </Frame> |
||
329 | <Button name="VanasKoSListFrameAddPlayerButton" inherits="UIPanelButtonTemplate" text="VANASKOS_TEXT_ADD_PLAYER"> |
||
330 | <Size> |
||
331 | <AbsDimension x="131" y="21" /> |
||
332 | </Size> |
||
333 | |||
334 | <Anchors> |
||
335 | <Anchor point="BOTTOMLEFT" relativeTo="VanasKoSFrame"> |
||
336 | <Offset> |
||
337 | <AbsDimension x="17" y="107" /> |
||
338 | </Offset> |
||
339 | </Anchor> |
||
340 | </Anchors> |
||
341 | <Scripts> |
||
342 | <OnClick> |
||
343 | VANASKOS.LastNameEntered = UnitName("target"); |
||
344 | if(VANASKOS.LastNameEntered) then |
||
345 | if(UnitIsPlayer("target")) then |
||
346 | StaticPopup_Show("VANASKOS_ADD_REASON"); |
||
347 | else |
||
348 | StaticPopup_Show("VANASKOS_ADD_PLAYER"); |
||
349 | end |
||
350 | else |
||
351 | StaticPopup_Show("VANASKOS_ADD_PLAYER"); |
||
352 | end |
||
353 | </OnClick> |
||
354 | </Scripts> |
||
355 | </Button> |
||
356 | <Button name="VanasKoSListFrameRemoveButton" inherits="UIPanelButtonTemplate" text="VANASKOS_TEXT_REMOVE_ENTRY"> |
||
357 | <Size> |
||
358 | <AbsDimension x="131" y="21" /> |
||
359 | </Size> |
||
360 | |||
361 | <Anchors> |
||
362 | <Anchor point="TOP" relativeTo="VanasKoSListFrameAddPlayerButton" relativePoint="BOTTOM"> |
||
363 | <Offset> |
||
364 | <AbsDimension x="0" y="-5" /> |
||
365 | </Offset> |
||
366 | </Anchor> |
||
367 | </Anchors> |
||
368 | <Scripts> |
||
369 | <OnClick> |
||
370 | VanasKoS:GUIRemoveDialog(); |
||
371 | </OnClick> |
||
372 | </Scripts> |
||
373 | </Button> |
||
374 | <Button name="VanasKoSListFrameAddGuildButton" inherits="UIPanelButtonTemplate" text="VANASKOS_TEXT_ADD_GUILD"> |
||
375 | <Size> |
||
376 | <AbsDimension x="131" y="21" /> |
||
377 | </Size> |
||
378 | |||
379 | <Anchors> |
||
380 | <Anchor point="LEFT" relativeTo="VanasKoSListFrameAddPlayerButton" relativePoint="RIGHT"> |
||
381 | <Offset> |
||
382 | <AbsDimension x="66" y="0" /> |
||
383 | </Offset> |
||
384 | </Anchor> |
||
385 | </Anchors> |
||
386 | <Scripts> |
||
387 | <OnClick> |
||
388 | VANASKOS.LastNameEntered = GetGuildInfo("target"); |
||
389 | if(VANASKOS.LastNameEntered) then |
||
390 | if(UnitIsPlayer("target")) then |
||
391 | StaticPopup_Show("VANASKOS_ADD_REASON_GUILD"); |
||
392 | else |
||
393 | StaticPopup_Show("VANASKOS_ADD_GUILD"); |
||
394 | end |
||
395 | else |
||
396 | StaticPopup_Show("VANASKOS_ADD_GUILD"); |
||
397 | end |
||
398 | </OnClick> |
||
399 | </Scripts> |
||
400 | </Button> |
||
401 | <Button name="VanasKoSListFrameChangeButton" inherits="UIPanelButtonTemplate" text="VANASKOS_TEXT_CHANGE_ENTRY"> |
||
402 | <Size> |
||
403 | <AbsDimension x="131" y="21" /> |
||
404 | </Size> |
||
405 | |||
406 | <Anchors> |
||
407 | <Anchor point="TOP" relativeTo="VanasKoSListFrameAddGuildButton" relativePoint="BOTTOM"> |
||
408 | <Offset> |
||
409 | <AbsDimension x="0" y="-5" /> |
||
410 | </Offset> |
||
411 | </Anchor> |
||
412 | </Anchors> |
||
413 | <Scripts> |
||
414 | <OnClick> |
||
415 | VanasKoS:GUIShowChangeDialog(); |
||
416 | </OnClick> |
||
417 | </Scripts> |
||
418 | </Button> |
||
419 | |||
420 | <Button name="VanasKoSListFrameListButton1" inherits="VanasKoSListFrameListButtonTemplate"> |
||
421 | <Anchors> |
||
422 | <Anchor point="TOPLEFT" relativeTo="VanasKoSFrame"> |
||
423 | <Offset> |
||
424 | <AbsDimension x="23" y="-76" /> |
||
425 | </Offset> |
||
426 | </Anchor> |
||
427 | </Anchors> |
||
428 | </Button> |
||
429 | <Button name="VanasKoSListFrameListButton2" inherits="VanasKoSListFrameListButtonTemplate"> |
||
430 | <Anchors> |
||
431 | <Anchor point="TOP" relativeTo="VanasKoSListFrameListButton1" relativePoint="BOTTOM"> |
||
432 | <Offset> |
||
433 | <AbsDimension x="0" y="0" /> |
||
434 | </Offset> |
||
435 | </Anchor> |
||
436 | </Anchors> |
||
437 | </Button> |
||
438 | <Button name="VanasKoSListFrameListButton3" inherits="VanasKoSListFrameListButtonTemplate"> |
||
439 | <Anchors> |
||
440 | <Anchor point="TOP" relativeTo="VanasKoSListFrameListButton2" relativePoint="BOTTOM"> |
||
441 | <Offset> |
||
442 | <AbsDimension x="0" y="0" /> |
||
443 | </Offset> |
||
444 | </Anchor> |
||
445 | </Anchors> |
||
446 | </Button> |
||
447 | <Button name="VanasKoSListFrameListButton4" inherits="VanasKoSListFrameListButtonTemplate"> |
||
448 | <Anchors> |
||
449 | <Anchor point="TOP" relativeTo="VanasKoSListFrameListButton3" relativePoint="BOTTOM"> |
||
450 | <Offset> |
||
451 | <AbsDimension x="0" y="0" /> |
||
452 | </Offset> |
||
453 | </Anchor> |
||
454 | </Anchors> |
||
455 | </Button> |
||
456 | <Button name="VanasKoSListFrameListButton5" inherits="VanasKoSListFrameListButtonTemplate"> |
||
457 | <Anchors> |
||
458 | <Anchor point="TOP" relativeTo="VanasKoSListFrameListButton4" relativePoint="BOTTOM"> |
||
459 | <Offset> |
||
460 | <AbsDimension x="0" y="0" /> |
||
461 | </Offset> |
||
462 | </Anchor> |
||
463 | </Anchors> |
||
464 | </Button> |
||
465 | <Button name="VanasKoSListFrameListButton6" inherits="VanasKoSListFrameListButtonTemplate"> |
||
466 | <Anchors> |
||
467 | <Anchor point="TOP" relativeTo="VanasKoSListFrameListButton5" relativePoint="BOTTOM"> |
||
468 | <Offset> |
||
469 | <AbsDimension x="0" y="0" /> |
||
470 | </Offset> |
||
471 | </Anchor> |
||
472 | </Anchors> |
||
473 | </Button> |
||
474 | <Button name="VanasKoSListFrameListButton7" inherits="VanasKoSListFrameListButtonTemplate"> |
||
475 | <Anchors> |
||
476 | <Anchor point="TOP" relativeTo="VanasKoSListFrameListButton6" relativePoint="BOTTOM"> |
||
477 | <Offset> |
||
478 | <AbsDimension x="0" y="0" /> |
||
479 | </Offset> |
||
480 | </Anchor> |
||
481 | </Anchors> |
||
482 | </Button> |
||
483 | <Button name="VanasKoSListFrameListButton8" inherits="VanasKoSListFrameListButtonTemplate"> |
||
484 | <Anchors> |
||
485 | <Anchor point="TOP" relativeTo="VanasKoSListFrameListButton7" relativePoint="BOTTOM"> |
||
486 | <Offset> |
||
487 | <AbsDimension x="0" y="0" /> |
||
488 | </Offset> |
||
489 | </Anchor> |
||
490 | </Anchors> |
||
491 | </Button> |
||
492 | <Button name="VanasKoSListFrameListButton9" inherits="VanasKoSListFrameListButtonTemplate"> |
||
493 | <Anchors> |
||
494 | <Anchor point="TOP" relativeTo="VanasKoSListFrameListButton8" relativePoint="BOTTOM"> |
||
495 | <Offset> |
||
496 | <AbsDimension x="0" y="0" /> |
||
497 | </Offset> |
||
498 | </Anchor> |
||
499 | </Anchors> |
||
500 | </Button> |
||
501 | <Button name="VanasKoSListFrameListButton10" inherits="VanasKoSListFrameListButtonTemplate"> |
||
502 | <Anchors> |
||
503 | <Anchor point="TOP" relativeTo="VanasKoSListFrameListButton9" relativePoint="BOTTOM"> |
||
504 | <Offset> |
||
505 | <AbsDimension x="0" y="0" /> |
||
506 | </Offset> |
||
507 | </Anchor> |
||
508 | </Anchors> |
||
509 | </Button> |
||
510 | <ScrollFrame name="VanasKoSListScrollFrame" inherits="FauxScrollFrameTemplate"> |
||
511 | <Size> |
||
512 | <AbsDimension x="296" y="304" /> |
||
513 | </Size> |
||
514 | <Anchors> |
||
515 | <Anchor point="TOPRIGHT" relativeTo="VanasKoSFrame"> |
||
516 | <Offset> |
||
517 | <AbsDimension x="-67" y="-75" /> |
||
518 | </Offset> |
||
519 | </Anchor> |
||
520 | </Anchors> |
||
521 | <Layers> |
||
522 | <Layer level="ARTWORK"> |
||
523 | <Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar"> |
||
524 | <Size> |
||
525 | <AbsDimension x="31" y="256" /> |
||
526 | </Size> |
||
527 | <Anchors> |
||
528 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT"> |
||
529 | <Offset> |
||
530 | <AbsDimension x="-2" y="5" /> |
||
531 | </Offset> |
||
532 | </Anchor> |
||
533 | </Anchors> |
||
534 | <TexCoords left="0" right="0.484375" top="0" bottom="1.0" /> |
||
535 | </Texture> |
||
536 | <Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar"> |
||
537 | <Size> |
||
538 | <AbsDimension x="31" y="106" /> |
||
539 | </Size> |
||
540 | <Anchors> |
||
541 | <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT"> |
||
542 | <Offset> |
||
543 | <AbsDimension x="-2" y="-2" /> |
||
544 | </Offset> |
||
545 | </Anchor> |
||
546 | </Anchors> |
||
547 | <TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625" /> |
||
548 | </Texture> |
||
549 | </Layer> |
||
550 | </Layers> |
||
551 | <Scripts> |
||
552 | <OnVerticalScroll> |
||
553 | <!-- 34 = Hoehe VanasKoSListFrameListButtonTemplate --> |
||
554 | FauxScrollFrame_OnVerticalScroll(34, VanasKoS_GUIOnScroll); |
||
555 | </OnVerticalScroll> |
||
556 | </Scripts> |
||
557 | </ScrollFrame> |
||
558 | </Frames> |
||
559 | </Frame> |
||
560 | |||
561 | <Frame name="VanasKoSConfigurationFrame" hidden="true" setAllPoints="true"> |
||
562 | <Frames> |
||
563 | <CheckButton name="VanasKoSConfigVisual" inherits="OptionsCheckButtonTemplate"> |
||
564 | <Anchors> |
||
565 | <Anchor point="TOPLEFT"> |
||
566 | <Offset> |
||
567 | <AbsDimension x="60" y="-140" /> |
||
568 | </Offset> |
||
569 | </Anchor> |
||
570 | </Anchors> |
||
571 | <Scripts> |
||
572 | <OnLoad> |
||
573 | getglobal(this:GetName() .. "Text"):SetText(VANASKOS_TEXT_NOTIFY_UPPER); |
||
574 | </OnLoad> |
||
575 | <OnClick> |
||
576 | VanasKoS:ToggleNotifyVisual(); |
||
577 | VanasKoS:GUIUpdateConfigurationFrame(); |
||
578 | </OnClick> |
||
579 | </Scripts> |
||
580 | </CheckButton> |
||
581 | <CheckButton name="VanasKoSConfigChatFrame" inherits="OptionsCheckButtonTemplate"> |
||
582 | <Anchors> |
||
583 | <Anchor point="TOP" relativeTo="VanasKoSConfigVisual" relativePoint="BOTTOM"> |
||
584 | <Offset> |
||
585 | <AbsDimension x="0" y="0" /> |
||
586 | </Offset> |
||
587 | </Anchor> |
||
588 | </Anchors> |
||
589 | <Scripts> |
||
590 | <OnLoad> |
||
591 | getglobal(this:GetName() .. "Text"):SetText(VANASKOS_TEXT_NOTIFY_CHATFRAME); |
||
592 | </OnLoad> |
||
593 | <OnClick> |
||
594 | VanasKoS:ToggleNotifyChatframe(); |
||
595 | VanasKoS:GUIUpdateConfigurationFrame(); |
||
596 | </OnClick> |
||
597 | </Scripts> |
||
598 | </CheckButton> |
||
599 | <CheckButton name="VanasKoSConfigWarnFrame" inherits="OptionsCheckButtonTemplate"> |
||
600 | <Anchors> |
||
601 | <Anchor point="TOP" relativeTo="VanasKoSConfigChatFrame" relativePoint="BOTTOM"> |
||
602 | <Offset> |
||
603 | <AbsDimension x="0" y="0" /> |
||
604 | </Offset> |
||
605 | </Anchor> |
||
606 | </Anchors> |
||
607 | <Scripts> |
||
608 | <OnLoad> |
||
609 | getglobal(this:GetName() .. "Text"):SetText(VANASKOS_TEXT_WARN_FRAME); |
||
610 | </OnLoad> |
||
611 | <OnClick> |
||
612 | VanasKoS:ToggleWarnFrame(); |
||
613 | VanasKoS:GUIUpdateConfigurationFrame(); |
||
614 | </OnClick> |
||
615 | </Scripts> |
||
616 | </CheckButton> |
||
617 | <CheckButton name="VanasKoSConfigPlaySound" inherits="OptionsCheckButtonTemplate"> |
||
618 | <Anchors> |
||
619 | <Anchor point="TOP" relativeTo="VanasKoSConfigWarnFrame" relativePoint="BOTTOM"> |
||
620 | <Offset> |
||
621 | <AbsDimension x="0" y="0" /> |
||
622 | </Offset> |
||
623 | </Anchor> |
||
624 | </Anchors> |
||
625 | <Scripts> |
||
626 | <OnLoad> |
||
627 | getglobal(this:GetName() .. "Text"):SetText(VANASKOS_TEXT_PLAY_SOUND); |
||
628 | </OnLoad> |
||
629 | <OnClick> |
||
630 | VanasKoS:ToggleNotifySound(); |
||
631 | VanasKoS:GUIUpdateConfigurationFrame(); |
||
632 | </OnClick> |
||
633 | </Scripts> |
||
634 | </CheckButton> |
||
635 | <EditBox name="VanasKoSConfigNotifyInterval" letters="3" autofocus="false" inherits="InputBoxTemplate"> |
||
636 | <Size> |
||
637 | <AbsDimension x="30" y="20" /> |
||
638 | </Size> |
||
639 | <Anchors> |
||
640 | <Anchor point="TOP" relativeTo="VanasKoSConfigPlaySound" relativePoint="BOTTOM"> |
||
641 | <Offset> |
||
642 | <AbsDimension x="10" y="0" /> |
||
643 | </Offset> |
||
644 | </Anchor> |
||
645 | </Anchors> |
||
646 | <Layers> |
||
647 | <Layer level="BACKGROUND"> |
||
648 | <FontString name="$parentText" inherits="GameFontNormalSmall" text="VANASKOS_TEXT_NOTIFY_INTERVAL" justifyH="LEFT"> |
||
649 | <Anchors> |
||
650 | <Anchor point="LEFT" relativePoint="RIGHT"> |
||
651 | <Offset> |
||
652 | <AbsDimension x="3" y="0" /> |
||
653 | </Offset> |
||
654 | </Anchor> |
||
655 | </Anchors> |
||
656 | </FontString> |
||
657 | </Layer> |
||
658 | </Layers> |
||
659 | <Scripts> |
||
660 | <OnHide> |
||
661 | VanasKoS:ConfigSetNotificationInterval(this:GetText()); |
||
662 | </OnHide> |
||
663 | </Scripts> |
||
664 | </EditBox> |
||
665 | </Frames> |
||
666 | <Scripts> |
||
667 | <OnShow> |
||
668 | VanasKoS:GUIUpdateConfigurationFrame(); |
||
669 | </OnShow> |
||
670 | </Scripts> |
||
671 | </Frame> |
||
672 | |||
673 | <Frame name="VanasKoSAboutFrame" hidden="true" setAllPoints="true"> |
||
674 | <Layers> |
||
675 | <Layer level="OVERLAY"> |
||
676 | <FontString name="VanasKoSAboutFrameName" text="VANASKOS_TEXT_VANASKOS" inherits="GameFontNormalLarge"> |
||
677 | <Anchors> |
||
678 | <Anchor point="TOP"> |
||
679 | <Offset> |
||
680 | <AbsDimension x="-30" y="-82" /> |
||
681 | </Offset> |
||
682 | </Anchor> |
||
683 | </Anchors> |
||
684 | </FontString> |
||
685 | <FontString name="VanasKoSAboutFrameVersion" text="VANASKOS_TEXT_VERSION" inherits="GameFontNormalLarge"> |
||
686 | <Anchors> |
||
687 | <Anchor point="LEFT" relativeTo="VanasKoSAboutFrameName" relativePoint="RIGHT"> |
||
688 | <Offset> |
||
689 | <AbsDimension x="3" y="0" /> |
||
690 | </Offset> |
||
691 | </Anchor> |
||
692 | </Anchors> |
||
693 | </FontString> |
||
694 | <FontString text="VANASKOS_TEXT_ABOUT_CREATED" inherits="GameFontHighlight"> |
||
695 | <Size> |
||
696 | <AbsDimension x="384" /> |
||
697 | </Size> |
||
698 | <Anchors> |
||
699 | <Anchor point="TOP" relativeTo="VanasKoSAboutFrameName" relativePoint="BOTTOM"> |
||
700 | <Offset> |
||
701 | <AbsDimension x="15" y="-10" /> |
||
702 | </Offset> |
||
703 | </Anchor> |
||
704 | </Anchors> |
||
705 | </FontString> |
||
706 | </Layer> |
||
707 | </Layers> |
||
708 | </Frame> |
||
709 | |||
710 | <!-- Tab Buttons bottom --> |
||
711 | <Button name="VanasKoSFrameTab1" inherits="VanasKoSFrameTabTemplate" id="1" text="VANASKOS_TEXT_LISTS"> |
||
712 | <Anchors> |
||
713 | <Anchor point="BOTTOMLEFT"> |
||
714 | <Offset> |
||
715 | <AbsDimension x="11" y="45" /> |
||
716 | </Offset> |
||
717 | </Anchor> |
||
718 | </Anchors> |
||
719 | </Button> |
||
720 | |||
721 | <Button name="VanasKoSFrameTab2" inherits="VanasKoSFrameTabTemplate" id="2" text="VANASKOS_TEXT_CONFIG"> |
||
722 | <Anchors> |
||
723 | <Anchor point="LEFT" relativeTo="VanasKoSFrameTab1" relativePoint="RIGHT"> |
||
724 | <Offset> |
||
725 | <AbsDimension x="-14" y="0" /> |
||
726 | </Offset> |
||
727 | </Anchor> |
||
728 | </Anchors> |
||
729 | </Button> |
||
730 | |||
731 | <Button name="VanasKoSFrameTab3" inherits="VanasKoSFrameTabTemplate" id="3" text="VANASKOS_TEXT_ABOUT"> |
||
732 | <Anchors> |
||
733 | <Anchor point="LEFT" relativeTo="VanasKoSFrameTab2" relativePoint="RIGHT"> |
||
734 | <Offset> |
||
735 | <AbsDimension x="-14" y="0" /> |
||
736 | </Offset> |
||
737 | </Anchor> |
||
738 | </Anchors> |
||
739 | </Button> |
||
740 | |||
741 | </Frames> |
||
742 | |||
743 | <Scripts> |
||
744 | <OnLoad> |
||
745 | PanelTemplates_SetNumTabs(this, 3); |
||
746 | VanasKoSFrame.selectedTab = 1; |
||
747 | PanelTemplates_UpdateTabs(this); |
||
748 | VanasKoSFrame.showPlayersList = 1; |
||
749 | VanasKoS:GUIFrame_ShowSubFrame("VanasKoSPlayersListFrame"); |
||
750 | VanasKoS:GUIOnUpdate(); |
||
751 | </OnLoad> |
||
752 | </Scripts> |
||
753 | </Frame> |
||
754 | </Ui> |