vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
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="MetaMapBLT.loc"/>
4 <Script file="MetaMapBLT.lua"/>
5 <GameTooltip name="MetaMapBLTTooltip" inherits="GameTooltipTemplate" parent="UIParent" hidden="true"/>
6  
7 <FontString name="MetaMapBLT_FontTemplate" font="Fonts\FRIZQT__.TTF" virtual="true">
8 <FontHeight>
9 <AbsValue val="14"/>
10 </FontHeight>
11 <Shadow>
12 <Offset>
13 <AbsDimension x="1" y="-1"/>
14 </Offset>
15 <Color r="0" g="0" b="0"/>
16 </Shadow>
17 </FontString>
18  
19 <FontString name="MetaMapBLT_FontTemplateLarge" font="Fonts\FRIZQT__.TTF" virtual="true">
20 <FontHeight>
21 <AbsValue val="16"/>
22 </FontHeight>
23 <Shadow>
24 <Offset>
25 <AbsDimension x="1" y="-1"/>
26 </Offset>
27 <Color r="0" g="0" b="0"/>
28 </Shadow>
29 </FontString>
30  
31 <FontString name="MetaMapBLT_FontTemplateSmall" font="Fonts\FRIZQT__.TTF" virtual="true">
32 <FontHeight>
33 <AbsValue val="12"/>
34 </FontHeight>
35 <Shadow>
36 <Offset>
37 <AbsDimension x="1" y="-1"/>
38 </Offset>
39 <Color r="0" g="0" b="0"/>
40 </Shadow>
41 </FontString>
42  
43 <Button name="MetaMapBLT_ItemTemplate" virtual="true" hidden="false">
44 <Size>
45 <AbsDimension x="350" y="34"/>
46 </Size>
47 <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
48 <Layers>
49 <Layer level="OVERLAY">
50 <Texture name="$parent_Icon">
51 <Size>
52 <AbsDimension x="27" y="27"/>
53 </Size>
54 <Anchors>
55 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"/>
56 </Anchors>
57 </Texture>
58 <FontString name="$parent_Name" inherits="MetaMapBLT_FontTemplate" justifyH="LEFT">
59 <Size>
60 <AbsDimension x="300" y="12"/>
61 </Size>
62 <Anchors>
63 <Anchor point="TOPLEFT" relativeTo="$parent_Icon" relativePoint="TOPRIGHT">
64 <Offset>
65 <AbsDimension x="3" y="0"/>
66 </Offset>
67 </Anchor>
68 </Anchors>
69 </FontString>
70 <FontString name="$parent_Extra" inherits="MetaMapBLT_FontTemplateSmall" justifyH="LEFT">
71 <Size>
72 <AbsDimension x="300" y="9"/>
73 </Size>
74 <Anchors>
75 <Anchor point="TOPLEFT" relativeTo="$parent_Name" relativePoint="BOTTOMLEFT">
76 <Offset>
77 <AbsDimension x="0" y="-1"/>
78 </Offset>
79 </Anchor>
80 </Anchors>
81 </FontString>
82 </Layer>
83 </Layers>
84 <Scripts>
85 <OnEnter>
86 MetaMapBLTItem_OnEnter();
87 </OnEnter>
88 <OnLeave>
89 MetaMapBLTItem_OnLeave();
90 </OnLeave>
91 <OnClick>
92 MetaMapBLTItem_OnClick();
93 </OnClick>
94 </Scripts>
95 </Button>
96  
97 <Button name="MetaMapBLT_ClassButtonTemplate" virtual="true">
98 <Size>
99 <AbsDimension x="65" y="10"/>
100 </Size>
101 <Layers>
102 <Layer level="ARTWORK" hidden="true">
103 <FontString name="$parentClassName" inherits="GameFontNormal" text=""/>
104 </Layer>
105 </Layers>
106 <Scripts>
107 <OnClick>
108 MetaMapBLT_MenuOnClick();
109 </OnClick>
110 </Scripts>
111 <NormalFont inherits="GameFontNormal"/>
112 <HighlightFont inherits="GameFontHighlight"/>
113 </Button>
114  
115 <Frame name="MetaMapBLT_SubFrame" parent="MetaMapContainerFrame" hidden="true">
116 <Anchors>
117 <Anchor point="TOP">
118 <Offset>
119 <AbsDimension x="0" y="0"/>
120 </Offset>
121 </Anchor>
122 </Anchors>
123 <Backdrop bgFile="Interface\RaidFrame\UI-RaidFrame-GroupBg" tile="true">
124 <EdgeSize>
125 <AbsValue val="16"/>
126 </EdgeSize>
127 <TileSize>
128 <AbsValue val="16"/>
129 </TileSize>
130 <BackgroundInsets>
131 <AbsInset left="0" right="0" top="0" bottom="0"/>
132 </BackgroundInsets>
133 </Backdrop>
134 <Frames>
135 <Button name="MetaMapBLTItem_1" inherits="MetaMapBLT_ItemTemplate" id="1">
136 <Anchors>
137 <Anchor point="TOPRIGHT" relativeTo="$parent" relativePoint="TOP">
138 <Offset>
139 <AbsDimension x="20" y="-50"/>
140 </Offset>
141 </Anchor>
142 </Anchors>
143 </Button>
144 <Button name="MetaMapBLTItem_2" inherits="MetaMapBLT_ItemTemplate" id="2">
145 <Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_1" relativePoint="BOTTOMLEFT"/></Anchors>
146 </Button>
147 <Button name="MetaMapBLTItem_3" inherits="MetaMapBLT_ItemTemplate" id="3">
148 <Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_2" relativePoint="BOTTOMLEFT"/></Anchors>
149 </Button>
150 <Button name="MetaMapBLTItem_4" inherits="MetaMapBLT_ItemTemplate" id="4">
151 <Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_3" relativePoint="BOTTOMLEFT"/></Anchors>
152 </Button>
153 <Button name="MetaMapBLTItem_5" inherits="MetaMapBLT_ItemTemplate" id="5">
154 <Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_4" relativePoint="BOTTOMLEFT"/></Anchors>
155 </Button>
156 <Button name="MetaMapBLTItem_6" inherits="MetaMapBLT_ItemTemplate" id="6">
157 <Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_5" relativePoint="BOTTOMLEFT"/></Anchors>
158 </Button>
159 <Button name="MetaMapBLTItem_7" inherits="MetaMapBLT_ItemTemplate" id="7">
160 <Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_6" relativePoint="BOTTOMLEFT"/></Anchors>
161 </Button>
162 <Button name="MetaMapBLTItem_8" inherits="MetaMapBLT_ItemTemplate" id="8">
163 <Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_7" relativePoint="BOTTOMLEFT"/></Anchors>
164 </Button>
165 <Button name="MetaMapBLTItem_9" inherits="MetaMapBLT_ItemTemplate" id="9">
166 <Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_8" relativePoint="BOTTOMLEFT"/></Anchors>
167 </Button>
168 <Button name="MetaMapBLTItem_10" inherits="MetaMapBLT_ItemTemplate" id="10">
169 <Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_9" relativePoint="BOTTOMLEFT"/></Anchors>
170 </Button>
171 <Button name="MetaMapBLTItem_11" inherits="MetaMapBLT_ItemTemplate" id="11">
172 <Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_10" relativePoint="BOTTOMLEFT"/></Anchors>
173 </Button>
174 <Button name="MetaMapBLTItem_12" inherits="MetaMapBLT_ItemTemplate" id="12">
175 <Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_11" relativePoint="BOTTOMLEFT"/></Anchors>
176 </Button>
177 <Button name="MetaMapBLTItem_13" inherits="MetaMapBLT_ItemTemplate" id="13">
178 <Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_12" relativePoint="BOTTOMLEFT"/></Anchors>
179 </Button>
180 <Button name="MetaMapBLTItem_14" inherits="MetaMapBLT_ItemTemplate" id="14">
181 <Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_13" relativePoint="BOTTOMLEFT"/></Anchors>
182 </Button>
183 <Button name="MetaMapBLTItem_15" inherits="MetaMapBLT_ItemTemplate" id="15">
184 <Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_14" relativePoint="BOTTOMLEFT"/></Anchors>
185 </Button>
186 <Button name="MetaMapBLTItem_16" inherits="MetaMapBLT_ItemTemplate" id="16">
187 <Anchors>
188 <Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_1" relativePoint="TOPRIGHT">
189 <Offset>
190 <AbsDimension x="0" y="0"/>
191 </Offset>
192 </Anchor>
193 </Anchors>
194 </Button>
195 <Button name="MetaMapBLTItem_17" inherits="MetaMapBLT_ItemTemplate" id="17">
196 <Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_16" relativePoint="BOTTOMLEFT"/></Anchors>
197 </Button>
198 <Button name="MetaMapBLTItem_18" inherits="MetaMapBLT_ItemTemplate" id="18">
199 <Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_17" relativePoint="BOTTOMLEFT"/></Anchors>
200 </Button>
201 <Button name="MetaMapBLTItem_19" inherits="MetaMapBLT_ItemTemplate" id="19">
202 <Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_18" relativePoint="BOTTOMLEFT"/></Anchors>
203 </Button>
204 <Button name="MetaMapBLTItem_20" inherits="MetaMapBLT_ItemTemplate" id="20">
205 <Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_19" relativePoint="BOTTOMLEFT"/></Anchors>
206 </Button>
207 <Button name="MetaMapBLTItem_21" inherits="MetaMapBLT_ItemTemplate" id="21">
208 <Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_20" relativePoint="BOTTOMLEFT"/></Anchors>
209 </Button>
210 <Button name="MetaMapBLTItem_22" inherits="MetaMapBLT_ItemTemplate" id="22">
211 <Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_21" relativePoint="BOTTOMLEFT"/></Anchors>
212 </Button>
213 <Button name="MetaMapBLTItem_23" inherits="MetaMapBLT_ItemTemplate" id="23">
214 <Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_22" relativePoint="BOTTOMLEFT"/></Anchors>
215 </Button>
216 <Button name="MetaMapBLTItem_24" inherits="MetaMapBLT_ItemTemplate" id="24">
217 <Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_23" relativePoint="BOTTOMLEFT"/></Anchors>
218 </Button>
219 <Button name="MetaMapBLTItem_25" inherits="MetaMapBLT_ItemTemplate" id="25">
220 <Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_24" relativePoint="BOTTOMLEFT"/></Anchors>
221 </Button>
222 <Button name="MetaMapBLTItem_26" inherits="MetaMapBLT_ItemTemplate" id="26">
223 <Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_25" relativePoint="BOTTOMLEFT"/></Anchors>
224 </Button>
225 <Button name="MetaMapBLTItem_27" inherits="MetaMapBLT_ItemTemplate" id="27">
226 <Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_26" relativePoint="BOTTOMLEFT"/></Anchors>
227 </Button>
228 <Button name="MetaMapBLTItem_28" inherits="MetaMapBLT_ItemTemplate" id="28">
229 <Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_27" relativePoint="BOTTOMLEFT"/></Anchors>
230 </Button>
231 <Button name="MetaMapBLTItem_29" inherits="MetaMapBLT_ItemTemplate" id="29">
232 <Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_28" relativePoint="BOTTOMLEFT"/></Anchors>
233 </Button>
234 <Button name="MetaMapBLTItem_30" inherits="MetaMapBLT_ItemTemplate" id="30">
235 <Anchors><Anchor point="TOPLEFT" relativeTo="MetaMapBLTItem_29" relativePoint="BOTTOMLEFT"/></Anchors>
236 </Button>
237 <Frame name="MetaMapBLT_ClassMenu" hidden="true">
238 <Anchors>
239 <Anchor point="BOTTOM">
240 <Offset>
241 <AbsDimension x="0" y="0"/>
242 </Offset>
243 </Anchor>
244 </Anchors>
245 <Frames>
246 <Button name="MetaMapBLT_DruidButton" inherits="MetaMapBLT_ClassButtonTemplate" text="ATLASLOOT_DRUID">
247 <Anchors>
248 <Anchor point="TOPLEFT">
249 <Offset><AbsDimension x="10" y="0"/></Offset>
250 </Anchor>
251 </Anchors>
252 <Scripts>
253 <OnLoad>
254 getglobal(this:GetName().."ClassName"):SetText("Druid");
255 </OnLoad>
256 </Scripts>
257 </Button>
258 <Button name="MetaMapBLT_HunterButton" inherits="MetaMapBLT_ClassButtonTemplate" text="ATLASLOOT_HUNTER">
259 <Anchors>
260 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="MetaMapBLT_DruidButton">
261 <Offset><AbsDimension x="10" y="0"/></Offset>
262 </Anchor>
263 </Anchors>
264 <Scripts>
265 <OnLoad>
266 getglobal(this:GetName().."ClassName"):SetText("Hunter");
267 </OnLoad>
268 </Scripts>
269 </Button>
270 <Button name="MetaMapBLT_MageButton" inherits="MetaMapBLT_ClassButtonTemplate" text="ATLASLOOT_MAGE">
271 <Anchors>
272 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="MetaMapBLT_HunterButton">
273 <Offset><AbsDimension x="10" y="0"/></Offset>
274 </Anchor>
275 </Anchors>
276 <Scripts>
277 <OnLoad>
278 getglobal(this:GetName().."ClassName"):SetText("Mage");
279 </OnLoad>
280 </Scripts>
281 </Button>
282 <Button name="MetaMapBLT_PaladinButton" inherits="MetaMapBLT_ClassButtonTemplate" text="ATLASLOOT_PALADIN">
283 <Anchors>
284 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="MetaMapBLT_MageButton">
285 <Offset><AbsDimension x="10" y="0"/></Offset>
286 </Anchor>
287 </Anchors>
288 <Scripts>
289 <OnLoad>
290 getglobal(this:GetName().."ClassName"):SetText("Paladin");
291 </OnLoad>
292 </Scripts>
293 </Button>
294 <Button name="MetaMapBLT_PriestButton" inherits="MetaMapBLT_ClassButtonTemplate" text="ATLASLOOT_PRIEST">
295 <Anchors>
296 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="MetaMapBLT_PaladinButton">
297 <Offset><AbsDimension x="10" y="0"/></Offset>
298 </Anchor>
299 </Anchors>
300 <Scripts>
301 <OnLoad>
302 getglobal(this:GetName().."ClassName"):SetText("Priest");
303 </OnLoad>
304 </Scripts>
305 </Button>
306 <Button name="MetaMapBLT_RogueButton" inherits="MetaMapBLT_ClassButtonTemplate" text="ATLASLOOT_ROGUE">
307 <Anchors>
308 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="MetaMapBLT_PriestButton">
309 <Offset><AbsDimension x="10" y="0"/></Offset>
310 </Anchor>
311 </Anchors>
312 <Scripts>
313 <OnLoad>
314 getglobal(this:GetName().."ClassName"):SetText("Rogue");
315 </OnLoad>
316 </Scripts>
317 </Button>
318 <Button name="MetaMapBLT_ShamanButton" inherits="MetaMapBLT_ClassButtonTemplate" text="ATLASLOOT_SHAMAN">
319 <Anchors>
320 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="MetaMapBLT_RogueButton">
321 <Offset><AbsDimension x="10" y="0"/></Offset>
322 </Anchor>
323 </Anchors>
324 <Scripts>
325 <OnLoad>
326 getglobal(this:GetName().."ClassName"):SetText("Shaman");
327 </OnLoad>
328 </Scripts>
329 </Button>
330 <Button name="MetaMapBLT_WarlockButton" inherits="MetaMapBLT_ClassButtonTemplate" text="ATLASLOOT_WARLOCK">
331 <Anchors>
332 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="MetaMapBLT_ShamanButton">
333 <Offset><AbsDimension x="10" y="0"/></Offset>
334 </Anchor>
335 </Anchors>
336 <Scripts>
337 <OnLoad>
338 getglobal(this:GetName().."ClassName"):SetText("Warlock");
339 </OnLoad>
340 </Scripts>
341 </Button>
342 <Button name="MetaMapBLT_WarriorButton" inherits="MetaMapBLT_ClassButtonTemplate" text="ATLASLOOT_WARRIOR">
343 <Anchors>
344 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="MetaMapBLT_WarlockButton">
345 <Offset><AbsDimension x="10" y="0"/></Offset>
346 </Anchor>
347 </Anchors>
348 <Scripts>
349 <OnLoad>
350 getglobal(this:GetName().."ClassName"):SetText("Warrior");
351 </OnLoad>
352 </Scripts>
353 </Button>
354 </Frames>
355 <Scripts>
356 <OnShow>
357 this:SetWidth(this:GetParent():GetWidth());
358 this:SetHeight(48);
359 </OnShow>
360 </Scripts>
361 </Frame>
362 </Frames>
363 <Scripts>
364 <OnLoad>
365 this:SetWidth(MetaMapContainerFrame:GetWidth());
366 this:SetHeight(MetaMapContainerFrame:GetHeight());
367 this:SetBackdropColor(0,0,0,0.65);
368 MetaMapBLT_SetClassColors();
369 </OnLoad>
370 <OnHide>
371 MetaMapBLT_ToggleDR(0);
372 </OnHide>
373 </Scripts>
374 </Frame>
375 </Ui>