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/ C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
2  
3 <Button name="TellTrackTextButton" virtual="true" hidden="true">
4 <Size>
5 <AbsDimension x="71" y="20"/>
6 </Size>
7 <Backdrop edgeFile="Interface\AddOns\TellTrack\Skin\TellTrackButtonBorder">
8 <EdgeSize>
9 <AbsValue val="4"/>
10 </EdgeSize>
11 </Backdrop>
12 <Layers>
13 <Layer level="BACKGROUND">
14 <Texture name="$parentBackground" setAllPoints="true">
15 <Color r="0" g="0" b="0" a="1.0" />
16 </Texture>
17 </Layer>
18 <Layer level="OVERLAY">
19 <FontString name="$parentText" inherits="GameFontNormalSmall" nonspacewrap="true" justifyH="LEFT">
20 <Size>
21 <AbsDimension x="61" y="12"/>
22 </Size>
23 <Anchors>
24 <Anchor point="LEFT">
25 <Offset>
26 <AbsDimension x="5" y="0"/>
27 </Offset>
28 </Anchor>
29 </Anchors>
30 </FontString>
31 </Layer>
32 </Layers>
33  
34 <Scripts>
35 <OnLoad>
36 TellTrackTextButton_OnLoad();
37 </OnLoad>
38 <OnEnter>
39 TellTrackTextButton_OnEnter();
40 </OnEnter>
41 <OnLeave>
42 TellTrackTextButton_OnLeave();
43 </OnLeave>
44 <OnClick>
45 TellTrackTextButton_OnClick(arg1);
46 </OnClick>
47 <OnSizeChanged>
48 getglobal(this:GetName().."Text"):SetWidth(this:GetWidth()-10);
49 </OnSizeChanged>
50 </Scripts>
51 </Button>
52  
53 <Frame name="TellTrackFrame" enableMouse="true" movable="true" resizable="true" parent="UIParent" hidden="true">
54 <Size>
55 <AbsDimension x="95" y="113"/>
56 </Size>
57 <Anchors>
58 <Anchor point="LEFT" relativeTo="ChatFrame1" relativePoint="RIGHT">
59 <Offset>
60 <AbsDimension x="0" y="0"/>
61 </Offset>
62 </Anchor>
63 </Anchors>
64 <ResizeBounds>
65 <minResize>
66 <AbsDimension x="95" y="84"/>
67 </minResize>
68 <maxResize>
69 <AbsDimension x="200" y="444"/>
70 </maxResize>
71 </ResizeBounds>
72 <Frames>
73 <Frame name="$parentBackground" setAllPoints="true">
74 <Backdrop edgeFile="Interface\AddOns\TellTrack\Skin\TellTrackBorder" bgFile="Interface\AddOns\TellTrack\Skin\BlackBg">
75 <BackgroundInsets>
76 <AbsInset left="11" right="10" top="12" bottom="11"/>
77 </BackgroundInsets>
78 <TileSize>
79 <AbsValue val="32"/>
80 </TileSize>
81 <EdgeSize>
82 <AbsValue val="32"/>
83 </EdgeSize>
84 </Backdrop>
85 </Frame>
86 <Button name="$parentArrowUpButton">
87 <Size>
88 <AbsDimension x="71" y="10"/>
89 </Size>
90 <Anchors>
91 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
92 <Offset>
93 <AbsDimension x="12" y="-12"/>
94 </Offset>
95 </Anchor>
96 </Anchors>
97 <Layers>
98 <Layer level="BACKGROUND">
99 <Texture name="$parentBG" file="Interface\AddOns\TellTrack\Skin\TellTrackArrowUpBG" setAllPoints="true">
100 <TexCoords left="0" right="1" top="0" bottom="1" />
101 </Texture>
102 </Layer>
103 <Layer level="LOW">
104 <Texture name="$parentRightBG" file="Interface\AddOns\TellTrack\Skin\TellTrackArrowUpLeftCorner">
105 <Size>
106 <AbsDimension x="10" y="10"/>
107 </Size>
108 <TexCoords left="1" right="0" top="0" bottom="1" />
109 <Anchors>
110 <Anchor point="RIGHT"/>
111 </Anchors>
112 </Texture>
113 <Texture name="$parentLeftBG" file="Interface\AddOns\TellTrack\Skin\TellTrackArrowUpLeftCorner">
114 <Size>
115 <AbsDimension x="10" y="10"/>
116 </Size>
117 <TexCoords left="0" right="1" top="0" bottom="1" />
118 <Anchors>
119 <Anchor point="LEFT"/>
120 </Anchors>
121 </Texture>
122 <Texture name="$parentArrow" file="Interface\AddOns\TellTrack\Skin\TellTrackArrowUp">
123 <Size>
124 <AbsDimension x="20" y="10"/>
125 </Size>
126 <TexCoords left="0" right="1" top="0" bottom="1" />
127 <Anchors>
128 <Anchor point="CENTER"/>
129 </Anchors>
130 </Texture>
131 </Layer>
132 </Layers>
133 <Scripts>
134 <OnLoad>
135 TellTrack_ArrowButton_OnLoad(this);
136 </OnLoad>
137 <OnClick>
138 TellTrack_ArrowUpButton_OnClick(arg1);
139 </OnClick>
140 <OnSizeChanged>
141 TellTrack_ArrowButton_OnSizeChanged(this);
142 </OnSizeChanged>
143 </Scripts>
144 </Button>
145  
146 <Button name="TellTrack1" inherits="TellTrackTextButton" id="1">
147 <Anchors>
148 <Anchor point="TOPLEFT" relativeTo="$parentArrowUpButton" relativePoint="BOTTOMLEFT"/>
149 </Anchors>
150 </Button>
151 <Button name="TellTrack2" inherits="TellTrackTextButton" id="2">
152 <Anchors>
153 <Anchor point="TOPLEFT" relativeTo="TellTrack1" relativePoint="BOTTOMLEFT"/>
154 </Anchors>
155 </Button>
156 <Button name="TellTrack3" inherits="TellTrackTextButton" id="3">
157 <Anchors>
158 <Anchor point="TOPLEFT" relativeTo="TellTrack2" relativePoint="BOTTOMLEFT"/>
159 </Anchors>
160 </Button>
161 <Button name="TellTrack4" inherits="TellTrackTextButton" id="4">
162 <Anchors>
163 <Anchor point="TOPLEFT" relativeTo="TellTrack3" relativePoint="BOTTOMLEFT"/>
164 </Anchors>
165 </Button>
166 <Button name="TellTrack5" inherits="TellTrackTextButton" id="5">
167 <Anchors>
168 <Anchor point="TOPLEFT" relativeTo="TellTrack4" relativePoint="BOTTOMLEFT"/>
169 </Anchors>
170 </Button>
171 <Button name="TellTrack6" inherits="TellTrackTextButton" id="6">
172 <Anchors>
173 <Anchor point="TOPLEFT" relativeTo="TellTrack5" relativePoint="BOTTOMLEFT"/>
174 </Anchors>
175 </Button>
176 <Button name="TellTrack7" inherits="TellTrackTextButton" id="7">
177 <Anchors>
178 <Anchor point="TOPLEFT" relativeTo="TellTrack6" relativePoint="BOTTOMLEFT"/>
179 </Anchors>
180 </Button>
181 <Button name="TellTrack8" inherits="TellTrackTextButton" id="8">
182 <Anchors>
183 <Anchor point="TOPLEFT" relativeTo="TellTrack7" relativePoint="BOTTOMLEFT"/>
184 </Anchors>
185 </Button>
186 <Button name="TellTrack9" inherits="TellTrackTextButton" id="9">
187 <Anchors>
188 <Anchor point="TOPLEFT" relativeTo="TellTrack8" relativePoint="BOTTOMLEFT"/>
189 </Anchors>
190 </Button>
191 <Button name="TellTrack10" inherits="TellTrackTextButton" id="10">
192 <Anchors>
193 <Anchor point="TOPLEFT" relativeTo="TellTrack9" relativePoint="BOTTOMLEFT"/>
194 </Anchors>
195 </Button>
196 <Button name="TellTrack11" inherits="TellTrackTextButton" id="11">
197 <Anchors>
198 <Anchor point="TOPLEFT" relativeTo="TellTrack10" relativePoint="BOTTOMLEFT"/>
199 </Anchors>
200 </Button>
201 <Button name="TellTrack12" inherits="TellTrackTextButton" id="12">
202 <Anchors>
203 <Anchor point="TOPLEFT" relativeTo="TellTrack11" relativePoint="BOTTOMLEFT"/>
204 </Anchors>
205 </Button>
206 <Button name="TellTrack13" inherits="TellTrackTextButton" id="13">
207 <Anchors>
208 <Anchor point="TOPLEFT" relativeTo="TellTrack12" relativePoint="BOTTOMLEFT"/>
209 </Anchors>
210 </Button>
211 <Button name="TellTrack14" inherits="TellTrackTextButton" id="14">
212 <Anchors>
213 <Anchor point="TOPLEFT" relativeTo="TellTrack13" relativePoint="BOTTOMLEFT"/>
214 </Anchors>
215 </Button>
216 <Button name="TellTrack15" inherits="TellTrackTextButton" id="15">
217 <Anchors>
218 <Anchor point="TOPLEFT" relativeTo="TellTrack14" relativePoint="BOTTOMLEFT"/>
219 </Anchors>
220 </Button>
221 <Button name="TellTrack16" inherits="TellTrackTextButton" id="16">
222 <Anchors>
223 <Anchor point="TOPLEFT" relativeTo="TellTrack15" relativePoint="BOTTOMLEFT"/>
224 </Anchors>
225 </Button>
226 <Button name="TellTrack17" inherits="TellTrackTextButton" id="17">
227 <Anchors>
228 <Anchor point="TOPLEFT" relativeTo="TellTrack16" relativePoint="BOTTOMLEFT"/>
229 </Anchors>
230 </Button>
231 <Button name="TellTrack18" inherits="TellTrackTextButton" id="18">
232 <Anchors>
233 <Anchor point="TOPLEFT" relativeTo="TellTrack17" relativePoint="BOTTOMLEFT"/>
234 </Anchors>
235 </Button>
236 <Button name="TellTrack19" inherits="TellTrackTextButton" id="19">
237 <Anchors>
238 <Anchor point="TOPLEFT" relativeTo="TellTrack18" relativePoint="BOTTOMLEFT"/>
239 </Anchors>
240 </Button>
241 <Button name="TellTrack20" inherits="TellTrackTextButton" id="20">
242 <Anchors>
243 <Anchor point="TOPLEFT" relativeTo="TellTrack19" relativePoint="BOTTOMLEFT"/>
244 </Anchors>
245 </Button>
246  
247 <Button name="$parentArrowDownButton">
248 <Size>
249 <AbsDimension x="71" y="10"/>
250 </Size>
251 <Anchors>
252 <Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="BOTTOMLEFT">
253 <Offset>
254 <AbsDimension x="12" y="12"/>
255 </Offset>
256 </Anchor>
257 </Anchors>
258 <Layers>
259 <Layer level="BACKGROUND">
260 <Texture name="$parentBG" file="Interface\AddOns\TellTrack\Skin\TellTrackArrowUpBG" setAllPoints="true">
261 <TexCoords left="0" right="1" top="1" bottom="0" />
262 </Texture>
263 </Layer>
264 <Layer level="LOW">
265 <Texture name="$parentRightBG" file="Interface\AddOns\TellTrack\Skin\TellTrackArrowUpLeftCorner">
266 <Size>
267 <AbsDimension x="10" y="10"/>
268 </Size>
269 <TexCoords left="1" right="0" top="1" bottom="0" />
270 <Anchors>
271 <Anchor point="RIGHT"/>
272 </Anchors>
273 </Texture>
274 <Texture name="$parentLeftBG" file="Interface\AddOns\TellTrack\Skin\TellTrackArrowUpLeftCorner">
275 <Size>
276 <AbsDimension x="10" y="10"/>
277 </Size>
278 <TexCoords left="0" right="1" top="1" bottom="0" />
279 <Anchors>
280 <Anchor point="LEFT"/>
281 </Anchors>
282 </Texture>
283 <Texture name="$parentArrow" file="Interface\AddOns\TellTrack\Skin\TellTrackArrowUp">
284 <Size>
285 <AbsDimension x="20" y="10"/>
286 </Size>
287 <TexCoords left="0" right="1" top="1" bottom="0" />
288 <Anchors>
289 <Anchor point="CENTER"/>
290 </Anchors>
291 </Texture>
292 </Layer>
293 </Layers>
294 <Scripts>
295 <OnLoad>
296 TellTrack_ArrowButton_OnLoad(this);
297 </OnLoad>
298 <OnClick>
299 TellTrack_ArrowDownButton_OnClick(arg1);
300 </OnClick>
301 <OnSizeChanged>
302 TellTrack_ArrowButton_OnSizeChanged(this);
303 </OnSizeChanged>
304 </Scripts>
305 </Button>
306 <Button name="$parentQButton">
307 <Size>
308 <AbsDimension x="16" y="16"/>
309 </Size>
310 <Anchors>
311 <Anchor point="TOPRIGHT" relativeTo="$parent" relativePoint="TOPRIGHT">
312 <Offset>
313 <AbsDimension x="-3" y="-3"/>
314 </Offset>
315 </Anchor>
316 </Anchors>
317  
318 <Scripts>
319 <OnLoad>
320 TellTrack_QButton_OnLoad();
321 </OnLoad>
322 <OnClick>
323 TellTrack_QButton_OnClick(arg1);
324 </OnClick>
325 <OnEnter>
326 TellTrack_QButton_OnEnter();
327 </OnEnter>
328 <OnLeave>
329 TellTrack_QButton_OnLeave();
330 </OnLeave>
331 </Scripts>
332 </Button>
333 <Button name="$parentResizeBottomRight">
334 <Size>
335 <AbsDimension x="16" y="16"/>
336 </Size>
337 <Anchors>
338 <Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="BOTTOMRIGHT">
339 <Offset>
340 <AbsDimension x="-3" y="-3"/>
341 </Offset>
342 </Anchor>
343 </Anchors>
344  
345 <Scripts>
346 <OnLoad>
347 --this:SetFrameLevel(this:GetFrameLevel()-1);
348 </OnLoad>
349 <OnEnter>
350 TellTrack_ResizeButton_OnEnter();
351 </OnEnter>
352 <OnLeave>
353 TellTrack_ResizeButton_OnLeave();
354 </OnLeave>
355 <OnMouseDown>
356 this:GetParent().isResizing = true;
357 this:GetParent():StartSizing("BOTTOMRIGHT");
358 </OnMouseDown>
359 <OnMouseUp>
360 this:GetParent():StopMovingOrSizing();
361 this:GetParent().isResizing = false;
362 </OnMouseUp>
363 </Scripts>
364 </Button>
365 </Frames>
366 <Scripts>
367 <OnLoad>
368 TellTrack_OnLoad();
369 this:RegisterForDrag("LeftButton");
370 </OnLoad>
371 <OnEvent>
372 TellTrack_OnEvent(event);
373 </OnEvent>
374 <OnMouseUp>
375 if ( this.isMoving ) then
376 this:StopMovingOrSizing();
377 this.isMoving = false;
378 end
379 </OnMouseUp>
380 <OnMouseDown>
381 local x, y = GetCursorPosition();
382 this.xOffset = x - this:GetLeft();
383 this.yOffset = y - this:GetBottom();
384 </OnMouseDown>
385 <OnDragStart>
386 local x, y = GetCursorPosition();
387 this:ClearAllPoints();
388 this:SetPoint("BOTTOMLEFT", "UIParent", "BOTTOMLEFT", x-this.xOffset, y-this.yOffset);
389 this:StartMoving();
390 this.isMoving = true;
391 </OnDragStart>
392 <OnDragStop>
393 this:StopMovingOrSizing();
394 this.isMoving = false;
395 </OnDragStop>
396 <OnSizeChanged>
397 TellTrackFrame_OnSizeChanged();
398 </OnSizeChanged>
399 <OnMouseWheel>
400 TellTrack_OnMouseWheel(arg1);
401 </OnMouseWheel>
402 <OnHide>
403 if ( this.isMoving or this.isResizing ) then
404 this:StopMovingOrSizing();
405 this.isMoving = false;
406 this.isResizing = false;
407 end
408 </OnHide>
409 </Scripts>
410 </Frame>
411 <GameTooltip name="TellTrackTooltip" frameStrata="TOOLTIP" hidden="true" inherits="GameTooltipTemplate" parent="UIParent"/>
412 <Frame name="TellTrackDropDown" frameStrata="DIALOG" inherits="UIDropDownMenuTemplate" hidden="true" parent="TellTrackFrame"/>
413 </Ui>