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/..\..\FrameXML\UI.xsd">
2 <!-- Multiple Languages -->
3 <Script file="Localization.lua" />
4  
5 <!-- Main Scripting File -->
6 <Script file="Kalented.lua" />
7  
8 <!-- Kalented Expand Frame -->
9 <Button name="Kalented_Button_Expand" toplevel="true" parent="TalentFrame">
10 <Size>
11 <AbsDimension x="16" y="256" />
12 </Size>
13  
14 <Anchors>
15 <Anchor point="TOPLEFT" relativeTo="TalentFrame" relativePoint="TOPRIGHT">
16 <offset>
17 <AbsDimension x="-33" y="-38" />
18 </offset>
19 </Anchor>
20 </Anchors>
21  
22 <Layers>
23 <Layer level="ARTWORK">
24 <Texture name="Kalented_Texture" />
25 </Layer>
26 </Layers>
27  
28 <Scripts>
29 <OnClick>
30 if ( Kalented_Frame:IsVisible() ) then
31 this:SetPoint("TOPLEFT", this:GetParent():GetName(), "TOPRIGHT", -33, -38);
32 HideUIPanel(Kalented_Frame);
33 else
34 this:SetPoint("TOPLEFT", this:GetParent():GetName(), "TOPRIGHT", 284, -38);
35 ShowUIPanel(Kalented_Frame);
36 end
37 </OnClick>
38 </Scripts>
39  
40 <HighlightTexture file="Interface\PaperDollInfoFrame\UI-Character-Tab-Highlight" alphaMode="ADD" />
41 </Button>
42  
43 <!-- Kalented Frame -->
44 <Frame name="Kalented_Frame" enableMouse="true" toplevel="true" parent="TalentFrame" hidden="true">
45 <Size>
46 <AbsDimension x="318" y="355" />
47 </Size>
48  
49 <Anchors>
50 <Anchor point="TOPLEFT" relativeTo="TalentFrame" relativePoint="TOPRIGHT">
51 <Offset>
52 <AbsDimension x="-33" y="-35" />
53 </Offset>
54 </Anchor>
55 </Anchors>
56  
57 <Layers>
58 <Layer level="BACKGROUND">
59 <Texture file="Interface\AddOns\Kalented\images\talented">
60 <TexCoords left="0" right="0.62109375" top="0" bottom="0.693359375" />
61 </Texture>
62 </Layer>
63  
64 <Layer level="ARTWORK">
65 <Texture name="Kalented_Background_TopLeft">
66 <Size>
67 <AbsDimension x="245" y="194" />
68 </Size>
69  
70 <Anchors>
71 <Anchor point="TOPLEFT">
72 <Offset>
73 <AbsDimension x="0" y="-58" />
74 </Offset>
75 </Anchor>
76 </Anchors>
77 </Texture>
78  
79 <Texture name="Kalented_Background_TopRight">
80 <Size>
81 <AbsDimension x="64" y="194" />
82 </Size>
83  
84 <Anchors>
85 <Anchor point="TOPLEFT" relativeTo="Kalented_Background_TopLeft" relativePoint="TOPRIGHT">
86 <Offset>
87 <AbsDimension x="0" y="0" />
88 </Offset>
89 </Anchor>
90 </Anchors>
91 </Texture>
92  
93 <Texture name="Kalented_Background_BottomLeft">
94 <Size>
95 <AbsDimension x="256" y="128" />
96 </Size>
97  
98 <Anchors>
99 <Anchor point="TOPLEFT" relativeTo="Kalented_Background_TopLeft" relativePoint="BOTTOMLEFT">
100 <Offset>
101 <AbsDimension x="0" y="0" />
102 </Offset>
103 </Anchor>
104 </Anchors>
105 </Texture>
106  
107 <Texture name="Kalented_Background_BottomRight">
108 <Size>
109 <AbsDimension x="64" y="128" />
110 </Size>
111  
112 <Anchors>
113 <Anchor point="TOPLEFT" relativeTo="Kalented_Background_TopLeft" relativePoint="BOTTOMRIGHT">
114 <Offset>
115 <AbsDimension x="0" y="0" />
116 </Offset>
117 </Anchor>
118 </Anchors>
119 </Texture>
120 </Layer>
121  
122 <Layer level="OVERLAY">
123 <FontString inherits="GameFontNormal" text="KALENTED_TEXT_TITLE">
124 <Anchors>
125 <Anchor point="TOP">
126 <Offset>
127 <AbsDimension x="0" y="-4" />
128 </Offset>
129 </Anchor>
130 </Anchors>
131 </FontString>
132  
133 <FontString name="Kalented_Text_Spent" inherits="GameFontNormalSmall" text="KALENTED_TEXT_SPENT">
134 <Anchors>
135 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT">
136 <Offset>
137 <AbsDimension x="10" y="12" />
138 </Offset>
139 </Anchor>
140 </Anchors>
141 </FontString>
142  
143 <FontString name="Kalented_Text_Points" inherits="GameFontNormalSmall" text="KALENTED_TEXT_POINTS">
144 <Anchors>
145 <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT">
146 <Offset>
147 <AbsDimension x="295" y="12" />
148 </Offset>
149 </Anchor>
150 </Anchors>
151 </FontString>
152 </Layer>
153 </Layers>
154  
155 <Frames>
156 <button name="Kalented_Button_Reset" inherits="UIPanelButtonTemplate" text="KALENTED_TEXT_RESET">
157 <Size>
158 <AbsDimension x="100" y="22" />
159 </Size>
160  
161 <Anchors>
162 <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
163 <Offset>
164 <AbsDimension x="-8" y="-28" />
165 </Offset>
166 </Anchor>
167 </Anchors>
168  
169 <Scripts>
170 <OnClick>
171 Kalented_Reset_OnClick(false);
172 </OnClick>
173 </Scripts>
174 </button>
175  
176 <button name="Kalented_Button_Transfer" inherits="UIPanelButtonTemplate" text="KALENTED_TEXT_TRANSFER">
177 <Size>
178 <AbsDimension x="100" y="22" />
179 </Size>
180  
181 <Anchors>
182 <Anchor point="RIGHT" relativeTo="Kalented_Button_Reset" relativePoint="LEFT">
183 <Offset>
184 <AbsDimension x="0" y="0" />
185 </Offset>
186 </Anchor>
187 </Anchors>
188  
189 <Scripts>
190 <OnClick>
191 Kalented_Reset_OnClick(true);
192 </OnClick>
193 </Scripts>
194 </button>
195  
196 <ScrollFrame name="Kalented_Scroll_Frame" inherits="UIPanelScrollFrameTemplate">
197 <Size>
198 <AbsDimension x="266" y="267" />
199 </Size>
200  
201 <Anchors>
202 <Anchor point="TOPRIGHT">
203 <Offset>
204 <AbsDimension x="-33" y="-60" />
205 </Offset>
206 </Anchor>
207 </Anchors>
208  
209 <Layers>
210 <Layer level="ARTWORK">
211 <Texture name="$parentTop" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
212 <Size>
213 <AbsDimension x="31" y="256" />
214 </Size>
215  
216 <Anchors>
217 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
218 <Offset>
219 <AbsDimension x="-1" y="5" />
220 </Offset>
221 </Anchor>
222 </Anchors>
223  
224 <TexCoords left="0" right="0.484375" top="0" bottom="1.0" />
225 </Texture>
226  
227 <Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
228 <Size>
229 <AbsDimension x="31" y="106" />
230 </Size>
231  
232 <Anchors>
233 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
234 <Offset>
235 <AbsDimension x="-1" y="-2" />
236 </Offset>
237 </Anchor>
238 </Anchors>
239  
240 <TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625" />
241 </Texture>
242 </Layer>
243 </Layers>
244  
245 <ScrollChild>
246 <Frame name="Kalented_Scroll_ChildFrame">
247 <Size>
248 <AbsDimension x="320" y="50" />
249 </Size>
250  
251 <Anchors>
252 <anchor point="TOPLEFT" />
253 </Anchors>
254  
255 <Layers>
256 <Layer level="BACKGROUND">
257 <Texture name="Kalented_Scroll_Branch1" inherits="TalentBranchTemplate" />
258 <Texture name="Kalented_Scroll_Branch2" inherits="TalentBranchTemplate" />
259 <Texture name="Kalented_Scroll_Branch3" inherits="TalentBranchTemplate" />
260 <Texture name="Kalented_Scroll_Branch4" inherits="TalentBranchTemplate" />
261 <Texture name="Kalented_Scroll_Branch5" inherits="TalentBranchTemplate" />
262 <Texture name="Kalented_Scroll_Branch6" inherits="TalentBranchTemplate" />
263 <Texture name="Kalented_Scroll_Branch7" inherits="TalentBranchTemplate" />
264 <Texture name="Kalented_Scroll_Branch8" inherits="TalentBranchTemplate" />
265 <Texture name="Kalented_Scroll_Branch9" inherits="TalentBranchTemplate" />
266 <Texture name="Kalented_Scroll_Branch10" inherits="TalentBranchTemplate" />
267 <Texture name="Kalented_Scroll_Branch11" inherits="TalentBranchTemplate" />
268 <Texture name="Kalented_Scroll_Branch12" inherits="TalentBranchTemplate" />
269 <Texture name="Kalented_Scroll_Branch13" inherits="TalentBranchTemplate" />
270 <Texture name="Kalented_Scroll_Branch14" inherits="TalentBranchTemplate" />
271 <Texture name="Kalented_Scroll_Branch15" inherits="TalentBranchTemplate" />
272 <Texture name="Kalented_Scroll_Branch16" inherits="TalentBranchTemplate" />
273 <Texture name="Kalented_Scroll_Branch17" inherits="TalentBranchTemplate" />
274 <Texture name="Kalented_Scroll_Branch18" inherits="TalentBranchTemplate" />
275 <Texture name="Kalented_Scroll_Branch19" inherits="TalentBranchTemplate" />
276 <Texture name="Kalented_Scroll_Branch20" inherits="TalentBranchTemplate" />
277 <Texture name="Kalented_Scroll_Branch21" inherits="TalentBranchTemplate" />
278 <Texture name="Kalented_Scroll_Branch22" inherits="TalentBranchTemplate" />
279 <Texture name="Kalented_Scroll_Branch23" inherits="TalentBranchTemplate" />
280 <Texture name="Kalented_Scroll_Branch24" inherits="TalentBranchTemplate" />
281 <Texture name="Kalented_Scroll_Branch25" inherits="TalentBranchTemplate" />
282 <Texture name="Kalented_Scroll_Branch26" inherits="TalentBranchTemplate" />
283 <Texture name="Kalented_Scroll_Branch27" inherits="TalentBranchTemplate" />
284 <Texture name="Kalented_Scroll_Branch28" inherits="TalentBranchTemplate" />
285 <Texture name="Kalented_Scroll_Branch29" inherits="TalentBranchTemplate" />
286 <Texture name="Kalented_Scroll_Branch30" inherits="TalentBranchTemplate" />
287 </Layer>
288 </Layers>
289  
290 <Frames>
291 <Button name="Kalented_Scroll_Talent1" inherits="Kalented_Template_Button" id="1" />
292 <Button name="Kalented_Scroll_Talent2" inherits="Kalented_Template_Button" id="2" />
293 <Button name="Kalented_Scroll_Talent3" inherits="Kalented_Template_Button" id="3" />
294 <Button name="Kalented_Scroll_Talent4" inherits="Kalented_Template_Button" id="4" />
295 <Button name="Kalented_Scroll_Talent5" inherits="Kalented_Template_Button" id="5" />
296 <Button name="Kalented_Scroll_Talent6" inherits="Kalented_Template_Button" id="6" />
297 <Button name="Kalented_Scroll_Talent7" inherits="Kalented_Template_Button" id="7" />
298 <Button name="Kalented_Scroll_Talent8" inherits="Kalented_Template_Button" id="8" />
299 <Button name="Kalented_Scroll_Talent9" inherits="Kalented_Template_Button" id="9" />
300 <Button name="Kalented_Scroll_Talent10" inherits="Kalented_Template_Button" id="10" />
301 <Button name="Kalented_Scroll_Talent11" inherits="Kalented_Template_Button" id="11" />
302 <Button name="Kalented_Scroll_Talent12" inherits="Kalented_Template_Button" id="12" />
303 <Button name="Kalented_Scroll_Talent13" inherits="Kalented_Template_Button" id="13" />
304 <Button name="Kalented_Scroll_Talent14" inherits="Kalented_Template_Button" id="14" />
305 <Button name="Kalented_Scroll_Talent15" inherits="Kalented_Template_Button" id="15" />
306 <Button name="Kalented_Scroll_Talent16" inherits="Kalented_Template_Button" id="16" />
307 <Button name="Kalented_Scroll_Talent17" inherits="Kalented_Template_Button" id="17" />
308 <Button name="Kalented_Scroll_Talent18" inherits="Kalented_Template_Button" id="18" />
309 <Button name="Kalented_Scroll_Talent19" inherits="Kalented_Template_Button" id="19" />
310 <Button name="Kalented_Scroll_Talent20" inherits="Kalented_Template_Button" id="20" />
311  
312 <Frame name="Kalented_Scroll_ArrowFrame" setAllPoints="true">
313 <Layers>
314 <Layer level="OVERLAY">
315 <Texture name="Kalented_Scroll_Arrow1" inherits="TalentArrowTemplate" />
316 <Texture name="Kalented_Scroll_Arrow2" inherits="TalentArrowTemplate" />
317 <Texture name="Kalented_Scroll_Arrow3" inherits="TalentArrowTemplate" />
318 <Texture name="Kalented_Scroll_Arrow4" inherits="TalentArrowTemplate" />
319 <Texture name="Kalented_Scroll_Arrow5" inherits="TalentArrowTemplate" />
320 <Texture name="Kalented_Scroll_Arrow6" inherits="TalentArrowTemplate" />
321 <Texture name="Kalented_Scroll_Arrow7" inherits="TalentArrowTemplate" />
322 <Texture name="Kalented_Scroll_Arrow8" inherits="TalentArrowTemplate" />
323 <Texture name="Kalented_Scroll_Arrow9" inherits="TalentArrowTemplate" />
324 <Texture name="Kalented_Scroll_Arrow10" inherits="TalentArrowTemplate" />
325 <Texture name="Kalented_Scroll_Arrow11" inherits="TalentArrowTemplate" />
326 <Texture name="Kalented_Scroll_Arrow12" inherits="TalentArrowTemplate" />
327 <Texture name="Kalented_Scroll_Arrow13" inherits="TalentArrowTemplate" />
328 <Texture name="Kalented_Scroll_Arrow14" inherits="TalentArrowTemplate" />
329 <Texture name="Kalented_Scroll_Arrow15" inherits="TalentArrowTemplate" />
330 <Texture name="Kalented_Scroll_Arrow16" inherits="TalentArrowTemplate" />
331 <Texture name="Kalented_Scroll_Arrow17" inherits="TalentArrowTemplate" />
332 <Texture name="Kalented_Scroll_Arrow18" inherits="TalentArrowTemplate" />
333 <Texture name="Kalented_Scroll_Arrow19" inherits="TalentArrowTemplate" />
334 <Texture name="Kalented_Scroll_Arrow20" inherits="TalentArrowTemplate" />
335 <Texture name="Kalented_Scroll_Arrow21" inherits="TalentArrowTemplate" />
336 <Texture name="Kalented_Scroll_Arrow22" inherits="TalentArrowTemplate" />
337 <Texture name="Kalented_Scroll_Arrow23" inherits="TalentArrowTemplate" />
338 <Texture name="Kalented_Scroll_Arrow24" inherits="TalentArrowTemplate" />
339 <Texture name="Kalented_Scroll_Arrow25" inherits="TalentArrowTemplate" />
340 <Texture name="Kalented_Scroll_Arrow26" inherits="TalentArrowTemplate" />
341 <Texture name="Kalented_Scroll_Arrow27" inherits="TalentArrowTemplate" />
342 <Texture name="Kalented_Scroll_Arrow28" inherits="TalentArrowTemplate" />
343 <Texture name="Kalented_Scroll_Arrow29" inherits="TalentArrowTemplate" />
344 <Texture name="Kalented_Scroll_Arrow30" inherits="TalentArrowTemplate" />
345 </Layer>
346 </Layers>
347 </Frame>
348 </Frames>
349 </Frame>
350 </ScrollChild>
351 </ScrollFrame>
352 </Frames>
353  
354 <Scripts>
355 <OnLoad>
356 Kalented_OnLoad();
357 </OnLoad>
358  
359 <OnEvent>
360 Kalented_OnEvent(event, arg1);
361 </OnEvent>
362  
363 <OnShow>
364 Kalented_Update();
365 </OnShow>
366  
367 <OnUnload>
368 Kalented_OnUnload();
369 </OnUnload>
370 </Scripts>
371 </Frame>
372  
373 </ui>