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  
4 <!-- Main frame linked to bottom tabs. -->
5 <Frame name="TitanBG_Menu_Template" parent="TitanBG_Menu" toplevel="true" movable="true" enableMouse="true" virtual="true">
6 <Size><AbsDimension x="640" y="512"/></Size>
7  
8 <Anchors>
9 <Anchor point="CENTER">
10 <Offset><AbsDimension x="0" y="0"/></Offset>
11 </Anchor>
12 </Anchors>
13  
14 <HitRectInsets><AbsInset left="0" right="44" top="0" bottom="13"/></HitRectInsets>
15  
16 <Layers>
17 <Layer level="BACKGROUND">
18  
19 <!-- BACKGROUND TEXTURES -->
20 <Texture file="Interface\HelpFrame\HelpFrame-TopLeft">
21 <Size><AbsDimension x="256" y="256"/></Size>
22 <Anchors><Anchor point="TOPLEFT"/></Anchors>
23 </Texture>
24  
25 <Texture file="Interface\HelpFrame\HelpFrame-Top">
26 <Size><AbsDimension x="256" y="256"/></Size>
27  
28 <Anchors>
29 <Anchor point="TOPLEFT">
30 <Offset><AbsDimension x="256" y="0"/></Offset>
31 </Anchor>
32 </Anchors>
33 </Texture>
34  
35 <Texture file="Interface\HelpFrame\HelpFrame-TopRight">
36 <Size><AbsDimension x="128" y="256"/></Size>
37 <Anchors><Anchor point="TOPRIGHT"/></Anchors>
38 </Texture>
39  
40 <Texture name="$parent_Texture_Left" file="Interface\HelpFrame\HelpFrame-BotLeft">
41 <Size><AbsDimension x="256" y="256"/></Size>
42 <Anchors><Anchor point="BOTTOMLEFT"/></Anchors>
43 </Texture>
44  
45 <Texture file="Interface\HelpFrame\HelpFrame-Bottom">
46 <Size><AbsDimension x="256" y="256"/></Size>
47  
48 <Anchors>
49 <Anchor point="BOTTOMLEFT">
50 <Offset><AbsDimension x="256" y="0"/></Offset>
51 </Anchor>
52 </Anchors>
53 </Texture>
54  
55 <Texture file="Interface\HelpFrame\HelpFrame-BotRight">
56 <Size><AbsDimension x="128" y="256"/></Size>
57 <Anchors><Anchor point="BOTTOMRIGHT"/></Anchors>
58 </Texture>
59 </Layer>
60  
61 <Layer level="ARTWORK">
62  
63 <!-- HEADER -->
64 <Texture name="$parent_Texture_Header" file="Interface\DialogFrame\UI-DialogBox-Header">
65 <Size>
66 <AbsDimension x="336" y="64"/>
67 </Size>
68 <Anchors>
69 <Anchor point="TOP">
70 <Offset>
71 <AbsDimension x="-12" y="12"/>
72 </Offset>
73 </Anchor>
74 </Anchors>
75 </Texture>
76  
77 <FontString name="$parent_Text_Header" inherits="GameFontRed" text="TITANBG_MENU_HEADER">
78 <Anchors>
79 <Anchor point="TOP" relativeTo="$parent_Texture_Header">
80 <Offset><AbsDimension x="0" y="-14"/></Offset>
81 </Anchor>
82 </Anchors>
83 </FontString>
84  
85 <FontString name="$parent_Text_Notice" inherits="GameFontHighlightSmall" text="TITANBG_MESSAGE_NOTICE">
86 <Anchors>
87 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_Texture_Left">
88 <Offset><AbsDimension x="18" y="28"/></Offset>
89 </Anchor>
90 </Anchors>
91 </FontString>
92 </Layer>
93 </Layers>
94  
95 <Frames>
96 <Button name="HelpFrameCloseButton" inherits="UIPanelCloseButton">
97 <Anchors>
98 <Anchor point="TOPRIGHT">
99 <Offset><AbsDimension x="-42" y="-3"/></Offset>
100 </Anchor>
101 </Anchors>
102 </Button>
103 </Frames>
104 </Frame>
105  
106 <Frame name="TitanBG_MenuDivider_Template" virtual="true">
107 <Size><AbsDimension x="577" y="19"/></Size>
108  
109 <Layers>
110 <Layer level="BACKGROUND">
111 <Texture name="$parentLeft" file="Interface\HelpFrame\HelpFrameDivider">
112 <Size><AbsDimension x="256" y="20"/></Size>
113 <Anchors><Anchor point="TOPLEFT"/></Anchors>
114 <TexCoords left="0" right="1.0" top="0" bottom="0.3125"/>
115 </Texture>
116  
117 <Texture name="$parentMiddle" file="Interface\HelpFrame\HelpFrameDivider">
118 <Size><AbsDimension x="321" y="20"/></Size>
119  
120 <Anchors>
121 <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT">
122 <Offset><AbsDimension x="0" y="1"/></Offset>
123 </Anchor>
124 </Anchors>
125  
126 <TexCoords left="0" right="1.0" top="0.3125" bottom="0.625"/>
127 </Texture>
128 </Layer>
129 </Layers>
130 </Frame>
131  
132 <Frame name="TitanBG_Menu" inherits="TitanBG_Menu_Template" parent="UIParent" hidden="true">
133 <Frames>
134 <!-- GENERAL -->
135  
136 <Frame name="$parent_DD_General" inherits="UIDropDownMenuTemplate">
137 <Anchors>
138 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_Header_General">
139 <Offset><AbsDimension x="-17" y="-8"/></Offset>
140 </Anchor>
141 </Anchors>
142  
143 <Scripts>
144 <OnShow>
145 UIDropDownMenu_Initialize(this, TitanBG_Menu_DropDownInit_General);
146 </OnShow>
147 </Scripts>
148 </Frame>
149  
150 <Frame name="$parent_DD_General_Battleground" inherits="UIDropDownMenuTemplate">
151 <Anchors>
152 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_Header_General_Battleground">
153 <Offset><AbsDimension x="-17" y="-6"/></Offset>
154 </Anchor>
155 </Anchors>
156  
157 <Scripts>
158 <OnShow>
159 UIDropDownMenu_Initialize(this, TitanBG_Menu_DropDownInit_General_Battleground);
160 </OnShow>
161 </Scripts>
162 </Frame>
163  
164 <Frame name="$parent_DD_General_Interface" inherits="UIDropDownMenuTemplate">
165 <Anchors>
166 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_Header_General_Interface">
167 <Offset><AbsDimension x="-17" y="-6"/></Offset>
168 </Anchor>
169 </Anchors>
170  
171 <Scripts>
172 <OnShow>
173 UIDropDownMenu_Initialize(this, TitanBG_Menu_DropDownInit_General_Interface);
174 </OnShow>
175 </Scripts>
176 </Frame>
177  
178 <Frame name="$parent_DD_General_Interface_WhichSound" inherits="UIDropDownMenuTemplate">
179 <Anchors>
180 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_Header_General_Interface">
181 <Offset><AbsDimension x="-17" y="-36"/></Offset>
182 </Anchor>
183 </Anchors>
184  
185 <Scripts>
186 <OnShow>
187 UIDropDownMenu_Initialize(this, TitanBG_Menu_DropDownInit_General_Interface_WhichSound);
188 </OnShow>
189 </Scripts>
190 </Frame>
191  
192 <!-- DIVIDER -->
193  
194 <Frame name="$parent_Divider_1" inherits="TitanBG_MenuDivider_Template">
195 <Anchors>
196 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Header_General_Interface">
197 <Offset>
198 <AbsDimension x="-32" y="-98"/>
199 </Offset>
200 </Anchor>
201 </Anchors>
202 </Frame>
203  
204 <!-- DISPLAY -->
205  
206 <Frame name="$parent_DD_Display" inherits="UIDropDownMenuTemplate">
207 <Anchors>
208 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_Header_Display">
209 <Offset><AbsDimension x="-17" y="-8"/></Offset>
210 </Anchor>
211 </Anchors>
212  
213 <Scripts>
214 <OnShow>
215 UIDropDownMenu_Initialize(this, TitanBG_Menu_DropDownInit_Display);
216 </OnShow>
217 </Scripts>
218 </Frame>
219  
220 <Frame name="$parent_DD_Display_World_Button" inherits="UIDropDownMenuTemplate">
221 <Anchors>
222 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_Header_Display_World">
223 <Offset><AbsDimension x="-17" y="-6"/></Offset>
224 </Anchor>
225 </Anchors>
226  
227 <Scripts>
228 <OnShow>
229 UIDropDownMenu_Initialize(this, TitanBG_Menu_DropDownInit_Display_World_Button);
230 </OnShow>
231 </Scripts>
232 </Frame>
233  
234 <Frame name="$parent_DD_Display_World_Tooltip" inherits="UIDropDownMenuTemplate">
235 <Anchors>
236 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_Header_Display_World">
237 <Offset><AbsDimension x="164" y="-6"/></Offset>
238 </Anchor>
239 </Anchors>
240  
241 <Scripts>
242 <OnShow>
243 UIDropDownMenu_Initialize(this, TitanBG_Menu_DropDownInit_Display_World_Tooltip);
244 </OnShow>
245 </Scripts>
246 </Frame>
247  
248 <Frame name="$parent_DD_Display_World_Popup" inherits="UIDropDownMenuTemplate">
249 <Anchors>
250 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_Header_Display_World">
251 <Offset><AbsDimension x="344" y="-6"/></Offset>
252 </Anchor>
253 </Anchors>
254  
255 <Scripts>
256 <OnShow>
257 UIDropDownMenu_Initialize(this, TitanBG_Menu_DropDownInit_Display_World_Popup);
258 </OnShow>
259 </Scripts>
260 </Frame>
261  
262 <Frame name="$parent_DD_Display_Battleground_Button" inherits="UIDropDownMenuTemplate">
263 <Anchors>
264 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_Header_Display_Battleground">
265 <Offset><AbsDimension x="-17" y="-6"/></Offset>
266 </Anchor>
267 </Anchors>
268  
269 <Scripts>
270 <OnShow>
271 UIDropDownMenu_Initialize(this, TitanBG_Menu_DropDownInit_Display_Battleground_Button);
272 </OnShow>
273 </Scripts>
274 </Frame>
275  
276 <Frame name="$parent_DD_Display_Battleground_Tooltip" inherits="UIDropDownMenuTemplate">
277 <Anchors>
278 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_Header_Display_Battleground">
279 <Offset><AbsDimension x="164" y="-6"/></Offset>
280 </Anchor>
281 </Anchors>
282  
283 <Scripts>
284 <OnShow>
285 UIDropDownMenu_Initialize(this, TitanBG_Menu_DropDownInit_Display_Battleground_Tooltip);
286 </OnShow>
287 </Scripts>
288 </Frame>
289  
290 <Frame name="$parent_DD_Display_Battleground_Panel" inherits="UIDropDownMenuTemplate">
291 <Anchors>
292 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_Header_Display_Battleground">
293 <Offset><AbsDimension x="344" y="-6"/></Offset>
294 </Anchor>
295 </Anchors>
296  
297 <Scripts>
298 <OnShow>
299 UIDropDownMenu_Initialize(this, TitanBG_Menu_DropDownInit_Display_Battleground_Panel);
300 </OnShow>
301 </Scripts>
302 </Frame>
303 </Frames>
304  
305 <Layers>
306 <Layer level="OVERLAY">
307  
308 <!-- GENERAL -->
309 <FontString name="$parent_Header_General" inherits="GameFontNormalLarge" justifyH="LEFT">
310 <Size><AbsDimension x="550" y="0"/></Size>
311  
312 <Anchors>
313 <Anchor point="TOPLEFT">
314 <Offset><AbsDimension x="25" y="-60"/></Offset>
315 </Anchor>
316 </Anchors>
317 </FontString>
318  
319 <FontString name="$parent_Header_General_Battleground" inherits="GameFontNormal" justifyH="LEFT">
320 <Size><AbsDimension x="550" y="0"/></Size>
321  
322 <Anchors>
323 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_Header_General">
324 <Offset><AbsDimension x="20" y="-40"/></Offset>
325 </Anchor>
326 </Anchors>
327 </FontString>
328  
329 <FontString name="$parent_Header_General_Interface" inherits="GameFontNormal" justifyH="LEFT">
330 <Size><AbsDimension x="550" y="0"/></Size>
331  
332 <Anchors>
333 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_Header_General_Battleground">
334 <Offset><AbsDimension x="0" y="-38"/></Offset>
335 </Anchor>
336 </Anchors>
337 </FontString>
338  
339 <!-- DISPLAY -->
340 <FontString name="$parent_Header_Display" inherits="GameFontNormalLarge" justifyH="LEFT">
341 <Size><AbsDimension x="550" y="0"/></Size>
342  
343 <Anchors>
344 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Header_General_Interface">
345 <Offset>
346 <AbsDimension x="-20" y="-120"/>
347 </Offset>
348 </Anchor>
349 </Anchors>
350 </FontString>
351  
352 <FontString name="$parent_Header_Display_World" inherits="GameFontNormal" justifyH="LEFT">
353 <Size><AbsDimension x="550" y="0"/></Size>
354  
355 <Anchors>
356 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_Header_Display">
357 <Offset><AbsDimension x="20" y="-40"/></Offset>
358 </Anchor>
359 </Anchors>
360 </FontString>
361  
362 <FontString name="$parent_Header_Display_Battleground" inherits="GameFontNormal" justifyH="LEFT">
363 <Size><AbsDimension x="550" y="0"/></Size>
364  
365 <Anchors>
366 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_Header_Display_World">
367 <Offset><AbsDimension x="0" y="-38"/></Offset>
368 </Anchor>
369 </Anchors>
370 </FontString>
371 </Layer>
372 </Layers>
373  
374 <Scripts>
375 <OnLoad>
376 this:RegisterForDrag("LeftButton");
377 TitanBG_Menu_LoadMenuFrames();
378 </OnLoad>
379  
380 <OnDragStart>
381 this:StartMoving();
382 this.isMoving = true;
383 </OnDragStart>
384  
385 <OnDragStop>
386 this:StopMovingOrSizing();
387 this.isMoving = false;
388 </OnDragStop>
389 </Scripts>
390 </Frame>
391 </Ui>