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="Alkitron_HonorTab.lua"/>
4 <Include file="Alkitron_HonorTabTemplates.xml"/>
5 <Frame name="HonorFrame" setAllPoints="true" enableMouse="true" parent="CharacterFrame" hidden="true" id="5">
6 <HitRectInsets>
7 <AbsInset left="0" right="30" top="0" bottom="75"/>
8 </HitRectInsets>
9 <Layers>
10 <Layer level="BACKGROUND">
11 <Texture file="Interface\PaperDollInfoFrame\UI-Character-General-TopLeft">
12 <Size>
13 <AbsDimension x="256" y="256"/>
14 </Size>
15 <Anchors>
16 <Anchor point="TOPLEFT">
17 <Offset>
18 <AbsDimension x="2" y="-1"/>
19 </Offset>
20 </Anchor>
21 </Anchors>
22 </Texture>
23 <Texture file="Interface\PaperDollInfoFrame\UI-Character-General-TopRight">
24 <Size>
25 <AbsDimension x="128" y="256"/>
26 </Size>
27 <Anchors>
28 <Anchor point="TOPLEFT">
29 <Offset>
30 <AbsDimension x="258" y="-1"/>
31 </Offset>
32 </Anchor>
33 </Anchors>
34 </Texture>
35 <Texture file="Interface\PaperDollInfoFrame\UI-Character-General-BottomLeft">
36 <Size>
37 <AbsDimension x="256" y="256"/>
38 </Size>
39 <Anchors>
40 <Anchor point="TOPLEFT">
41 <Offset>
42 <AbsDimension x="2" y="-257"/>
43 </Offset>
44 </Anchor>
45 </Anchors>
46 </Texture>
47 <Texture file="Interface\PaperDollInfoFrame\UI-Character-General-BottomRight">
48 <Size>
49 <AbsDimension x="128" y="256"/>
50 </Size>
51 <Anchors>
52 <Anchor point="TOPLEFT">
53 <Offset>
54 <AbsDimension x="258" y="-257"/>
55 </Offset>
56 </Anchor>
57 </Anchors>
58 </Texture>
59 <FontString name="HonorLevelText" inherits="GameFontNormalSmall" text="Level level race class">
60 <Anchors>
61 <Anchor point="TOP" relativeTo="CharacterNameText" relativePoint="BOTTOM">
62 <Offset>
63 <AbsDimension x="0" y="-6"/>
64 </Offset>
65 </Anchor>
66 </Anchors>
67 </FontString>
68 <FontString name="HonorGuildText" inherits="GameFontNormalSmall">
69 <Anchors>
70 <Anchor point="TOP" relativeTo="HonorLevelText" relativePoint="BOTTOM">
71 <Offset>
72 <AbsDimension x="0" y="-1"/>
73 </Offset>
74 </Anchor>
75 </Anchors>
76 </FontString>
77 </Layer>
78 <Layer level="ARTWORK">
79 <Texture file="Interface\PaperDollInfoFrame\UI-Character-Honor-TopLeft">
80 <Size>
81 <AbsDimension x="256" y="256"/>
82 </Size>
83 <Anchors>
84 <Anchor point="TOPLEFT">
85 <Offset>
86 <AbsDimension x="22" y="-69"/>
87 </Offset>
88 </Anchor>
89 </Anchors>
90 </Texture>
91 <Texture file="Interface\PaperDollInfoFrame\UI-Character-Honor-TopRight">
92 <Size>
93 <AbsDimension x="128" y="256"/>
94 </Size>
95 <Anchors>
96 <Anchor point="TOPLEFT">
97 <Offset>
98 <AbsDimension x="275" y="-69"/>
99 </Offset>
100 </Anchor>
101 </Anchors>
102 </Texture>
103 <Texture file="Interface\PaperDollInfoFrame\UI-Character-Honor-BottomLeft">
104 <Size>
105 <AbsDimension x="256" y="128"/>
106 </Size>
107 <Anchors>
108 <Anchor point="TOPLEFT">
109 <Offset>
110 <AbsDimension x="22" y="-325"/>
111 </Offset>
112 </Anchor>
113 </Anchors>
114 </Texture>
115 <Texture file="Interface\PaperDollInfoFrame\UI-Character-Honor-BottomRight">
116 <Size>
117 <AbsDimension x="128" y="128"/>
118 </Size>
119 <Anchors>
120 <Anchor point="TOPLEFT">
121 <Offset>
122 <AbsDimension x="275" y="-325"/>
123 </Offset>
124 </Anchor>
125 </Anchors>
126 </Texture>
127 <FontString name="HonorFrameCurrentPVPTitle" inherits="GameFontNormal">
128 <Anchors>
129 <Anchor point="TOP">
130 <Offset>
131 <AbsDimension x="0" y="-87"/>
132 </Offset>
133 </Anchor>
134 </Anchors>
135 </FontString>
136 <FontString name="HonorFrameCurrentPVPRank" inherits="GameFontNormalSmall">
137 <Anchors>
138 <Anchor point="LEFT" relativeTo="HonorFrameCurrentPVPTitle" relativePoint="RIGHT">
139 <Offset>
140 <AbsDimension x="5" y="-1"/>
141 </Offset>
142 </Anchor>
143 </Anchors>
144 </FontString>
145 <FontString name="HonorFrameCurrentSessionTitle" inherits="GameFontNormal" text="HONOR_THIS_SESSION">
146 <Anchors>
147 <Anchor point="TOPLEFT">
148 <Offset>
149 <AbsDimension x="36" y="-112"/>
150 </Offset>
151 </Anchor>
152 </Anchors>
153 </FontString>
154 <FontString name="HonorFrameYesterdayTitle" inherits="GameFontNormal" text="HONOR_YESTERDAY">
155 <Anchors>
156 <Anchor point="TOPLEFT" relativeTo="HonorFrameCurrentSessionTitle" relativePoint="BOTTOMLEFT">
157 <Offset>
158 <AbsDimension x="0" y="-41"/>
159 </Offset>
160 </Anchor>
161 </Anchors>
162 </FontString>
163 <FontString name="HonorFrameThisWeekTitle" inherits="GameFontNormal" text="HONOR_THISWEEK">
164 <Anchors>
165 <Anchor point="TOPLEFT" relativeTo="HonorFrameYesterdayTitle" relativePoint="BOTTOMLEFT">
166 <Offset>
167 <AbsDimension x="0" y="-43"/>
168 </Offset>
169 </Anchor>
170 </Anchors>
171 </FontString>
172 <FontString name="HonorFrameLastWeekTitle" inherits="GameFontNormal" text="HONOR_LASTWEEK">
173 <Anchors>
174 <Anchor point="TOPLEFT" relativeTo="HonorFrameThisWeekTitle" relativePoint="BOTTOMLEFT">
175 <Offset>
176 <AbsDimension x="0" y="-42"/>
177 </Offset>
178 </Anchor>
179 </Anchors>
180 </FontString>
181 <FontString name="HonorFrameLifeTimeTitle" inherits="GameFontNormal" text="HONOR_LIFETIME">
182 <Anchors>
183 <Anchor point="TOPLEFT" relativeTo="HonorFrameLastWeekTitle" relativePoint="BOTTOMLEFT">
184 <Offset>
185 <AbsDimension x="0" y="-64"/>
186 </Offset>
187 </Anchor>
188 </Anchors>
189 </FontString>
190 </Layer>
191 <Layer level="OVERLAY">
192 <Texture name="HonorFramePvPIcon">
193 <Size>
194 <AbsDimension x="24" y="24"/>
195 </Size>
196 <Anchors>
197 <Anchor point="RIGHT" relativeTo="HonorFrameCurrentPVPTitle" relativePoint="LEFT">
198 <Offset>
199 <AbsDimension x="-5" y="0"/>
200 </Offset>
201 </Anchor>
202 </Anchors>
203 </Texture>
204 </Layer>
205 </Layers>
206 <Frames>
207 <Frame name="HonorFrameCurrentHK" inherits="HonorFrameHKButtonTemplate">
208 <Anchors>
209 <Anchor point="TOPLEFT" relativeTo="HonorFrameCurrentSessionTitle" relativePoint="BOTTOMLEFT">
210 <Offset>
211 <AbsDimension x="10" y="-3"/>
212 </Offset>
213 </Anchor>
214 </Anchors>
215 </Frame>
216 <Frame name="HonorFrameCurrentDK" inherits="HonorFrameDKButtonTemplate">
217 <Anchors>
218 <Anchor point="TOPLEFT" relativeTo="HonorFrameCurrentHK" relativePoint="BOTTOMLEFT">
219 <Offset>
220 <AbsDimension x="0" y="-2"/>
221 </Offset>
222 </Anchor>
223 </Anchors>
224 </Frame>
225 <Frame name="HonorFrameYesterdayHK" inherits="HonorFrameHKButtonTemplate">
226 <Anchors>
227 <Anchor point="TOPLEFT" relativeTo="HonorFrameYesterdayTitle" relativePoint="BOTTOMLEFT">
228 <Offset>
229 <AbsDimension x="10" y="-3"/>
230 </Offset>
231 </Anchor>
232 </Anchors>
233 </Frame>
234 <Frame name="HonorFrameYesterdayContribution" inherits="HonorFrameContributionButtonTemplate">
235 <Anchors>
236 <Anchor point="TOPLEFT" relativeTo="HonorFrameYesterdayHK" relativePoint="BOTTOMLEFT">
237 <Offset>
238 <AbsDimension x="0" y="-3"/>
239 </Offset>
240 </Anchor>
241 </Anchors>
242 </Frame>
243 <Frame name="HonorFrameThisWeekHK" inherits="HonorFrameHKButtonTemplate">
244 <Anchors>
245 <Anchor point="TOPLEFT" relativeTo="HonorFrameThisWeekTitle" relativePoint="BOTTOMLEFT">
246 <Offset>
247 <AbsDimension x="10" y="-3"/>
248 </Offset>
249 </Anchor>
250 </Anchors>
251 </Frame>
252 <Frame name="HonorFrameThisWeekContribution" inherits="HonorFrameContributionButtonTemplate">
253 <Anchors>
254 <Anchor point="TOPLEFT" relativeTo="HonorFrameThisWeekHK" relativePoint="BOTTOMLEFT">
255 <Offset>
256 <AbsDimension x="0" y="-3"/>
257 </Offset>
258 </Anchor>
259 </Anchors>
260 </Frame>
261 <Frame name="HonorFrameLastWeekHK" inherits="HonorFrameHKButtonTemplate">
262 <Anchors>
263 <Anchor point="TOPLEFT" relativeTo="HonorFrameLastWeekTitle" relativePoint="BOTTOMLEFT">
264 <Offset>
265 <AbsDimension x="10" y="-3"/>
266 </Offset>
267 </Anchor>
268 </Anchors>
269 </Frame>
270 <Frame name="HonorFrameLastWeekContribution" inherits="HonorFrameContributionButtonTemplate">
271 <Anchors>
272 <Anchor point="TOPLEFT" relativeTo="HonorFrameLastWeekHK" relativePoint="BOTTOMLEFT">
273 <Offset>
274 <AbsDimension x="0" y="-2"/>
275 </Offset>
276 </Anchor>
277 </Anchors>
278 </Frame>
279 <Frame name="HonorFrameLastWeekStanding" inherits="HonorFrameStandingButtonTemplate">
280 <Anchors>
281 <Anchor point="TOPLEFT" relativeTo="HonorFrameLastWeekContribution" relativePoint="BOTTOMLEFT">
282 <Offset>
283 <AbsDimension x="0" y="-2"/>
284 </Offset>
285 </Anchor>
286 </Anchors>
287 </Frame>
288 <Frame name="HonorFrameLifeTimeHK" inherits="HonorFrameHKButtonTemplate">
289 <Anchors>
290 <Anchor point="TOPLEFT" relativeTo="HonorFrameLifeTimeTitle" relativePoint="BOTTOMLEFT">
291 <Offset>
292 <AbsDimension x="10" y="-4"/>
293 </Offset>
294 </Anchor>
295 </Anchors>
296 </Frame>
297 <Frame name="HonorFrameLifeTimeDK" inherits="HonorFrameDKButtonTemplate">
298 <Anchors>
299 <Anchor point="TOPLEFT" relativeTo="HonorFrameLifeTimeHK" relativePoint="BOTTOMLEFT">
300 <Offset>
301 <AbsDimension x="0" y="-4"/>
302 </Offset>
303 </Anchor>
304 </Anchors>
305 </Frame>
306 <Frame name="HonorFrameLifeTimeRank" inherits="HonorFrameRankButtonTemplate">
307 <Anchors>
308 <Anchor point="TOPLEFT" relativeTo="HonorFrameLifeTimeDK" relativePoint="BOTTOMLEFT">
309 <Offset>
310 <AbsDimension x="0" y="-4"/>
311 </Offset>
312 </Anchor>
313 </Anchors>
314 </Frame>
315 <Frame name="HonorFrameRankButton" enableMouse="true" hidden="false">
316 <Size>
317 <AbsDimension x="10" y="24"/>
318 </Size>
319 <Anchors>
320 <Anchor point="LEFT" relativeTo="HonorFramePvPIcon"/>
321 <Anchor point="RIGHT" relativeTo="HonorFrameCurrentPVPRank"/>
322 </Anchors>
323 <Scripts>
324 <OnEnter>
325 GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
326 GameTooltip:SetText(RANK, HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
327 GameTooltip:AddLine(NEWBIE_TOOLTIP_RANK, NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b, 1);
328 GameTooltip:Show();
329 </OnEnter>
330 <OnLeave>
331 GameTooltip:Hide();
332 </OnLeave>
333 </Scripts>
334 </Frame>
335 <StatusBar name="HonorFrameProgressBar" drawLayer="BORDER" minValue="0" maxValue="1" defaultValue="0">
336 <Size>
337 <AbsDimension x="315" y="29"/>
338 </Size>
339 <Anchors>
340 <Anchor point="TOPLEFT">
341 <Offset>
342 <AbsDimension x="22" y="-77"/>
343 </Offset>
344 </Anchor>
345 </Anchors>
346 <Frames>
347 <Frame name="HonorFrameProgressButton" enableMouse="true" setAllPoints="true">
348 <Scripts>
349 <OnLoad>
350 this:SetFrameLevel(this:GetFrameLevel() - 1);
351 </OnLoad>
352 <OnEnter>
353 GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
354 GameTooltip:SetText(RANK_POSITION, HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
355 GameTooltip:AddLine(NEWBIE_TOOLTIP_RANK_POSITION, NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b, 1);
356 GameTooltip:Show();
357 </OnEnter>
358 <OnLeave>
359 GameTooltip:Hide();
360 </OnLeave>
361 </Scripts>
362 </Frame>
363 </Frames>
364 <Scripts>
365 <OnLoad>
366 this:SetFrameLevel(this:GetFrameLevel() - 1);
367 </OnLoad>
368 </Scripts>
369 <BarTexture name="$parentBar" file="Interface\PaperDollInfoFrame\UI-Character-Skills-Bar" />
370 </StatusBar>
371 </Frames>
372 <Scripts>
373 <OnLoad>
374 HonorFrame_OnLoad();
375 </OnLoad>
376 <OnEvent>
377 HonorFrame_OnEvent(event);
378 </OnEvent>
379 </Scripts>
380 </Frame>
381 </Ui>