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="UltimateUIButton.lua"/>
4 <CheckButton name="UltimateUIFeaturesButtonTemplate" virtual="true">
5 <Size>
6 <AbsDimension x="37" y="37"/>
7 </Size>
8 <Layers>
9 <Layer level="BACKGROUND">
10 <Texture name="$parentIconTexture" setAllPoints="true" hidden="true"/>
11 <FontString name="$parentName" inherits="GameFontNormal" hidden="true" justifyH="LEFT">
12 <Size>
13 <AbsDimension x="103" y="0"/>
14 </Size>
15 <Anchors>
16 <Anchor point="LEFT" relativePoint="RIGHT">
17 <Offset>
18 <AbsDimension x="4" y="4"/>
19 </Offset>
20 </Anchor>
21 </Anchors>
22 </FontString>
23 <FontString name="$parentOtherName" inherits="SubSpellFont" hidden="true" justifyH="LEFT">
24 <Size>
25 <AbsDimension x="79" y="18"/>
26 </Size>
27 <Anchors>
28 <Anchor point="TOPLEFT" relativeTo="$parentName" relativePoint="BOTTOMLEFT">
29 <Offset>
30 <AbsDimension x="0" y="4"/>
31 </Offset>
32 </Anchor>
33 </Anchors>
34 </FontString>
35 </Layer>
36 </Layers>
37 <Scripts>
38 <OnClick>
39 UltimateUIButton_OnClick();
40 </OnClick>
41 <OnEnter>
42 UltimateUIButton_OnEnter();
43 </OnEnter>
44 <OnLeave>
45 UltimateUITooltip:Hide();
46 </OnLeave>
47 </Scripts>
48 <NormalTexture name="$parentNormalTexture" file="Interface\Buttons\UI-Quickslot2">
49 <Size>
50 <AbsDimension x="64" y="64"/>
51 </Size>
52 <Anchors>
53 <Anchor point="CENTER">
54 <Offset>
55 <AbsDimension x="0" y="0"/>
56 </Offset>
57 </Anchor>
58 </Anchors>
59 </NormalTexture>
60 <PushedTexture file="Interface\Buttons\UI-Quickslot-Depress"/>
61 <HighlightTexture name="$parentHighlight" file="Interface\Buttons\ButtonHilight-Square" alphaMode="ADD"/>
62 <CheckedTexture file="Interface\Buttons\CheckButtonHilight" alphaMode="ADD"/>
63 </CheckButton>
64 <Frame name="UltimateUIFeatureFrame" toplevel="true" movable="true" enableMouse="true" hidden="true" parent="UIParent">
65 <Size>
66 <AbsDimension x="384" y="512"/>
67 </Size>
68 <Anchors>
69 <Anchor point="TOPLEFT">
70 <Offset>
71 <AbsDimension x="0" y="-104"/>
72 </Offset>
73 </Anchor>
74 </Anchors>
75 <HitRectInsets>
76 <AbsInset left="0" right="30" top="0" bottom="70"/>
77 </HitRectInsets>
78 <Layers>
79 <Layer level="BACKGROUND">
80 <Texture file="Interface\Spellbook\Spellbook-Icon">
81 <Size>
82 <AbsDimension x="58" y="58"/>
83 </Size>
84 <Anchors>
85 <Anchor point="TOPLEFT">
86 <Offset>
87 <AbsDimension x="10" y="-8"/>
88 </Offset>
89 </Anchor>
90 </Anchors>
91 </Texture>
92 </Layer>
93 <Layer level="ARTWORK">
94 <Texture file="Interface\Spellbook\UI-SpellbookPanel-TopLeft">
95 <Size>
96 <AbsDimension x="256" y="256"/>
97 </Size>
98 <Anchors>
99 <Anchor point="TOPLEFT"/>
100 </Anchors>
101 </Texture>
102 <Texture file="Interface\Spellbook\UI-SpellbookPanel-TopRight">
103 <Size>
104 <AbsDimension x="128" y="256"/>
105 </Size>
106 <Anchors>
107 <Anchor point="TOPRIGHT"/>
108 </Anchors>
109 </Texture>
110 <Texture file="Interface\Spellbook\UI-SpellbookPanel-BotLeft">
111 <Size>
112 <AbsDimension x="256" y="256"/>
113 </Size>
114 <Anchors>
115 <Anchor point="BOTTOMLEFT"/>
116 </Anchors>
117 </Texture>
118 <Texture file="Interface\Spellbook\UI-SpellbookPanel-BotRight">
119 <Size>
120 <AbsDimension x="128" y="256"/>
121 </Size>
122 <Anchors>
123 <Anchor point="BOTTOMRIGHT"/>
124 </Anchors>
125 </Texture>
126 <FontString name="UltimateUIFeaturesTitleText" inherits="GameFontNormal">
127 <Anchors>
128 <Anchor point="CENTER">
129 <Offset>
130 <AbsDimension x="6" y="230"/>
131 </Offset>
132 </Anchor>
133 </Anchors>
134 </FontString>
135 </Layer>
136 </Layers>
137 <Frames>
138 <Button name="UltimateUIFeatureFramePrevPageButton">
139 <Size>
140 <AbsDimension x="32" y="32"/>
141 </Size>
142 <Anchors>
143 <Anchor point="CENTER" relativeTo="UltimateUIFeatureFrame" relativePoint="BOTTOMLEFT">
144 <Offset>
145 <AbsDimension x="50" y="105"/>
146 </Offset>
147 </Anchor>
148 </Anchors>
149 <Layers>
150 <Layer level="BACKGROUND">
151 <FontString inherits="GameFontNormal" justifyH="LEFT" text="PREV">
152 <Anchors>
153 <Anchor point="LEFT" relativeTo="UltimateUIFeatureFramePrevPageButton" relativePoint="RIGHT"/>
154 </Anchors>
155 </FontString>
156 </Layer>
157 </Layers>
158 <Scripts>
159 <OnClick>
160 UltimateUIFeatureFrame_PrevPageButton_OnClick();
161 </OnClick>
162 </Scripts>
163 <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Up"/>
164 <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Down"/>
165 <DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Disabled"/>
166 <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
167 </Button>
168 <Button name="UltimateUIFeatureFrameNextPageButton">
169 <Size>
170 <AbsDimension x="32" y="32"/>
171 </Size>
172 <Anchors>
173 <Anchor point="CENTER" relativeTo="UltimateUIFeatureFrame" relativePoint="BOTTOMLEFT">
174 <Offset>
175 <AbsDimension x="314" y="105"/>
176 </Offset>
177 </Anchor>
178 </Anchors>
179 <Layers>
180 <Layer level="BACKGROUND">
181 <FontString inherits="GameFontNormal" justifyH="RIGHT" text="NEXT">
182 <Anchors>
183 <Anchor point="RIGHT" relativeTo="UltimateUIFeatureFrameNextPageButton" relativePoint="LEFT"/>
184 </Anchors>
185 </FontString>
186 </Layer>
187 </Layers>
188 <Scripts>
189 <OnClick>
190 UltimateUIFeatureFrame_NextPageButton_OnClick();
191 </OnClick>
192 </Scripts>
193 <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up"/>
194 <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down"/>
195 <DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Disabled"/>
196 <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
197 </Button>
198 <Button name="UltimateUIFeaturesCloseButton" inherits="UIPanelCloseButton">
199 <Anchors>
200 <Anchor point="CENTER" relativeTo="UltimateUIFeatureFrame" relativePoint="TOPRIGHT">
201 <Offset>
202 <AbsDimension x="-44" y="-26"/>
203 </Offset>
204 </Anchor>
205 </Anchors>
206 </Button>
207 <CheckButton name="UltimateUIFeaturesButton1" inherits="UltimateUIFeaturesButtonTemplate" id="1">
208 <Anchors>
209 <Anchor point="TOPLEFT">
210 <Offset>
211 <AbsDimension x="34" y="-85"/>
212 </Offset>
213 </Anchor>
214 </Anchors>
215 </CheckButton>
216 <CheckButton name="UltimateUIFeaturesButton2" inherits="UltimateUIFeaturesButtonTemplate" id="2">
217 <Anchors>
218 <Anchor point="TOPLEFT" relativeTo="UltimateUIFeaturesButton1">
219 <Offset>
220 <AbsDimension x="157" y="0"/>
221 </Offset>
222 </Anchor>
223 </Anchors>
224 </CheckButton>
225 <CheckButton name="UltimateUIFeaturesButton3" inherits="UltimateUIFeaturesButtonTemplate" id="3">
226 <Anchors>
227 <Anchor point="TOPLEFT" relativeTo="UltimateUIFeaturesButton1" relativePoint="BOTTOMLEFT">
228 <Offset>
229 <AbsDimension x="0" y="-7"/>
230 </Offset>
231 </Anchor>
232 </Anchors>
233 </CheckButton>
234 <CheckButton name="UltimateUIFeaturesButton4" inherits="UltimateUIFeaturesButtonTemplate" id="4">
235 <Anchors>
236 <Anchor point="TOPLEFT" relativeTo="UltimateUIFeaturesButton3">
237 <Offset>
238 <AbsDimension x="157" y="0"/>
239 </Offset>
240 </Anchor>
241 </Anchors>
242 </CheckButton>
243 <CheckButton name="UltimateUIFeaturesButton5" inherits="UltimateUIFeaturesButtonTemplate" id="5">
244 <Anchors>
245 <Anchor point="TOPLEFT" relativeTo="UltimateUIFeaturesButton3" relativePoint="BOTTOMLEFT">
246 <Offset>
247 <AbsDimension x="0" y="-7"/>
248 </Offset>
249 </Anchor>
250 </Anchors>
251 </CheckButton>
252 <CheckButton name="UltimateUIFeaturesButton6" inherits="UltimateUIFeaturesButtonTemplate" id="6">
253 <Anchors>
254 <Anchor point="TOPLEFT" relativeTo="UltimateUIFeaturesButton5">
255 <Offset>
256 <AbsDimension x="157" y="0"/>
257 </Offset>
258 </Anchor>
259 </Anchors>
260 </CheckButton>
261 <CheckButton name="UltimateUIFeaturesButton7" inherits="UltimateUIFeaturesButtonTemplate" id="7">
262 <Anchors>
263 <Anchor point="TOPLEFT" relativeTo="UltimateUIFeaturesButton5" relativePoint="BOTTOMLEFT">
264 <Offset>
265 <AbsDimension x="0" y="-7"/>
266 </Offset>
267 </Anchor>
268 </Anchors>
269 </CheckButton>
270 <CheckButton name="UltimateUIFeaturesButton8" inherits="UltimateUIFeaturesButtonTemplate" id="8">
271 <Anchors>
272 <Anchor point="TOPLEFT" relativeTo="UltimateUIFeaturesButton7">
273 <Offset>
274 <AbsDimension x="157" y="0"/>
275 </Offset>
276 </Anchor>
277 </Anchors>
278 </CheckButton>
279 <CheckButton name="UltimateUIFeaturesButton9" inherits="UltimateUIFeaturesButtonTemplate" id="9">
280 <Anchors>
281 <Anchor point="TOPLEFT" relativeTo="UltimateUIFeaturesButton7" relativePoint="BOTTOMLEFT">
282 <Offset>
283 <AbsDimension x="0" y="-7"/>
284 </Offset>
285 </Anchor>
286 </Anchors>
287 </CheckButton>
288 <CheckButton name="UltimateUIFeaturesButton10" inherits="UltimateUIFeaturesButtonTemplate" id="10">
289 <Anchors>
290 <Anchor point="TOPLEFT" relativeTo="UltimateUIFeaturesButton9">
291 <Offset>
292 <AbsDimension x="157" y="0"/>
293 </Offset>
294 </Anchor>
295 </Anchors>
296 </CheckButton>
297 <CheckButton name="UltimateUIFeaturesButton11" inherits="UltimateUIFeaturesButtonTemplate" id="11">
298 <Anchors>
299 <Anchor point="TOPLEFT" relativeTo="UltimateUIFeaturesButton9" relativePoint="BOTTOMLEFT">
300 <Offset>
301 <AbsDimension x="0" y="-7"/>
302 </Offset>
303 </Anchor>
304 </Anchors>
305 </CheckButton>
306 <CheckButton name="UltimateUIFeaturesButton12" inherits="UltimateUIFeaturesButtonTemplate" id="12">
307 <Anchors>
308 <Anchor point="TOPLEFT" relativeTo="UltimateUIFeaturesButton11">
309 <Offset>
310 <AbsDimension x="157" y="0"/>
311 </Offset>
312 </Anchor>
313 </Anchors>
314 </CheckButton>
315 <CheckButton name="UltimateUIFeaturesButton13" inherits="UltimateUIFeaturesButtonTemplate" id="13">
316 <Anchors>
317 <Anchor point="TOPLEFT" relativeTo="UltimateUIFeaturesButton11" relativePoint="BOTTOMLEFT">
318 <Offset>
319 <AbsDimension x="0" y="-7"/>
320 </Offset>
321 </Anchor>
322 </Anchors>
323 </CheckButton>
324 <CheckButton name="UltimateUIFeaturesButton14" inherits="UltimateUIFeaturesButtonTemplate" id="14">
325 <Anchors>
326 <Anchor point="TOPLEFT" relativeTo="UltimateUIFeaturesButton13">
327 <Offset>
328 <AbsDimension x="157" y="0"/>
329 </Offset>
330 </Anchor>
331 </Anchors>
332 </CheckButton>
333 </Frames>
334 <Scripts>
335 <OnShow>
336 UltimateUIButton_OnShow();
337 </OnShow>
338 <OnHide>
339 UltimateUIButton_OnHide();
340 </OnHide>
341 </Scripts>
342 </Frame>
343 <Button name="UltimateUIMinimapButton" parent="Minimap" movable="true" toplevel="true">
344 <Size>
345 <AbsDimension x="34" y="34"/>
346 </Size>
347 <Anchors>
348 <Anchor point="CENTER" relativeTo="MinimapBackdrop" relativePoint="BOTTOM">
349 <Offset>
350 <AbsDimension x="-61" y="81"/>
351 </Offset>
352 </Anchor>
353 </Anchors>
354 <Scripts>
355 <OnEnter>
356 GameTooltip:SetOwner(this, "ANCHOR_LEFT");
357 GameTooltip:SetText("|cFF006699UUI SpellBook|r\nShift + Left-Click to drag", 1.0, 1.0, 1.0);
358 </OnEnter>
359 <OnLeave>
360 GameTooltip:Hide();
361 </OnLeave>
362  
363 <OnClick>
364 if( not IsShiftKeyDown() ) then
365 ToggleUltimateUIFeatureFrame();
366 end
367 </OnClick>
368 <OnMouseDown>
369 GameTooltip:Hide();
370 if(arg1 == "LeftButton" and IsShiftKeyDown() ) then
371 this:StartMoving();
372 end
373 </OnMouseDown>
374  
375 <OnMouseUp>
376 if(arg1 == "LeftButton") then
377 this:StopMovingOrSizing();
378 end
379 </OnMouseUp>
380 </Scripts>
381 <NormalTexture file="Interface\AddOns\UltimateUI\Skin\MinimapButton\UltimateUIButton"/>
382 <PushedTexture file="Interface\AddOns\UltimateUI\Skin\MinimapButton\UltimateUIButtonDown"/>
383 <DisabledTexture file="Interface\Minimap\UI-Minimap-ZoomOutButton-Disabled"/>
384 <HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
385 </Button>
386 </Ui>