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 | ..\FrameXML\UI.xsd"> |
||
3 | <Script file="MetaMapWKB.loc"/> |
||
4 | <Script file="MetaMapWKB.lua"/> |
||
5 | |||
6 | <Button name="MetaKBMenu_ButtonTemplate" virtual="true"> |
||
7 | <Size> |
||
8 | <AbsDimension x="130" y="16"/> |
||
9 | </Size> |
||
10 | <Layers> |
||
11 | <Layer level="BACKGROUND"> |
||
12 | <Texture name="$parentHighlight" file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD" setAllPoints="true" hidden="true"/> |
||
13 | </Layer> |
||
14 | <Layer level="ARTWORK"> |
||
15 | <FontString name="$parentText" inherits="GameFontGreen" text=""> |
||
16 | <Anchors> |
||
17 | <Anchor point="LEFT"> |
||
18 | <Offset> |
||
19 | <AbsDimension x="-20" y="0"/> |
||
20 | </Offset> |
||
21 | </Anchor> |
||
22 | </Anchors> |
||
23 | </FontString> |
||
24 | </Layer> |
||
25 | </Layers> |
||
26 | <Frames> |
||
27 | <Button name="$parentColorSwatch" hidden="true"> |
||
28 | <Size> |
||
29 | <AbsDimension x="16" y="16"/> |
||
30 | </Size> |
||
31 | <Anchors> |
||
32 | <Anchor point="LEFT"> |
||
33 | <Offset><AbsDimension x="-6" y="0"/></Offset> |
||
34 | </Anchor> |
||
35 | </Anchors> |
||
36 | <Layers> |
||
37 | <Layer level="BACKGROUND"> |
||
38 | <Texture name="$parentSwatchBg"> |
||
39 | <Size> |
||
40 | <AbsDimension x="14" y="14"/> |
||
41 | </Size> |
||
42 | <Anchors> |
||
43 | <Anchor point="LEFT"> |
||
44 | <Offset><AbsDimension x="0" y="0"/></Offset> |
||
45 | </Anchor> |
||
46 | </Anchors> |
||
47 | <Color r="1.0" g="1.0" b="1.0"/> |
||
48 | </Texture> |
||
49 | </Layer> |
||
50 | </Layers> |
||
51 | <Scripts> |
||
52 | <OnEnter> |
||
53 | getglobal(this:GetName().."SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b); |
||
54 | </OnEnter> |
||
55 | <OnLeave> |
||
56 | getglobal(this:GetName().."SwatchBg"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b); |
||
57 | </OnLeave> |
||
58 | </Scripts> |
||
59 | <NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch"/> |
||
60 | </Button> |
||
61 | </Frames> |
||
62 | <Scripts> |
||
63 | <OnLoad> |
||
64 | this:SetFrameLevel(10); |
||
65 | </OnLoad> |
||
66 | <OnClick> |
||
67 | MetaKBMenu_Select(this:GetID()); |
||
68 | </OnClick> |
||
69 | <OnEnter> |
||
70 | getglobal(this:GetName().."Highlight"):Show(); |
||
71 | </OnEnter> |
||
72 | <OnLeave> |
||
73 | getglobal(this:GetName().."Highlight"):Hide(); |
||
74 | </OnLeave> |
||
75 | </Scripts> |
||
76 | <NormalFont name="$parentNormalText" inherits="GameFontNormalSmall" justifyH="LEFT"/> |
||
77 | <HighlightFont name="$parentHighlightText" inherits="GameFontHighlightSmall" justifyH="LEFT"/> |
||
78 | <DisabledFont name="$parentDisabledText" inherits="GameFontDisableSmall" justifyH="LEFT"/> |
||
79 | </Button> |
||
80 | |||
81 | <Button name="MetaKB_HeaderTemplate" virtual="true"> |
||
82 | <Size> |
||
83 | <AbsDimension x="10" y="18"/> |
||
84 | </Size> |
||
85 | <Layers> |
||
86 | <Layer level="BACKGROUND"> |
||
87 | <Texture name="$parentMiddle" alphaMode="ADD" virtual="true"> |
||
88 | <Size> |
||
89 | <AbsDimension x="12" y="22"/> |
||
90 | </Size> |
||
91 | <TexCoords left="0.09375" right="0.53125" top="0" bottom="0.6875"/> |
||
92 | </Texture> |
||
93 | </Layer> |
||
94 | </Layers> |
||
95 | <Scripts> |
||
96 | <OnEnter> |
||
97 | getglobal(this:GetName().."Middle"):SetTexture("Interface\\Buttons\\UI-Panel-Button-Highlight"); |
||
98 | </OnEnter> |
||
99 | <OnLeave> |
||
100 | getglobal(this:GetName().."Middle"):SetTexture(""); |
||
101 | </OnLeave> |
||
102 | <OnClick> |
||
103 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
104 | MetaKBList_SortBy(this.MetaMap_sortType, this.MetaMap_sortDone); |
||
105 | this.MetaMap_sortDone = not this.MetaMap_sortDone; |
||
106 | </OnClick> |
||
107 | </Scripts> |
||
108 | <NormalFont name="$parentText" inherits="GameFontNormal"/> |
||
109 | <HighlightFont inherits="GameFontHighlight"/> |
||
110 | </Button> |
||
111 | |||
112 | <Button name="MetaKB_ScrollFrameButtonTemplate" topLevel="true" virtual="true"> |
||
113 | <Size><AbsDimension x="700" y="16"/></Size> |
||
114 | <Layers> |
||
115 | <Layer level="BACKGROUND"> |
||
116 | <Texture name="$parentHighlight" file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD" setAllPoints="true" hidden="true"/> |
||
117 | </Layer> |
||
118 | </Layers> |
||
119 | <Layers> |
||
120 | <Layer level="ARTWORK"> |
||
121 | <FontString name="$parentName" inherits="GameFontNormal" text="" justifyH="LEFT"> |
||
122 | <Size> |
||
123 | <AbsDimension x="175" y="12"/> |
||
124 | </Size> |
||
125 | <Anchors> |
||
126 | <Anchor point="LEFT"> |
||
127 | <Offset><AbsDimension x="0" y="0"/></Offset> |
||
128 | </Anchor> |
||
129 | </Anchors> |
||
130 | </FontString> |
||
131 | <FontString name="$parentInfo1" inherits="GameFontNormal" text="" justifyH="LEFT"> |
||
132 | <Size> |
||
133 | <AbsDimension x="280" y="12"/> |
||
134 | </Size> |
||
135 | <Anchors> |
||
136 | <Anchor point="LEFT" relativeTo="$parentName" relativePoint="RIGHT"> |
||
137 | <Offset><AbsDimension x="0" y="0"/></Offset> |
||
138 | </Anchor> |
||
139 | </Anchors> |
||
140 | </FontString> |
||
141 | <FontString name="$parentInfo2" inherits="GameFontNormal" text="" justifyH="LEFT"> |
||
142 | <Size> |
||
143 | <AbsDimension x="120" y="12"/> |
||
144 | </Size> |
||
145 | <Anchors> |
||
146 | <Anchor point="LEFT" relativeTo="$parentInfo1" relativePoint="RIGHT"> |
||
147 | <Offset><AbsDimension x="0" y="0"/></Offset> |
||
148 | </Anchor> |
||
149 | </Anchors> |
||
150 | </FontString> |
||
151 | <FontString name="$parentCoords" inherits="GameFontNormal" text="" justifyH="LEFT"> |
||
152 | <Size> |
||
153 | <AbsDimension x="120" y="12"/> |
||
154 | </Size> |
||
155 | <Anchors> |
||
156 | <Anchor point="LEFT" relativeTo="$parentInfo2" relativePoint="RIGHT"> |
||
157 | <Offset><AbsDimension x="0" y="0"/></Offset> |
||
158 | </Anchor> |
||
159 | </Anchors> |
||
160 | </FontString> |
||
161 | </Layer> |
||
162 | </Layers> |
||
163 | <Scripts> |
||
164 | <OnLoad> |
||
165 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp") |
||
166 | </OnLoad> |
||
167 | <OnShow> |
||
168 | this:SetHeight(METAKB_SCROLL_FRAME_BUTTON_HEIGHT) |
||
169 | this:SetWidth(MetaKB_ScrollFrame:GetWidth()) |
||
170 | </OnShow> |
||
171 | <OnClick> |
||
172 | MetaKB_ScrollFrameButtonOnClick(arg1) |
||
173 | </OnClick> |
||
174 | <OnEnter> |
||
175 | getglobal(this:GetName().."Highlight"):Show(); |
||
176 | </OnEnter> |
||
177 | <OnLeave> |
||
178 | getglobal(this:GetName().."Highlight"):Hide(); |
||
179 | </OnLeave> |
||
180 | </Scripts> |
||
181 | <NormalFont name="$parentNormalText" inherits="GameFontNormal" justifyH="LEFT"/> |
||
182 | </Button> |
||
183 | |||
184 | <Frame name="MetaKB_MainFrame" parent="UIParent"> |
||
185 | <Size><AbsDimension x="10" y="10"/></Size> |
||
186 | <Anchors> |
||
187 | <Anchor point="TOPRIGHT" relativePoint="BOTTOMLEFT" relativeTo="UIParent"/> |
||
188 | <Offset><AbsDimension x="0" y="0"/></Offset> |
||
189 | </Anchors> |
||
190 | <Scripts> |
||
191 | <OnLoad> |
||
192 | MetaKB_MainFrame_OnLoad(); |
||
193 | </OnLoad> |
||
194 | <OnEvent> |
||
195 | MetaKB_OnEvent(event); |
||
196 | </OnEvent> |
||
197 | </Scripts> |
||
198 | </Frame> |
||
199 | |||
200 | <Frame name="MetaKB_OptionsFrame" parent="MetaKB_HoldingFrame"> |
||
201 | <Size><AbsDimension x="480" y="280" /></Size> |
||
202 | <Anchors> |
||
203 | <Anchor point="CENTER"/> |
||
204 | </Anchors> |
||
205 | <Layers> |
||
206 | <Layer level="ARTWORK"> |
||
207 | <FontString name="MetaKB_RangeText" inherits="GameFontHighlightSmall" text="METAKB_OPTIONS_RANGETEXT"> |
||
208 | <Anchors> |
||
209 | <Anchor point="BOTTOMLEFT"> |
||
210 | <Offset><AbsDimension x="40" y="90"/></Offset> |
||
211 | </Anchor> |
||
212 | </Anchors> |
||
213 | </FontString> |
||
214 | </Layer> |
||
215 | </Layers> |
||
216 | <Frames> |
||
217 | <CheckButton name="MetaKB_AlwaysOnCheckButton" inherits="MetaMap_CheckButtonTemplate"> |
||
218 | <Anchors> |
||
219 | <Anchor point="TOPLEFT"> |
||
220 | <Offset><AbsDimension x="40" y="-50"/></Offset> |
||
221 | </Anchor> |
||
222 | </Anchors> |
||
223 | <Scripts> |
||
224 | <OnLoad> |
||
225 | getglobal(this:GetName().."Text"):SetText(" "..METAKB_RETAIN); |
||
226 | </OnLoad> |
||
227 | <OnEnter> |
||
228 | MetaMap_HelpOnEnter(METAKB_RETAIN, METAKB_RETAIN_HELP) |
||
229 | </OnEnter> |
||
230 | <OnClick> |
||
231 | MetaMapOptions.WKBalwaysOn = not MetaMapOptions.WKBalwaysOn; |
||
232 | </OnClick> |
||
233 | </Scripts> |
||
234 | </CheckButton> |
||
235 | <CheckButton name="MetaKB_BoundingBoxCheckButton" inherits="MetaMap_CheckButtonTemplate"> |
||
236 | <Anchors> |
||
237 | <Anchor point="TOPLEFT"> |
||
238 | <Offset><AbsDimension x="40" y="-80"/></Offset> |
||
239 | </Anchor> |
||
240 | </Anchors> |
||
241 | <Scripts> |
||
242 | <OnLoad> |
||
243 | getglobal(this:GetName().."Text"):SetText(" "..METAKB_BOUNDING_BOX) |
||
244 | </OnLoad> |
||
245 | <OnEnter> |
||
246 | MetaMap_HelpOnEnter(METAKB_BOUNDING_BOX, METAKB_BOUNDING_BOX_HELP) |
||
247 | </OnEnter> |
||
248 | <OnClick> |
||
249 | MetaKB_ToggleBoundingBox() |
||
250 | </OnClick> |
||
251 | </Scripts> |
||
252 | </CheckButton> |
||
253 | <CheckButton name="MetaKB_DsearchCheckButton" inherits="MetaMap_CheckButtonTemplate"> |
||
254 | <Anchors> |
||
255 | <Anchor point="TOPLEFT"> |
||
256 | <Offset><AbsDimension x="40" y="-110" /></Offset> |
||
257 | </Anchor> |
||
258 | </Anchors> |
||
259 | <Scripts> |
||
260 | <OnLoad> |
||
261 | getglobal(this:GetName().."Text"):SetText(" "..METAKB_SET_DSEARCH) |
||
262 | </OnLoad> |
||
263 | <OnEnter> |
||
264 | MetaMap_HelpOnEnter(METAKB_SET_DSEARCH, METAKB_SET_DSEARCH_HELP) |
||
265 | </OnEnter> |
||
266 | <OnClick> |
||
267 | MetaKBOptions.Dsearch = not MetaKBOptions.Dsearch; |
||
268 | </OnClick> |
||
269 | </Scripts> |
||
270 | </CheckButton> |
||
271 | <CheckButton name="MetaKB_SetMapShowCheckButton" inherits="MetaMap_CheckButtonTemplate"> |
||
272 | <Anchors> |
||
273 | <Anchor point="TOPLEFT"> |
||
274 | <Offset><AbsDimension x="40" y="-140"/></Offset> |
||
275 | </Anchor> |
||
276 | </Anchors> |
||
277 | <Scripts> |
||
278 | <OnLoad> |
||
279 | getglobal(this:GetName().."Text"):SetText(" "..METAKB_SET_MAPSHOW); |
||
280 | </OnLoad> |
||
281 | <OnEnter> |
||
282 | MetaMap_HelpOnEnter(METAKB_SET_MAPSHOW, METAKB_SET_MAPSHOW_HELP) |
||
283 | </OnEnter> |
||
284 | <OnClick> |
||
285 | MetaKBOptions.SetMapShow = not MetaKBOptions.SetMapShow; |
||
286 | </OnClick> |
||
287 | </Scripts> |
||
288 | </CheckButton> |
||
289 | <CheckButton name="MetaKB_ShowUpdatesCheckButton" inherits="MetaMap_CheckButtonTemplate"> |
||
290 | <Anchors> |
||
291 | <Anchor point="TOPLEFT"> |
||
292 | <Offset><AbsDimension x="40" y="-170"/></Offset> |
||
293 | </Anchor> |
||
294 | </Anchors> |
||
295 | <Scripts> |
||
296 | <OnLoad> |
||
297 | getglobal(this:GetName().."Text"):SetText(" "..METAKB_SHOW_UPDATES); |
||
298 | </OnLoad> |
||
299 | <OnEnter> |
||
300 | MetaMap_HelpOnEnter(METAKB_SHOW_UPDATES, METAKB_SHOW_UPDATES_HELP) |
||
301 | </OnEnter> |
||
302 | <OnClick> |
||
303 | MetaKB_ToggleShowUpdates(); |
||
304 | </OnClick> |
||
305 | </Scripts> |
||
306 | </CheckButton> |
||
307 | <CheckButton name="MetaKB_AutoTrackingCheckButton" inherits="MetaMap_CheckButtonTemplate"> |
||
308 | <Anchors> |
||
309 | <Anchor point="TOPLEFT"> |
||
310 | <Offset><AbsDimension x="260" y="-50" /></Offset> |
||
311 | </Anchor> |
||
312 | </Anchors> |
||
313 | <Scripts> |
||
314 | <OnLoad> |
||
315 | getglobal(this:GetName().."Text"):SetText(" "..METAKB_AUTO_TRACK); |
||
316 | </OnLoad> |
||
317 | <OnEnter> |
||
318 | MetaMap_HelpOnEnter(METAKB_AUTO_TRACK, METAKB_AUTO_TRACK_HELP); |
||
319 | </OnEnter> |
||
320 | <OnClick> |
||
321 | MetaKB_ToggleAutoTrack(); |
||
322 | </OnClick> |
||
323 | </Scripts> |
||
324 | </CheckButton> |
||
325 | <CheckButton name="MetaKB_UseKBCheckButton" inherits="MetaMap_CheckButtonTemplate"> |
||
326 | <Anchors> |
||
327 | <Anchor point="TOPLEFT"> |
||
328 | <Offset><AbsDimension x="260" y="-80" /></Offset> |
||
329 | </Anchor> |
||
330 | </Anchors> |
||
331 | <Scripts> |
||
332 | <OnLoad> |
||
333 | getglobal(this:GetName().."Text"):SetText(" "..METAKB_USE_KB); |
||
334 | </OnLoad> |
||
335 | <OnEnter> |
||
336 | MetaMap_HelpOnEnter(METAKB_USE_KB, METAKB_USE_KB_HELP); |
||
337 | </OnEnter> |
||
338 | <OnClick> |
||
339 | MetaKB_ToggleDbase(); |
||
340 | </OnClick> |
||
341 | </Scripts> |
||
342 | </CheckButton> |
||
343 | <CheckButton name="MetaKB_SetTargetNoteCheckButton" inherits="MetaMap_CheckButtonTemplate"> |
||
344 | <Anchors> |
||
345 | <Anchor point="TOPLEFT"> |
||
346 | <Offset><AbsDimension x="260" y="-110" /></Offset> |
||
347 | </Anchor> |
||
348 | </Anchors> |
||
349 | <Scripts> |
||
350 | <OnLoad> |
||
351 | getglobal(this:GetName().."Text"):SetText(" "..METAKB_TARGET_NOTE); |
||
352 | </OnLoad> |
||
353 | <OnEnter> |
||
354 | MetaMap_HelpOnEnter(METAKB_TARGET_NOTE, METAKB_TARGET_NOTE_HELP); |
||
355 | </OnEnter> |
||
356 | <OnClick> |
||
357 | MetaKB_ToggleSetNote(); |
||
358 | </OnClick> |
||
359 | </Scripts> |
||
360 | </CheckButton> |
||
361 | <CheckButton name="MetaKB_EmbedCheckButton" inherits="MetaMap_CheckButtonTemplate"> |
||
362 | <Anchors> |
||
363 | <Anchor point="TOPLEFT"> |
||
364 | <Offset><AbsDimension x="260" y="-140" /></Offset> |
||
365 | </Anchor> |
||
366 | </Anchors> |
||
367 | <Scripts> |
||
368 | <OnLoad> |
||
369 | getglobal(this:GetName().."Text"):SetText(" "..METAKB_EMBED_KB); |
||
370 | </OnLoad> |
||
371 | <OnEnter> |
||
372 | MetaMap_HelpOnEnter(METAKB_EMBED_KB, METAKB_EMBED_KB_HELP); |
||
373 | </OnEnter> |
||
374 | <OnClick> |
||
375 | MetaKB_DisplayFrame:GetParent():Hide(); |
||
376 | MetaKBOptions.EmbedKB = not MetaKBOptions.EmbedKB; |
||
377 | for i=1, 35,1 do |
||
378 | getglobal("MetaKB_ScrollFrameButton"..i):Hide(); |
||
379 | end |
||
380 | MetaKB_InitFrame(); |
||
381 | MetaKB_VarsLoaded = false; |
||
382 | </OnClick> |
||
383 | </Scripts> |
||
384 | </CheckButton> |
||
385 | <CheckButton name="MetaKB_RangeCheck1" inherits="MetaMap_CheckButtonTemplate"> |
||
386 | <Size><AbsDimension x="20" y="20"/></Size> |
||
387 | <Anchors> |
||
388 | <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT"> |
||
389 | <Offset><AbsDimension x="40" y="55" /></Offset> |
||
390 | </Anchor> |
||
391 | </Anchors> |
||
392 | <Scripts> |
||
393 | <OnLoad> |
||
394 | getglobal(this:GetName().."Text"):SetText("5 yards"); |
||
395 | </OnLoad> |
||
396 | <OnClick> |
||
397 | MetaKB_ToggleSetRange(1); |
||
398 | </OnClick> |
||
399 | </Scripts> |
||
400 | </CheckButton> |
||
401 | <CheckButton name="MetaKB_RangeCheck2" inherits="MetaMap_CheckButtonTemplate"> |
||
402 | <Size><AbsDimension x="20" y="20"/></Size> |
||
403 | <Anchors> |
||
404 | <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="MetaKB_RangeCheck1"> |
||
405 | <Offset><AbsDimension x="50" y="0" /></Offset> |
||
406 | </Anchor> |
||
407 | </Anchors> |
||
408 | <Scripts> |
||
409 | <OnLoad> |
||
410 | getglobal(this:GetName().."Text"):SetText("10 yards"); |
||
411 | </OnLoad> |
||
412 | <OnClick> |
||
413 | MetaKB_ToggleSetRange(2); |
||
414 | </OnClick> |
||
415 | </Scripts> |
||
416 | </CheckButton> |
||
417 | <CheckButton name="MetaKB_RangeCheck3" inherits="MetaMap_CheckButtonTemplate"> |
||
418 | <Size><AbsDimension x="20" y="20"/></Size> |
||
419 | <Anchors> |
||
420 | <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="MetaKB_RangeCheck2"> |
||
421 | <Offset><AbsDimension x="60" y="0" /></Offset> |
||
422 | </Anchor> |
||
423 | </Anchors> |
||
424 | <Scripts> |
||
425 | <OnLoad> |
||
426 | getglobal(this:GetName().."Text"):SetText("18 yards"); |
||
427 | </OnLoad> |
||
428 | <OnClick> |
||
429 | MetaKB_ToggleSetRange(3); |
||
430 | </OnClick> |
||
431 | </Scripts> |
||
432 | </CheckButton> |
||
433 | <CheckButton name="MetaKB_RangeCheck4" inherits="MetaMap_CheckButtonTemplate"> |
||
434 | <Size><AbsDimension x="20" y="20"/></Size> |
||
435 | <Anchors> |
||
436 | <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="MetaKB_RangeCheck3"> |
||
437 | <Offset><AbsDimension x="60" y="0" /></Offset> |
||
438 | </Anchor> |
||
439 | </Anchors> |
||
440 | <Scripts> |
||
441 | <OnLoad> |
||
442 | getglobal(this:GetName().."Text"):SetText("28 yards"); |
||
443 | </OnLoad> |
||
444 | <OnClick> |
||
445 | MetaKB_ToggleSetRange(4); |
||
446 | </OnClick> |
||
447 | </Scripts> |
||
448 | </CheckButton> |
||
449 | <CheckButton name="MetaKB_RangeCheck5" inherits="MetaMap_CheckButtonTemplate"> |
||
450 | <Size><AbsDimension x="20" y="20"/></Size> |
||
451 | <Anchors> |
||
452 | <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT" relativeTo="MetaKB_RangeCheck4"> |
||
453 | <Offset><AbsDimension x="70" y="0" /></Offset> |
||
454 | </Anchor> |
||
455 | </Anchors> |
||
456 | <Scripts> |
||
457 | <OnLoad> |
||
458 | getglobal(this:GetName().."Text"):SetText("Infinite"); |
||
459 | </OnLoad> |
||
460 | <OnClick> |
||
461 | MetaKB_ToggleSetRange(5); |
||
462 | </OnClick> |
||
463 | </Scripts> |
||
464 | </CheckButton> |
||
465 | </Frames> |
||
466 | <Scripts> |
||
467 | <OnLoad> |
||
468 | this:SetAllPoints("MetaFWM_HoldingFrame"); |
||
469 | </OnLoad> |
||
470 | <OnShow> |
||
471 | MetaKB_HoldingFrameInfo:Hide(); |
||
472 | MetaKB_HoldingFrameLoad:Hide(); |
||
473 | </OnShow> |
||
474 | </Scripts> |
||
475 | </Frame> |
||
476 | |||
477 | <Frame name="MetaKB_OuterFrame" toplevel="true" hidden="true" parent="UIParent" frameStrata="FULLSCREEN"> |
||
478 | <Size><AbsDimension x="725" y="380"/></Size> |
||
479 | <Anchors> |
||
480 | <Anchor point="CENTER"/> |
||
481 | </Anchors> |
||
482 | <Backdrop edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> |
||
483 | <BackgroundInsets> |
||
484 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
485 | </BackgroundInsets> |
||
486 | <TileSize> |
||
487 | <AbsValue val="32"/> |
||
488 | </TileSize> |
||
489 | <EdgeSize> |
||
490 | <AbsValue val="32"/> |
||
491 | </EdgeSize> |
||
492 | </Backdrop> |
||
493 | <Frames> |
||
494 | <Button name="MetaKB_HeaderBackground" enableMouse="false" toplevel="true"> |
||
495 | <Anchors> |
||
496 | <Anchor point="TOP"> |
||
497 | <Offset><AbsDimension x="0" y="-6" /></Offset> |
||
498 | </Anchor> |
||
499 | </Anchors> |
||
500 | <Layers> |
||
501 | <Layer level="BACKGROUND"> |
||
502 | <Texture name="$parentMiddle" file="Interface\Buttons\UI-Panel-Button-Up" alphaMode="ADD" virtual="true"> |
||
503 | <Size> |
||
504 | <AbsDimension x="12" y="22"/> |
||
505 | </Size> |
||
506 | <TexCoords left="0.09375" right="0.53125" top="0" bottom="0.6875"/> |
||
507 | </Texture> |
||
508 | </Layer> |
||
509 | </Layers> |
||
510 | <Scripts> |
||
511 | <OnShow> |
||
512 | this:SetHeight(MetaKB_HeaderPanel:GetHeight()); |
||
513 | this:SetWidth(MetaKB_HeaderPanel:GetWidth()); |
||
514 | </OnShow> |
||
515 | </Scripts> |
||
516 | </Button> |
||
517 | <Frame name="MetaKB_DisplayFrameTitle"> |
||
518 | <Size><AbsDimension x="320" y="48"/></Size> |
||
519 | <Anchors> |
||
520 | <Anchor point="TOP"> |
||
521 | <Offset><AbsDimension x="0" y="30"/></Offset> |
||
522 | </Anchor> |
||
523 | </Anchors> |
||
524 | <Layers> |
||
525 | <Layer level="ARTWORK"> |
||
526 | <Texture name="MetaKB_DisplayFrameTitleBackgroundTexture" file="Interface\ItemTextFrame\ItemText-Stone-BotLeft"> |
||
527 | <TexCoords left="0" right="1" top="0" bottom="0.16"/> |
||
528 | <Gradient orientation="HORIZONTAL"> |
||
529 | <MinColor r="1" g="0" b="0" /> |
||
530 | <MaxColor r="1" g="0" b="0" /> |
||
531 | </Gradient> |
||
532 | <Size><AbsDimension x="285" y="20"/></Size> |
||
533 | <Anchors> |
||
534 | <Anchor point="TOP"> |
||
535 | <Offset><AbsDimension x="0" y="-12"/></Offset> |
||
536 | </Anchor> |
||
537 | </Anchors> |
||
538 | </Texture> |
||
539 | </Layer> |
||
540 | <Layer level="OVERLAY"> |
||
541 | <Texture name="MetaKB_DisplayFrameTitleTexture" file="Interface\Glues\LoadingBar\Loading-BarBorder"> |
||
542 | <Size><AbsDimension x="320" y="48"/></Size> |
||
543 | </Texture> |
||
544 | <FontString inherits="GameFontNormal" text="METAKB_MAIN_HEADER"> |
||
545 | <Anchors> |
||
546 | <Anchor point="TOP" relativeTo="MetaKB_DisplayFrameTitleTexture"> |
||
547 | <Offset><AbsDimension x="0" y="-17"/></Offset> |
||
548 | </Anchor> |
||
549 | </Anchors> |
||
550 | </FontString> |
||
551 | </Layer> |
||
552 | </Layers> |
||
553 | </Frame> |
||
554 | <Frame name="MetaKB_Divider" enableMouse="false"> |
||
555 | <Size><AbsDimension x="320" y="50"/></Size> |
||
556 | <Backdrop edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"></Backdrop> |
||
557 | <Anchors> |
||
558 | <Anchor point="BOTTOM"> |
||
559 | <Offset><AbsDimension x="0" y="0" /></Offset> |
||
560 | </Anchor> |
||
561 | </Anchors> |
||
562 | <Scripts> |
||
563 | <OnLoad> |
||
564 | this:SetWidth(this:GetParent():GetWidth()); |
||
565 | this:SetHeight(50); |
||
566 | this:SetFrameLevel(this:GetParent():GetFrameLevel()+1); |
||
567 | </OnLoad> |
||
568 | </Scripts> |
||
569 | </Frame> |
||
570 | </Frames> |
||
571 | <Scripts> |
||
572 | <OnLoad> |
||
573 | table.insert(UISpecialFrames, "MetaKB_OuterFrame") |
||
574 | </OnLoad> |
||
575 | <OnHide> |
||
576 | MetaKB_DisplayFrame:Hide(); |
||
577 | </OnHide> |
||
578 | <OnShow> |
||
579 | MetaKB_DisplayFrame:Show(); |
||
580 | </OnShow> |
||
581 | </Scripts> |
||
582 | </Frame> |
||
583 | |||
584 | <Frame name="MetaKB_DisplayFrame" parent="MetaMapContainerFrame" hidden="true" enableMouse="true"> |
||
585 | <Size><AbsDimension x="725" y="380"/></Size> |
||
586 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" tile="true"> |
||
587 | <BackgroundInsets> |
||
588 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
589 | </BackgroundInsets> |
||
590 | <TileSize> |
||
591 | <AbsValue val="32"/> |
||
592 | </TileSize> |
||
593 | <EdgeSize> |
||
594 | <AbsValue val="32"/> |
||
595 | </EdgeSize> |
||
596 | </Backdrop> |
||
597 | <Anchors> |
||
598 | <Anchor point="CENTER"/> |
||
599 | </Anchors> |
||
600 | <Scripts> |
||
601 | <OnShow> |
||
602 | if(not MetaKB_VarsLoaded) then |
||
603 | MetaKB_InitFrame(); |
||
604 | MetaKB_VarsLoaded = true; |
||
605 | end |
||
606 | MetaKB_ShowAllZones = false; |
||
607 | MetaKB_Search(); |
||
608 | </OnShow> |
||
609 | <OnHide> |
||
610 | MetaKB_ZoneSelectButton:SetText(METAKB_SHOW_ALLZONES); |
||
611 | </OnHide> |
||
612 | </Scripts> |
||
613 | <Frames> |
||
614 | <Frame name="MetaKB_HeaderPanel"> |
||
615 | <Anchors> |
||
616 | <Anchor point="TOPLEFT"> |
||
617 | <Offset><AbsDimension x="0" y="0" /></Offset> |
||
618 | </Anchor> |
||
619 | </Anchors> |
||
620 | <Frames> |
||
621 | <Button name="MetaKB_Header1" inherits="MetaKB_HeaderTemplate" text="METAKB_HEADER_NAME"> |
||
622 | <Anchors> |
||
623 | <Anchor point="BOTTOMLEFT"> |
||
624 | <Offset> |
||
625 | <AbsDimension x="0" y="0"/> |
||
626 | </Offset> |
||
627 | </Anchor> |
||
628 | </Anchors> |
||
629 | <Scripts> |
||
630 | <OnLoad> |
||
631 | this.MetaMap_sortDone = true; |
||
632 | this.MetaMap_sortType = METAKB_SORTBY_NAME; |
||
633 | </OnLoad> |
||
634 | <OnShow> |
||
635 | this:SetHeight(MetaKB_HeaderPanel:GetHeight()); |
||
636 | </OnShow> |
||
637 | </Scripts> |
||
638 | </Button> |
||
639 | <Button name="MetaKB_Header2" inherits="MetaKB_HeaderTemplate" text="METAKB_HEADER_DESC"> |
||
640 | <Anchors> |
||
641 | <Anchor point="LEFT" relativeTo="MetaKB_Header1" relativePoint="RIGHT"> |
||
642 | <Offset> |
||
643 | <AbsDimension x="-2" y="0"/> |
||
644 | </Offset> |
||
645 | </Anchor> |
||
646 | </Anchors> |
||
647 | <Scripts> |
||
648 | <OnLoad> |
||
649 | this.MetaMap_sortDone = true; |
||
650 | this.MetaMap_sortType = METAKB_SORTBY_DESC; |
||
651 | </OnLoad> |
||
652 | <OnShow> |
||
653 | this:SetHeight(MetaKB_HeaderPanel:GetHeight()); |
||
654 | </OnShow> |
||
655 | </Scripts> |
||
656 | </Button> |
||
657 | <Button name="MetaKB_Header3" inherits="MetaKB_HeaderTemplate" text="METAKB_HEADER_LEVEL"> |
||
658 | <Anchors> |
||
659 | <Anchor point="LEFT" relativeTo="MetaKB_Header2" relativePoint="RIGHT"> |
||
660 | <Offset> |
||
661 | <AbsDimension x="-2" y="0"/> |
||
662 | </Offset> |
||
663 | </Anchor> |
||
664 | </Anchors> |
||
665 | <Scripts> |
||
666 | <OnLoad> |
||
667 | this.MetaMap_sortDone = true; |
||
668 | this.MetaMap_sortType = METAKB_SORTBY_LEVEL; |
||
669 | </OnLoad> |
||
670 | <OnShow> |
||
671 | this:SetHeight(MetaKB_HeaderPanel:GetHeight()); |
||
672 | </OnShow> |
||
673 | </Scripts> |
||
674 | </Button> |
||
675 | <Button name="MetaKB_Header4" inherits="MetaKB_HeaderTemplate" text="METAKB_HEADER_LOCATION"> |
||
676 | <Anchors> |
||
677 | <Anchor point="LEFT" relativeTo="MetaKB_Header3" relativePoint="RIGHT"> |
||
678 | <Offset> |
||
679 | <AbsDimension x="-2" y="0"/> |
||
680 | </Offset> |
||
681 | </Anchor> |
||
682 | </Anchors> |
||
683 | <Scripts> |
||
684 | <OnLoad> |
||
685 | this.MetaMap_sortDone = true; |
||
686 | this.MetaMap_sortType = METAKB_SORTBY_LOCATION; |
||
687 | </OnLoad> |
||
688 | <OnShow> |
||
689 | this:SetHeight(MetaKB_HeaderPanel:GetHeight()); |
||
690 | </OnShow> |
||
691 | </Scripts> |
||
692 | </Button> |
||
693 | </Frames> |
||
694 | </Frame> |
||
695 | <Frame name="MetaKB_FooterPanel"> |
||
696 | <Anchors> |
||
697 | <Anchor point="BOTTOM"> |
||
698 | <Offset><AbsDimension x="0" y="0" /></Offset> |
||
699 | </Anchor> |
||
700 | </Anchors> |
||
701 | <Frames> |
||
702 | <EditBox name="MetaKB_SearchEditBox" letters="25" historyLines="0" autoFocus="false" ignoreArrows="true"> |
||
703 | <Size><AbsDimension x="110" y="20"/></Size> |
||
704 | <Anchors> |
||
705 | <Anchor point="LEFT"> |
||
706 | <Offset><AbsDimension x="75" y="0"/></Offset> |
||
707 | </Anchor> |
||
708 | </Anchors> |
||
709 | <Scripts> |
||
710 | <OnLoad> |
||
711 | this:SetTextColor(0,1,0) |
||
712 | </OnLoad> |
||
713 | <OnEscapePressed> |
||
714 | this:ClearFocus(); |
||
715 | </OnEscapePressed> |
||
716 | <OnEnterPressed> |
||
717 | if(not MetaMapOptions.Dsearch) then |
||
718 | MetaKB_Search(this:GetText()); |
||
719 | end |
||
720 | </OnEnterPressed> |
||
721 | <OnTextChanged> |
||
722 | if(MetaMapOptions.Dsearch) then |
||
723 | MetaKB_Search(this:GetText()); |
||
724 | end |
||
725 | </OnTextChanged> |
||
726 | </Scripts> |
||
727 | <Layers> |
||
728 | <Layer level="BACKGROUND"> |
||
729 | <Texture name="$parentLeft" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder"> |
||
730 | <Size><AbsDimension x="12" y="29"/></Size> |
||
731 | <Anchors> |
||
732 | <Anchor point="TOPLEFT"> |
||
733 | <Offset><AbsDimension x="-11" y="2"/></Offset> |
||
734 | </Anchor> |
||
735 | </Anchors> |
||
736 | <TexCoords left="0" right="0.09375" top="0" bottom="1.0"/> |
||
737 | </Texture> |
||
738 | <Texture name="$parentMiddle" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder"> |
||
739 | <Size><AbsDimension x="100" y="29"/></Size> |
||
740 | <Anchors> |
||
741 | <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/> |
||
742 | </Anchors> |
||
743 | <TexCoords left="0.09375" right="0.90625" top="0" bottom="1.0"/> |
||
744 | </Texture> |
||
745 | <Texture name="$parentRight" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder"> |
||
746 | <Size><AbsDimension x="12" y="29"/></Size> |
||
747 | <Anchors> |
||
748 | <Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT"/> |
||
749 | </Anchors> |
||
750 | <TexCoords left="0.90625" right="1.0" top="0" bottom="1.0"/> |
||
751 | </Texture> |
||
752 | </Layer> |
||
753 | <Layer level="ARTWORK"> |
||
754 | <FontString name="MetaKB_SearchFontString" inherits="GameFontNormal" text="METAKB_SEARCH_BOX"> |
||
755 | <Anchors> |
||
756 | <Anchor point="RIGHT" relativeTo="$parentLeft"> |
||
757 | <Offset><AbsDimension x="-20" y="2"/></Offset> |
||
758 | </Anchor> |
||
759 | </Anchors> |
||
760 | </FontString> |
||
761 | <FontString name="MetaKB_ResultFontString" inherits="GameFontNormal" text=""> |
||
762 | <Anchors> |
||
763 | <Anchor point="LEFT" relativeTo="$parentRight"> |
||
764 | <Offset><AbsDimension x="40" y="2"/></Offset> |
||
765 | </Anchor> |
||
766 | </Anchors> |
||
767 | </FontString> |
||
768 | </Layer> |
||
769 | </Layers> |
||
770 | <FontString inherits="ChatFontNormal"/> |
||
771 | </EditBox> |
||
772 | <Button name="MetaKB_ZoneSelectButton" inherits="UIPanelButtonTemplate2" text="METAKB_SHOW_ALLZONES"> |
||
773 | <Size><AbsDimension x="130" y="24"/></Size> |
||
774 | <Anchors> |
||
775 | <Anchor point="RIGHT"> |
||
776 | <Offset><AbsDimension x="-130" y="0" /></Offset> |
||
777 | </Anchor> |
||
778 | </Anchors> |
||
779 | <Scripts> |
||
780 | <OnClick> |
||
781 | MetaKB_ToggleAllZones() |
||
782 | </OnClick> |
||
783 | </Scripts> |
||
784 | </Button> |
||
785 | <Button name="MetaKB_CloseMainFrameButton" inherits="UIPanelButtonTemplate2" hidden="true" text="METAMAP_CLOSE_BUTTON"> |
||
786 | <Size><AbsDimension x="80" y="24"/></Size> |
||
787 | <Anchors> |
||
788 | <Anchor point="RIGHT"> |
||
789 | <Offset><AbsDimension x="-30" y="0" /></Offset> |
||
790 | </Anchor> |
||
791 | </Anchors> |
||
792 | <Scripts> |
||
793 | <OnClick> |
||
794 | MetaKB_ToggleFrame(); |
||
795 | </OnClick> |
||
796 | </Scripts> |
||
797 | </Button> |
||
798 | </Frames> |
||
799 | </Frame> |
||
800 | <ScrollFrame name="MetaKB_ScrollFrame" inherits="FauxScrollFrameTemplate"> |
||
801 | <Size> |
||
802 | <AbsDimension x="692" y="332"/> |
||
803 | </Size> |
||
804 | <Anchors> |
||
805 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="MetaKB_HeaderPanel"> |
||
806 | <Offset><AbsDimension x="0" y="0"/></Offset> |
||
807 | </Anchor> |
||
808 | </Anchors> |
||
809 | <Scripts> |
||
810 | <OnShow> |
||
811 | this:SetAlpha(255) |
||
812 | </OnShow> |
||
813 | <OnVerticalScroll> |
||
814 | FauxScrollFrame_OnVerticalScroll(METAKB_SCROLL_FRAME_BUTTON_HEIGHT, MetaKB_UpdateScrollFrame) |
||
815 | </OnVerticalScroll> |
||
816 | </Scripts> |
||
817 | <FontString inherits="MetaMap_FontStringTemplate" justifyH="LEFT"/> |
||
818 | </ScrollFrame> |
||
819 | <Button name="MetaKB_ScrollFrameButton1" inherits="MetaKB_ScrollFrameButtonTemplate" id="1" hidden="true"> |
||
820 | <Anchors> |
||
821 | <Anchor point="TOPLEFT" relativeTo="MetaKB_ScrollFrame"> |
||
822 | <Offset><AbsDimension x="10" y="-3"/></Offset> |
||
823 | </Anchor> |
||
824 | </Anchors> |
||
825 | </Button> |
||
826 | <Button name="MetaKB_ScrollFrameButton2" inherits="MetaKB_ScrollFrameButtonTemplate" id="2" hidden="true"> |
||
827 | <Anchors> |
||
828 | <Anchor point="TOPLEFT" relativeTo="MetaKB_ScrollFrameButton1" relativePoint="BOTTOMLEFT"> |
||
829 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
830 | </Anchor> |
||
831 | </Anchors> |
||
832 | </Button> |
||
833 | <Button name="MetaKB_ScrollFrameButton3" inherits="MetaKB_ScrollFrameButtonTemplate" id="3" hidden="true"> |
||
834 | <Anchors> |
||
835 | <Anchor point="TOPLEFT" relativeTo="MetaKB_ScrollFrameButton2" relativePoint="BOTTOMLEFT"> |
||
836 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
837 | </Anchor> |
||
838 | </Anchors> |
||
839 | </Button> |
||
840 | <Button name="MetaKB_ScrollFrameButton4" inherits="MetaKB_ScrollFrameButtonTemplate" id="4" hidden="true"> |
||
841 | <Anchors> |
||
842 | <Anchor point="TOPLEFT" relativeTo="MetaKB_ScrollFrameButton3" relativePoint="BOTTOMLEFT"> |
||
843 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
844 | </Anchor> |
||
845 | </Anchors> |
||
846 | </Button> |
||
847 | <Button name="MetaKB_ScrollFrameButton5" inherits="MetaKB_ScrollFrameButtonTemplate" id="5" hidden="true"> |
||
848 | <Anchors> |
||
849 | <Anchor point="TOPLEFT" relativeTo="MetaKB_ScrollFrameButton4" relativePoint="BOTTOMLEFT"> |
||
850 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
851 | </Anchor> |
||
852 | </Anchors> |
||
853 | </Button> |
||
854 | <Button name="MetaKB_ScrollFrameButton6" inherits="MetaKB_ScrollFrameButtonTemplate" id="6" hidden="true"> |
||
855 | <Anchors> |
||
856 | <Anchor point="TOPLEFT" relativeTo="MetaKB_ScrollFrameButton5" relativePoint="BOTTOMLEFT"> |
||
857 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
858 | </Anchor> |
||
859 | </Anchors> |
||
860 | </Button> |
||
861 | <Button name="MetaKB_ScrollFrameButton7" inherits="MetaKB_ScrollFrameButtonTemplate" id="7" hidden="true"> |
||
862 | <Anchors> |
||
863 | <Anchor point="TOPLEFT" relativeTo="MetaKB_ScrollFrameButton6" relativePoint="BOTTOMLEFT"> |
||
864 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
865 | </Anchor> |
||
866 | </Anchors> |
||
867 | </Button> |
||
868 | <Button name="MetaKB_ScrollFrameButton8" inherits="MetaKB_ScrollFrameButtonTemplate" id="8" hidden="true"> |
||
869 | <Anchors> |
||
870 | <Anchor point="TOPLEFT" relativeTo="MetaKB_ScrollFrameButton7" relativePoint="BOTTOMLEFT"> |
||
871 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
872 | </Anchor> |
||
873 | </Anchors> |
||
874 | </Button> |
||
875 | <Button name="MetaKB_ScrollFrameButton9" inherits="MetaKB_ScrollFrameButtonTemplate" id="9" hidden="true"> |
||
876 | <Anchors> |
||
877 | <Anchor point="TOPLEFT" relativeTo="MetaKB_ScrollFrameButton8" relativePoint="BOTTOMLEFT"> |
||
878 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
879 | </Anchor> |
||
880 | </Anchors> |
||
881 | </Button> |
||
882 | <Button name="MetaKB_ScrollFrameButton10" inherits="MetaKB_ScrollFrameButtonTemplate" id="10" hidden="true"> |
||
883 | <Anchors> |
||
884 | <Anchor point="TOPLEFT" relativeTo="MetaKB_ScrollFrameButton9" relativePoint="BOTTOMLEFT"> |
||
885 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
886 | </Anchor> |
||
887 | </Anchors> |
||
888 | </Button> |
||
889 | <Button name="MetaKB_ScrollFrameButton11" inherits="MetaKB_ScrollFrameButtonTemplate" id="11" hidden="true"> |
||
890 | <Anchors> |
||
891 | <Anchor point="TOPLEFT" relativeTo="MetaKB_ScrollFrameButton10" relativePoint="BOTTOMLEFT"> |
||
892 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
893 | </Anchor> |
||
894 | </Anchors> |
||
895 | </Button> |
||
896 | <Button name="MetaKB_ScrollFrameButton12" inherits="MetaKB_ScrollFrameButtonTemplate" id="12" hidden="true"> |
||
897 | <Anchors> |
||
898 | <Anchor point="TOPLEFT" relativeTo="MetaKB_ScrollFrameButton11" relativePoint="BOTTOMLEFT"> |
||
899 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
900 | </Anchor> |
||
901 | </Anchors> |
||
902 | </Button> |
||
903 | <Button name="MetaKB_ScrollFrameButton13" inherits="MetaKB_ScrollFrameButtonTemplate" id="13" hidden="true"> |
||
904 | <Anchors> |
||
905 | <Anchor point="TOPLEFT" relativeTo="MetaKB_ScrollFrameButton12" relativePoint="BOTTOMLEFT"> |
||
906 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
907 | </Anchor> |
||
908 | </Anchors> |
||
909 | </Button> |
||
910 | <Button name="MetaKB_ScrollFrameButton14" inherits="MetaKB_ScrollFrameButtonTemplate" id="14" hidden="true"> |
||
911 | <Anchors> |
||
912 | <Anchor point="TOPLEFT" relativeTo="MetaKB_ScrollFrameButton13" relativePoint="BOTTOMLEFT"> |
||
913 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
914 | </Anchor> |
||
915 | </Anchors> |
||
916 | </Button> |
||
917 | <Button name="MetaKB_ScrollFrameButton15" inherits="MetaKB_ScrollFrameButtonTemplate" id="15" hidden="true"> |
||
918 | <Anchors> |
||
919 | <Anchor point="TOPLEFT" relativeTo="MetaKB_ScrollFrameButton14" relativePoint="BOTTOMLEFT"> |
||
920 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
921 | </Anchor> |
||
922 | </Anchors> |
||
923 | </Button> |
||
924 | <Button name="MetaKB_ScrollFrameButton16" inherits="MetaKB_ScrollFrameButtonTemplate" id="16" hidden="true"> |
||
925 | <Anchors> |
||
926 | <Anchor point="TOPLEFT" relativeTo="MetaKB_ScrollFrameButton15" relativePoint="BOTTOMLEFT"> |
||
927 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
928 | </Anchor> |
||
929 | </Anchors> |
||
930 | </Button> |
||
931 | <Button name="MetaKB_ScrollFrameButton17" inherits="MetaKB_ScrollFrameButtonTemplate" id="17" hidden="true"> |
||
932 | <Anchors> |
||
933 | <Anchor point="TOPLEFT" relativeTo="MetaKB_ScrollFrameButton16" relativePoint="BOTTOMLEFT"> |
||
934 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
935 | </Anchor> |
||
936 | </Anchors> |
||
937 | </Button> |
||
938 | <Button name="MetaKB_ScrollFrameButton18" inherits="MetaKB_ScrollFrameButtonTemplate" id="18" hidden="true"> |
||
939 | <Anchors> |
||
940 | <Anchor point="TOPLEFT" relativeTo="MetaKB_ScrollFrameButton17" relativePoint="BOTTOMLEFT"> |
||
941 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
942 | </Anchor> |
||
943 | </Anchors> |
||
944 | </Button> |
||
945 | <Button name="MetaKB_ScrollFrameButton19" inherits="MetaKB_ScrollFrameButtonTemplate" id="19" hidden="true"> |
||
946 | <Anchors> |
||
947 | <Anchor point="TOPLEFT" relativeTo="MetaKB_ScrollFrameButton18" relativePoint="BOTTOMLEFT"> |
||
948 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
949 | </Anchor> |
||
950 | </Anchors> |
||
951 | </Button> |
||
952 | <Button name="MetaKB_ScrollFrameButton20" inherits="MetaKB_ScrollFrameButtonTemplate" id="20" hidden="true"> |
||
953 | <Anchors> |
||
954 | <Anchor point="TOPLEFT" relativeTo="MetaKB_ScrollFrameButton19" relativePoint="BOTTOMLEFT"> |
||
955 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
956 | </Anchor> |
||
957 | </Anchors> |
||
958 | </Button> |
||
959 | <Button name="MetaKB_ScrollFrameButton21" inherits="MetaKB_ScrollFrameButtonTemplate" id="21" hidden="true"> |
||
960 | <Anchors> |
||
961 | <Anchor point="TOPLEFT" relativeTo="MetaKB_ScrollFrameButton20" relativePoint="BOTTOMLEFT"> |
||
962 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
963 | </Anchor> |
||
964 | </Anchors> |
||
965 | </Button> |
||
966 | <Button name="MetaKB_ScrollFrameButton22" inherits="MetaKB_ScrollFrameButtonTemplate" id="22" hidden="true"> |
||
967 | <Anchors> |
||
968 | <Anchor point="TOPLEFT" relativeTo="MetaKB_ScrollFrameButton21" relativePoint="BOTTOMLEFT"> |
||
969 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
970 | </Anchor> |
||
971 | </Anchors> |
||
972 | </Button> |
||
973 | <Button name="MetaKB_ScrollFrameButton23" inherits="MetaKB_ScrollFrameButtonTemplate" id="23" hidden="true"> |
||
974 | <Anchors> |
||
975 | <Anchor point="TOPLEFT" relativeTo="MetaKB_ScrollFrameButton22" relativePoint="BOTTOMLEFT"> |
||
976 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
977 | </Anchor> |
||
978 | </Anchors> |
||
979 | </Button> |
||
980 | <Button name="MetaKB_ScrollFrameButton24" inherits="MetaKB_ScrollFrameButtonTemplate" id="24" hidden="true"> |
||
981 | <Anchors> |
||
982 | <Anchor point="TOPLEFT" relativeTo="MetaKB_ScrollFrameButton23" relativePoint="BOTTOMLEFT"> |
||
983 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
984 | </Anchor> |
||
985 | </Anchors> |
||
986 | </Button> |
||
987 | <Button name="MetaKB_ScrollFrameButton25" inherits="MetaKB_ScrollFrameButtonTemplate" id="25" hidden="true"> |
||
988 | <Anchors> |
||
989 | <Anchor point="TOPLEFT" relativeTo="MetaKB_ScrollFrameButton24" relativePoint="BOTTOMLEFT"> |
||
990 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
991 | </Anchor> |
||
992 | </Anchors> |
||
993 | </Button> |
||
994 | <Button name="MetaKB_ScrollFrameButton26" inherits="MetaKB_ScrollFrameButtonTemplate" id="26" hidden="true"> |
||
995 | <Anchors> |
||
996 | <Anchor point="TOPLEFT" relativeTo="MetaKB_ScrollFrameButton25" relativePoint="BOTTOMLEFT"> |
||
997 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
998 | </Anchor> |
||
999 | </Anchors> |
||
1000 | </Button> |
||
1001 | <Button name="MetaKB_ScrollFrameButton27" inherits="MetaKB_ScrollFrameButtonTemplate" id="27" hidden="true"> |
||
1002 | <Anchors> |
||
1003 | <Anchor point="TOPLEFT" relativeTo="MetaKB_ScrollFrameButton26" relativePoint="BOTTOMLEFT"> |
||
1004 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
1005 | </Anchor> |
||
1006 | </Anchors> |
||
1007 | </Button> |
||
1008 | <Button name="MetaKB_ScrollFrameButton28" inherits="MetaKB_ScrollFrameButtonTemplate" id="28" hidden="true"> |
||
1009 | <Anchors> |
||
1010 | <Anchor point="TOPLEFT" relativeTo="MetaKB_ScrollFrameButton27" relativePoint="BOTTOMLEFT"> |
||
1011 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
1012 | </Anchor> |
||
1013 | </Anchors> |
||
1014 | </Button> |
||
1015 | <Button name="MetaKB_ScrollFrameButton29" inherits="MetaKB_ScrollFrameButtonTemplate" id="29" hidden="true"> |
||
1016 | <Anchors> |
||
1017 | <Anchor point="TOPLEFT" relativeTo="MetaKB_ScrollFrameButton28" relativePoint="BOTTOMLEFT"> |
||
1018 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
1019 | </Anchor> |
||
1020 | </Anchors> |
||
1021 | </Button> |
||
1022 | <Button name="MetaKB_ScrollFrameButton30" inherits="MetaKB_ScrollFrameButtonTemplate" id="30" hidden="true"> |
||
1023 | <Anchors> |
||
1024 | <Anchor point="TOPLEFT" relativeTo="MetaKB_ScrollFrameButton29" relativePoint="BOTTOMLEFT"> |
||
1025 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
1026 | </Anchor> |
||
1027 | </Anchors> |
||
1028 | </Button> |
||
1029 | <Button name="MetaKB_ScrollFrameButton31" inherits="MetaKB_ScrollFrameButtonTemplate" id="31" hidden="true"> |
||
1030 | <Anchors> |
||
1031 | <Anchor point="TOPLEFT" relativeTo="MetaKB_ScrollFrameButton30" relativePoint="BOTTOMLEFT"> |
||
1032 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
1033 | </Anchor> |
||
1034 | </Anchors> |
||
1035 | </Button> |
||
1036 | <Button name="MetaKB_ScrollFrameButton32" inherits="MetaKB_ScrollFrameButtonTemplate" id="32" hidden="true"> |
||
1037 | <Anchors> |
||
1038 | <Anchor point="TOPLEFT" relativeTo="MetaKB_ScrollFrameButton31" relativePoint="BOTTOMLEFT"> |
||
1039 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
1040 | </Anchor> |
||
1041 | </Anchors> |
||
1042 | </Button> |
||
1043 | <Button name="MetaKB_ScrollFrameButton33" inherits="MetaKB_ScrollFrameButtonTemplate" id="33" hidden="true"> |
||
1044 | <Anchors> |
||
1045 | <Anchor point="TOPLEFT" relativeTo="MetaKB_ScrollFrameButton32" relativePoint="BOTTOMLEFT"> |
||
1046 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
1047 | </Anchor> |
||
1048 | </Anchors> |
||
1049 | </Button> |
||
1050 | <Button name="MetaKB_ScrollFrameButton34" inherits="MetaKB_ScrollFrameButtonTemplate" id="34" hidden="true"> |
||
1051 | <Anchors> |
||
1052 | <Anchor point="TOPLEFT" relativeTo="MetaKB_ScrollFrameButton33" relativePoint="BOTTOMLEFT"> |
||
1053 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
1054 | </Anchor> |
||
1055 | </Anchors> |
||
1056 | </Button> |
||
1057 | <Button name="MetaKB_ScrollFrameButton35" inherits="MetaKB_ScrollFrameButtonTemplate" id="35" hidden="true"> |
||
1058 | <Anchors> |
||
1059 | <Anchor point="TOPLEFT" relativeTo="MetaKB_ScrollFrameButton34" relativePoint="BOTTOMLEFT"> |
||
1060 | <Offset><AbsDimension x="0" y="1"/></Offset> |
||
1061 | </Anchor> |
||
1062 | </Anchors> |
||
1063 | </Button> |
||
1064 | </Frames> |
||
1065 | </Frame> |
||
1066 | |||
1067 | <Frame name="MetaKBMenu" enableMouse="true" hidden="true" toplevel="true" parent="UIParent" frameStrata="FULLSCREEN"> |
||
1068 | <Size> |
||
1069 | <AbsDimension x="160" y="170"/> |
||
1070 | </Size> |
||
1071 | <Backdrop bgFile="Interface\AddOns\MetaMap\Images\BGTexture" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> |
||
1072 | <BackgroundInsets> |
||
1073 | <AbsInset left="11" right="12" top="12" bottom="11"/> |
||
1074 | </BackgroundInsets> |
||
1075 | <TileSize> |
||
1076 | <AbsValue val="32"/> |
||
1077 | </TileSize> |
||
1078 | <EdgeSize> |
||
1079 | <AbsValue val="32"/> |
||
1080 | </EdgeSize> |
||
1081 | </Backdrop> |
||
1082 | <Frames> |
||
1083 | <Button name="MetaKBMenu_Option1" inherits="MetaKBMenu_ButtonTemplate" id="1" text="METAKB_QUICK_MENU_1"> |
||
1084 | <Anchors> |
||
1085 | <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"> |
||
1086 | <Offset> |
||
1087 | <AbsDimension x="20" y="-20"/> |
||
1088 | </Offset> |
||
1089 | </Anchor> |
||
1090 | </Anchors> |
||
1091 | </Button> |
||
1092 | <Button name="MetaKBMenu_Option2" inherits="MetaKBMenu_ButtonTemplate" id="2" text="METAKB_QUICK_MENU_2"> |
||
1093 | <Anchors> |
||
1094 | <Anchor point="TOPLEFT" relativeTo="MetaKBMenu_Option1" relativePoint="BOTTOMLEFT"/> |
||
1095 | </Anchors> |
||
1096 | </Button> |
||
1097 | <Button name="MetaKBMenu_Option3" inherits="MetaKBMenu_ButtonTemplate" id="3" text="METAKB_QUICK_MENU_3"> |
||
1098 | <Anchors> |
||
1099 | <Anchor point="TOPLEFT" relativeTo="MetaKBMenu_Option2" relativePoint="BOTTOMLEFT"/> |
||
1100 | </Anchors> |
||
1101 | </Button> |
||
1102 | <Button name="MetaKBMenu_Option4" inherits="MetaKBMenu_ButtonTemplate" id="4" text="METAKB_QUICK_MENU_4"> |
||
1103 | <Anchors> |
||
1104 | <Anchor point="TOPLEFT" relativeTo="MetaKBMenu_Option3" relativePoint="BOTTOMLEFT"/> |
||
1105 | </Anchors> |
||
1106 | </Button> |
||
1107 | <Button name="MetaKBMenu_Option5" inherits="MetaKBMenu_ButtonTemplate" id="5" text="METAKB_QUICK_MENU_5"> |
||
1108 | <Anchors> |
||
1109 | <Anchor point="TOPLEFT" relativeTo="MetaKBMenu_Option4" relativePoint="BOTTOMLEFT"/> |
||
1110 | </Anchors> |
||
1111 | </Button> |
||
1112 | <Button name="MetaKBMenu_Option6" inherits="MetaKBMenu_ButtonTemplate" id="6" text="METAKB_QUICK_MENU_6"> |
||
1113 | <Anchors> |
||
1114 | <Anchor point="TOPLEFT" relativeTo="MetaKBMenu_Option5" relativePoint="BOTTOMLEFT"/> |
||
1115 | </Anchors> |
||
1116 | </Button> |
||
1117 | <Button name="MetaKBMenu_Option7" inherits="MetaKBMenu_ButtonTemplate" id="7" text="METAKB_QUICK_MENU_7"> |
||
1118 | <Anchors> |
||
1119 | <Anchor point="TOPLEFT" relativeTo="MetaKBMenu_Option6" relativePoint="BOTTOMLEFT"/> |
||
1120 | </Anchors> |
||
1121 | </Button> |
||
1122 | <Button name="MetaKBMenu_Option8" inherits="MetaKBMenu_ButtonTemplate" id="8" text="METAKB_QUICK_MENU_8"> |
||
1123 | <Anchors> |
||
1124 | <Anchor point="TOPLEFT" relativeTo="MetaKBMenu_Option7" relativePoint="BOTTOMLEFT"/> |
||
1125 | </Anchors> |
||
1126 | </Button> |
||
1127 | </Frames> |
||
1128 | <Scripts> |
||
1129 | <OnShow> |
||
1130 | PlaySound("UChatScrollButton"); |
||
1131 | </OnShow> |
||
1132 | <OnUpdate> |
||
1133 | if (not MouseIsOver(this)) then |
||
1134 | this:Hide(); |
||
1135 | end |
||
1136 | </OnUpdate> |
||
1137 | </Scripts> |
||
1138 | </Frame> |
||
1139 | </Ui> |