vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | <!-- |
2 | |||
3 | SKMapFrame |
||
4 | |||
5 | --> |
||
6 | <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/ |
||
7 | ..\FrameXML\UI.xsd"> |
||
8 | |||
9 | <Button name="SKMapFrameTabButtonTemplate" inherits="CharacterFrameTabButtonTemplate" virtual="true"> |
||
10 | <Scripts> |
||
11 | <OnLoad> |
||
12 | |||
13 | this:SetFrameLevel(this:GetFrameLevel() + 4); |
||
14 | </OnLoad> |
||
15 | <OnClick> |
||
16 | PanelTemplates_Tab_OnClick(SKMapFrame); |
||
17 | SKMapTab_OnClick(); |
||
18 | </OnClick> |
||
19 | <OnShow> |
||
20 | PanelTemplates_TabResize(10); |
||
21 | getglobal(this:GetName().."HighlightTexture"):SetWidth(this:GetTextWidth() + 30); |
||
22 | </OnShow> |
||
23 | </Scripts> |
||
24 | </Button> |
||
25 | |||
26 | <Frame name="SKMapFrame" toplevel="true" movable="true" parent="UIParent" hidden="true"> |
||
27 | <Size> |
||
28 | <AbsDimension x="768" y="512"/> |
||
29 | </Size> |
||
30 | <Anchors> |
||
31 | <Anchor point="TOPLEFT"> |
||
32 | <Offset> |
||
33 | <AbsDimension x="0" y="-104"/> |
||
34 | </Offset> |
||
35 | </Anchor> |
||
36 | </Anchors> |
||
37 | <HitRectInsets> |
||
38 | <AbsInset left="0" right="30" top="0" bottom="45"/> |
||
39 | </HitRectInsets> |
||
40 | <Layers> |
||
41 | <!-- <Layer level="ARTWORK">--> |
||
42 | <Layer level="BACKGROUND"> |
||
43 | <Texture file="Interface\AddOns\SKMap\Icons\SKMap-TopLeft"> |
||
44 | <Size> |
||
45 | <AbsDimension x="256" y="256"/> |
||
46 | </Size> |
||
47 | <Anchors> |
||
48 | <Anchor point="TOPLEFT"> |
||
49 | <Offset> |
||
50 | <AbsDimension x="2" y="-1"/> |
||
51 | </Offset> |
||
52 | </Anchor> |
||
53 | </Anchors> |
||
54 | </Texture> |
||
55 | |||
56 | <Texture file="Interface\AddOns\SKMap\Icons\SKMap-TopRight"> |
||
57 | <Size> |
||
58 | <AbsDimension x="512" y="256"/> |
||
59 | </Size> |
||
60 | <Anchors> |
||
61 | <Anchor point="TOPRIGHT"> |
||
62 | <Offset> |
||
63 | <AbsDimension x="2" y="-1"/> |
||
64 | </Offset> |
||
65 | </Anchor> |
||
66 | </Anchors> |
||
67 | </Texture> |
||
68 | |||
69 | <Texture file="Interface\AddOns\SKMap\Icons\SKMap-BottomLeft"> |
||
70 | <Size> |
||
71 | <AbsDimension x="256" y="256"/> |
||
72 | </Size> |
||
73 | <Anchors> |
||
74 | <Anchor point="BOTTOMLEFT"> |
||
75 | <Offset> |
||
76 | <AbsDimension x="2" y="-1"/> |
||
77 | </Offset> |
||
78 | </Anchor> |
||
79 | </Anchors> |
||
80 | </Texture> |
||
81 | |||
82 | <Texture file="Interface\AddOns\SKMap\Icons\SKMap-BottomRight"> |
||
83 | <Size> |
||
84 | <AbsDimension x="512" y="256"/> |
||
85 | </Size> |
||
86 | <Anchors> |
||
87 | <Anchor point="BOTTOMRIGHT"> |
||
88 | <Offset> |
||
89 | <AbsDimension x="2" y="-1"/> |
||
90 | </Offset> |
||
91 | </Anchor> |
||
92 | </Anchors> |
||
93 | </Texture> |
||
94 | |||
95 | <FontString name="SKMapTitleText" inherits="GameFontHighlight" text="SKM_TITLE"> |
||
96 | <Size> |
||
97 | <AbsDimension x="300" y="14"/> |
||
98 | </Size> |
||
99 | <Anchors> |
||
100 | <Anchor point="TOP" relativeTo="SKMapFrame" relativePoint="TOP"> |
||
101 | <Offset> |
||
102 | <AbsDimension x="0" y="-17"/> |
||
103 | </Offset> |
||
104 | </Anchor> |
||
105 | </Anchors> |
||
106 | </FontString> |
||
107 | </Layer> |
||
108 | |||
109 | <Layer level="ARTWORK"> |
||
110 | <Texture file="Interface\AddOns\SKMap\Icons\SKMap-UI-Icon"> |
||
111 | <Size> |
||
112 | <AbsDimension x="128" y="128"/> |
||
113 | </Size> |
||
114 | <Anchors> |
||
115 | <Anchor point="TOPLEFT"> |
||
116 | <Offset> |
||
117 | <AbsDimension x="6" y="58"/> |
||
118 | </Offset> |
||
119 | </Anchor> |
||
120 | </Anchors> |
||
121 | </Texture> |
||
122 | </Layer> |
||
123 | </Layers> |
||
124 | |||
125 | <Frames> |
||
126 | |||
127 | <Button name="SKMapCloseButton" inherits="UIPanelCloseButton"> |
||
128 | <Anchors> |
||
129 | <Anchor point="CENTER" relativeTo="SKMapFrame" relativePoint="TOPRIGHT"> |
||
130 | |||
131 | <Offset> |
||
132 | <AbsDimension x="-10" y="-25"/> |
||
133 | </Offset> |
||
134 | </Anchor> |
||
135 | </Anchors> |
||
136 | <Scripts> |
||
137 | <OnLoad> |
||
138 | this:SetFrameLevel(this:GetFrameLevel() + 4); |
||
139 | </OnLoad> |
||
140 | </Scripts> |
||
141 | </Button> |
||
142 | |||
143 | <Button name="SKMapFrameTab1" inherits="SKMapFrameTabButtonTemplate" id="1" text="SKMAP_TAB_LIST"> |
||
144 | <Anchors> |
||
145 | <Anchor point="CENTER" relativePoint="BOTTOMLEFT"> |
||
146 | <Offset> |
||
147 | <AbsDimension x="65" y="61"/> |
||
148 | </Offset> |
||
149 | </Anchor> |
||
150 | </Anchors> |
||
151 | </Button> |
||
152 | |||
153 | <Button name="SKMapFrameTab2" inherits="SKMapFrameTabButtonTemplate" id="2" text="SKMAP_TAB_DUEL"> |
||
154 | <Anchors> |
||
155 | <Anchor point="LEFT" relativeTo="SKMapFrameTab1" relativePoint="RIGHT"> |
||
156 | <Offset> |
||
157 | <AbsDimension x="-15" y="0"/> |
||
158 | </Offset> |
||
159 | </Anchor> |
||
160 | </Anchors> |
||
161 | </Button> |
||
162 | |||
163 | <Button name="SKMapFrameTab3" inherits="SKMapFrameTabButtonTemplate" id="3" text="SKMAP_TAB_REPORT"> |
||
164 | <Anchors> |
||
165 | <Anchor point="LEFT" relativeTo="SKMapFrameTab2" relativePoint="RIGHT"> |
||
166 | <Offset> |
||
167 | <AbsDimension x="-15" y="0"/> |
||
168 | </Offset> |
||
169 | </Anchor> |
||
170 | </Anchors> |
||
171 | </Button> |
||
172 | |||
173 | <Button name="SKMapFrameTab4" inherits="SKMapFrameTabButtonTemplate" id="4" text="SKMAP_TAB_OPTIONS"> |
||
174 | <Anchors> |
||
175 | <Anchor point="LEFT" relativeTo="SKMapFrameTab3" relativePoint="RIGHT"> |
||
176 | <Offset> |
||
177 | <AbsDimension x="-15" y="0"/> |
||
178 | </Offset> |
||
179 | </Anchor> |
||
180 | </Anchors> |
||
181 | </Button> |
||
182 | |||
183 | </Frames> |
||
184 | <Scripts> |
||
185 | <OnLoad> |
||
186 | SKMapFrame_OnLoad(); |
||
187 | </OnLoad> |
||
188 | <OnEvent> |
||
189 | SKMapFrame_OnEvent(event); |
||
190 | </OnEvent> |
||
191 | <OnShow> |
||
192 | SKMapFrame_OnShow(); |
||
193 | </OnShow> |
||
194 | <OnHide> |
||
195 | SKMapFrame_OnHide(); |
||
196 | </OnHide> |
||
197 | <OnEscapePressed> |
||
198 | <!-- SKMapFrame:Hide();--> |
||
199 | </OnEscapePressed> |
||
200 | |||
201 | </Scripts> |
||
202 | </Frame> |
||
203 | |||
204 | |||
205 | |||
206 | <!-- SKMapStaticPopupEdit |
||
207 | Popup Edit dialog box |
||
208 | --> |
||
209 | <Frame name="SKMapStaticPopupEdit" toplevel="true" enableMouse="true" frameStrata="DIALOG" |
||
210 | hidden="true" parent="UIParent"> |
||
211 | <Size> |
||
212 | <AbsDimension x="400" y="150"/> |
||
213 | </Size> |
||
214 | <Anchors> |
||
215 | <Anchor point="TOP" relativeTo="SKMapFrame" relativePoint="TOP"> |
||
216 | <!-- <Anchor point="TOP" relativeTo="UIParent" relativePoint="TOP"> --> |
||
217 | <Offset> |
||
218 | <AbsDimension x="0" y="-70"/> |
||
219 | </Offset> |
||
220 | </Anchor> |
||
221 | </Anchors> |
||
222 | |||
223 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> |
||
224 | <BackgroundInsets> |
||
225 | |||
226 | <AbsInset left="11" right="12" top="12" bottom="11"/> |
||
227 | |||
228 | <Size> |
||
229 | <AbsDimension x="128" y="17" /> |
||
230 | </Size> |
||
231 | </BackgroundInsets> |
||
232 | <TileSize> |
||
233 | <AbsValue val="32"/> |
||
234 | </TileSize> |
||
235 | <EdgeSize> |
||
236 | <AbsValue val="32"/> |
||
237 | </EdgeSize> |
||
238 | </Backdrop> |
||
239 | |||
240 | <Layers> |
||
241 | <Layer level="ARTWORK"> |
||
242 | <Texture file="Interface\DialogFrame\UI-DialogBox-Header"> |
||
243 | <Size> |
||
244 | <AbsDimension x="276" y="64" /> |
||
245 | </Size> |
||
246 | <Anchors> |
||
247 | <Anchor point="TOP"> |
||
248 | <Offset> |
||
249 | <AbsDimension x="0" y="12" /> |
||
250 | </Offset> |
||
251 | </Anchor> |
||
252 | </Anchors> |
||
253 | </Texture> |
||
254 | |||
255 | <FontString inherits="GameFontNormal" name="$parentTitle"> |
||
256 | <Anchors> |
||
257 | <Anchor point="TOP" relativeTo="SKMapStaticPopupEdit"> |
||
258 | <Offset> |
||
259 | <AbsDimension x="0" y="-3" /> |
||
260 | </Offset> |
||
261 | </Anchor> |
||
262 | </Anchors> |
||
263 | </FontString> |
||
264 | |||
265 | <FontString inherits="GameFontHighlight" name="$parentPrompt"> |
||
266 | <Anchors> |
||
267 | <Anchor point="TOP" relativeTo="SKMapStaticPopupEdit" relativePoint="TOP"> |
||
268 | <Offset> |
||
269 | <AbsDimension x="0" y="-35"/> |
||
270 | </Offset> |
||
271 | </Anchor> |
||
272 | </Anchors> |
||
273 | </FontString> |
||
274 | </Layer> |
||
275 | </Layers> |
||
276 | |||
277 | <Frames> |
||
278 | |||
279 | <Button name="$parentClear" inherits="GameMenuButtonTemplate" text="SKMAP_CLEAR"> |
||
280 | <Anchors> |
||
281 | <Anchor point="CENTER" relativePoint="BOTTOM" relativeTo="SKMapStaticPopupEdit"> |
||
282 | <Offset> |
||
283 | <AbsDimension x="0" y="30" /> |
||
284 | </Offset> |
||
285 | </Anchor> |
||
286 | </Anchors> |
||
287 | <Size> |
||
288 | <AbsDimension x="80" y="22"/> |
||
289 | </Size> |
||
290 | <Scripts> |
||
291 | <OnClick> |
||
292 | PlaySound("gsTitleOptionOK"); |
||
293 | SKMap_EditBox_Clear(); |
||
294 | </OnClick> |
||
295 | </Scripts> |
||
296 | </Button> |
||
297 | |||
298 | <Button name="$parentAccept" inherits="GameMenuButtonTemplate" text="OKAY"> |
||
299 | <Anchors> |
||
300 | <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentClear"> |
||
301 | <Offset> |
||
302 | <AbsDimension x="-10" y="0" /> |
||
303 | </Offset> |
||
304 | </Anchor> |
||
305 | </Anchors> |
||
306 | <Size> |
||
307 | <AbsDimension x="80" y="22"/> |
||
308 | </Size> |
||
309 | <Scripts> |
||
310 | <OnClick> |
||
311 | PlaySound("gsTitleOptionOK"); |
||
312 | SKMap_EditBox_Accept(); |
||
313 | </OnClick> |
||
314 | </Scripts> |
||
315 | </Button> |
||
316 | |||
317 | <Button name="$parentCancel" inherits="GameMenuButtonTemplate" text="CANCEL"> |
||
318 | <Anchors> |
||
319 | <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentClear"> |
||
320 | <Offset> |
||
321 | <AbsDimension x="10" y="0" /> |
||
322 | </Offset> |
||
323 | </Anchor> |
||
324 | </Anchors> |
||
325 | |||
326 | <Size> |
||
327 | <AbsDimension x="80" y="22"/> |
||
328 | </Size> |
||
329 | <Scripts> |
||
330 | <OnClick> |
||
331 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
332 | SKMap_EditBox_Cancel(); |
||
333 | </OnClick> |
||
334 | </Scripts> |
||
335 | </Button> |
||
336 | |||
337 | <EditBox name="$parentEditBox" historyLines="1"> |
||
338 | <Size> |
||
339 | <AbsDimension x="300" y="32"/> |
||
340 | </Size> |
||
341 | <Anchors> |
||
342 | <Anchor point="TOP" relativeTo="SKMapStaticPopupEdit" relativePoint="TOP"> |
||
343 | <Offset> |
||
344 | <AbsDimension x="0" y="-65"/> |
||
345 | </Offset> |
||
346 | </Anchor> |
||
347 | </Anchors> |
||
348 | |||
349 | <Layers> |
||
350 | <Layer level="BACKGROUND"> |
||
351 | <Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left"> |
||
352 | <Size> |
||
353 | <AbsDimension x="256" y="32"/> |
||
354 | </Size> |
||
355 | <Anchors> |
||
356 | <Anchor point="LEFT"> |
||
357 | <Offset> |
||
358 | <AbsDimension x="-10" y="0"/> |
||
359 | </Offset> |
||
360 | </Anchor> |
||
361 | </Anchors> |
||
362 | <TexCoords left="0" right="1.0" top="0" bottom="1.0"/> |
||
363 | </Texture> |
||
364 | |||
365 | <Texture file="Interface\ChatFrame\UI-ChatInputBorder-Right"> |
||
366 | <Size> |
||
367 | <AbsDimension x="75" y="32"/> |
||
368 | </Size> |
||
369 | <Anchors> |
||
370 | <Anchor point="RIGHT"> |
||
371 | <Offset> |
||
372 | <AbsDimension x="10" y="0"/> |
||
373 | </Offset> |
||
374 | </Anchor> |
||
375 | </Anchors> |
||
376 | <TexCoords left="0.70703125" right="1.0" top="0" bottom="1.0"/> |
||
377 | </Texture> |
||
378 | </Layer> |
||
379 | </Layers> |
||
380 | |||
381 | <Scripts> |
||
382 | <OnEnterPressed> |
||
383 | SKMap_EditBox_Accept(); |
||
384 | </OnEnterPressed> |
||
385 | <OnEscapePressed> |
||
386 | SKMap_EditBox_Cancel(); |
||
387 | </OnEscapePressed> |
||
388 | <OnTabPressed> |
||
389 | </OnTabPressed> |
||
390 | </Scripts> |
||
391 | |||
392 | <FontString inherits="ChatFontNormal"/> |
||
393 | </EditBox> |
||
394 | </Frames> |
||
395 | <Scripts> |
||
396 | <OnLoad> |
||
397 | <!--this:SetAlpha(1); --> |
||
398 | <!--this:SetBackdropColor(0, 0, 0, 2.0);--> |
||
399 | </OnLoad> |
||
400 | <OnShow> |
||
401 | SKMap_EditBox_OnShow(); |
||
402 | </OnShow> |
||
403 | <OnHide> |
||
404 | </OnHide> |
||
405 | </Scripts> |
||
406 | </Frame> |
||
407 | |||
408 | </Ui> |
||
409 | |||
410 |