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/FrameXML/UI.xsd">
2 <Script file="localization.lua"/>
3 <Script file="TitanStanceSets.lua"/>
4  
5 <Frame parent="UIParent">
6 <Frames>
7 <Button name="TitanPanelStanceSetsButton" inherits="TitanPanelComboTemplate" frameStrata="FULLSCREEN" toplevel="true">
8 <Scripts>
9 <OnLoad>
10 TitanPanelStanceSetsButton_OnLoad();
11 TitanPanelButton_OnLoad();
12 </OnLoad>
13 <OnEvent>
14 TitanPanelStanceSetsButton_OnEvent();
15 </OnEvent>
16 <OnClick>
17 TitalPanelStanceSetsButton_OnClick(arg1);
18 TitanPanelButton_OnClick(arg1, 1);
19 </OnClick>
20 </Scripts>
21 </Button>
22 </Frames>
23 </Frame>
24 <Button name="StanceSetSlotTemplate" inherits="ItemButtonTemplate" virtual="true">
25 <Scripts>
26 <OnLoad>
27 this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
28 this:RegisterForDrag("LeftButton");
29 </OnLoad>
30 <OnClick>
31 StanceSetSlot_OnClick(arg1);
32 </OnClick>
33 <OnDragStart>
34 StanceSetSlot_OnDragStart();
35 </OnDragStart>
36 <OnReceiveDrag>
37 StanceSetSlot_OnReceiveDrag();
38 </OnReceiveDrag>
39 <OnEnter>
40 StanceSetSlot_OnEnter();
41 </OnEnter>
42 <OnLeave>
43 GameTooltip:Hide();
44 </OnLeave>
45 </Scripts>
46 </Button>
47  
48 <Frame name="StanceSetListItem" virtual="true">
49 <Size>
50 <AbsDimension x="315" y="68"/>
51 </Size>
52 <Anchors>
53 <Anchor point="TOPLEFT"/>
54 </Anchors>
55  
56 <Layers>
57 <Layer level="ARTWORK">
58 <FontString name="$parentTitle" inherits="GameFontNormal" justifyH="LEFT" text="Stance: Default">
59 <Anchors>
60 <Anchor point="TOPLEFT">
61 <Offset>
62 <AbsDimension x="4" y="0"/>
63 </Offset>
64 </Anchor>
65 </Anchors>
66 <Size>
67 <AbsDimension x="100" y="16"/>
68 </Size>
69 </FontString>
70 </Layer>
71 </Layers>
72  
73 <Frames>
74 <CheckButton name="$parentForceFirst">
75 <Size>
76 <AbsDimension x="20" y="20"/>
77 </Size>
78 <Anchors>
79 <Anchor point="TOPRIGHT">
80 <Offset>
81 <AbsDimension x="-2" y="1"/>
82 </Offset>
83 </Anchor>
84 </Anchors>
85 <Layers>
86 <Layer level="ARTWORK">
87 <FontString name="$parentText" inherits="GameFontHighlightSmall" text="Equip first on activate">
88 <Anchors>
89 <Anchor point="RIGHT" relativePoint="LEFT">
90 <Offset>
91 <AbsDimension x="0" y="1"/>
92 </Offset>
93 </Anchor>
94 </Anchors>
95 </FontString>
96 </Layer>
97 </Layers>
98 <NormalTexture name="StanceSetsLockNorm"/>
99 <PushedTexture name="StanceSetsLockPush"/>
100 <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" AlphaMode="ADD"/>
101 <Scripts>
102 <OnClick>
103 StanceSetsForceCheck_OnClick();
104 </OnClick>
105 </Scripts>
106 </CheckButton>
107  
108 <Button name="$parentMainHand1" inherits="StanceSetSlotTemplate" id="1">
109 <Anchors>
110 <Anchor point="TOPLEFT" relativeTo="$parentTitle" relativePoint="BOTTOMLEFT">
111 <Offset>
112 <AbsDimension x="16" y="-2"/>
113 </Offset>
114 </Anchor>
115 </Anchors>
116 </Button>
117 <Button name="$parentOffHand1" inherits="StanceSetSlotTemplate" id="2">
118 <Anchors>
119 <Anchor point="LEFT" relativeTo="$parentMainHand1" relativePoint="RIGHT">
120 <Offset>
121 <AbsDimension x="2" y="0"/>
122 </Offset>
123 </Anchor>
124 </Anchors>
125 </Button>
126  
127 <Button name="$parentMainHand2" inherits="StanceSetSlotTemplate" id="3">
128 <Anchors>
129 <Anchor point="LEFT" relativeTo="$parentOffHand1" relativePoint="RIGHT">
130 <Offset>
131 <AbsDimension x="16" y="0"/>
132 </Offset>
133 </Anchor>
134 </Anchors>
135 </Button>
136 <Button name="$parentOffHand2" inherits="StanceSetSlotTemplate" id="4">
137 <Anchors>
138 <Anchor point="LEFT" relativeTo="$parentMainHand2" relativePoint="RIGHT">
139 <Offset>
140 <AbsDimension x="2" y="0"/>
141 </Offset>
142 </Anchor>
143 </Anchors>
144 </Button>
145  
146 <Button name="$parentMainHand3" inherits="StanceSetSlotTemplate" id="5">
147 <Anchors>
148 <Anchor point="LEFT" relativeTo="$parentOffHand2" relativePoint="RIGHT">
149 <Offset>
150 <AbsDimension x="16" y="0"/>
151 </Offset>
152 </Anchor>
153 </Anchors>
154 </Button>
155 <Button name="$parentOffHand3" inherits="StanceSetSlotTemplate" id="6">
156 <Anchors>
157 <Anchor point="LEFT" relativeTo="$parentMainHand3" relativePoint="RIGHT">
158 <Offset>
159 <AbsDimension x="2" y="0"/>
160 </Offset>
161 </Anchor>
162 </Anchors>
163 </Button>
164  
165 </Frames>
166 </Frame>
167  
168 <Frame name="StanceSetsFrame" frameStrata="LOW" toplevel="true" parent="UIParent" hidden="true" movable="true">
169 <Size>
170 <AbsDimension x="384" y="512"/>
171 </Size>
172 <HitRectInsets>
173 <AbsInset left="0" right="30" top="0" bottom="75"/>
174 </HitRectInsets>
175 <Anchors>
176 <Anchor point="TOPLEFT">
177 <Offset>
178 <AbsDimension x="0" y="-104"/>
179 </Offset>
180 </Anchor>
181 </Anchors>
182 <Frames>
183 <Button name="StanceSetsFrameCloseButton" inherits="UIPanelCloseButton">
184 <Anchors>
185 <Anchor point="TOPRIGHT" relativeTo="StanceSetsFrame" relativePoint="TOPRIGHT">
186 <Offset>
187 <AbsDimension x="-28" y="-9"/>
188 </Offset>
189 </Anchor>
190 </Anchors>
191 </Button>
192 <Button name="StanceSetsCloseButton2" inherits="UIPanelButtonTemplate" text="STANCESETS_CLOSE">
193 <Size>
194 <AbsDimension x="80" y="22"/>
195 </Size>
196 <Anchors>
197 <Anchor point="CENTER" relativePoint="TOPLEFT">
198 <Offset>
199 <AbsDimension x="305" y="-422"/>
200 </Offset>
201 </Anchor>
202 </Anchors>
203 <Scripts>
204 <OnClick>
205 HideUIPanel(StanceSetsFrame);
206 </OnClick>
207 </Scripts>
208 </Button>
209 <CheckButton name="StanceSetsFrameLockButton">
210 <Size>
211 <AbsDimension x="32" y="32"/>
212 </Size>
213 <Anchors>
214 <Anchor point="RIGHT" relativeTo="StanceSetsFrameCloseButton" relativePoint="LEFT">
215 <Offset>
216 <AbsDimension x="11" y="0"/>
217 </Offset>
218 </Anchor>
219 </Anchors>
220 <Scripts>
221 <OnClick>
222 StanceSets_ToggleLock();
223 </OnClick>
224 </Scripts>
225  
226 <NormalTexture name="StanceSetsLockNorm"/>
227 <PushedTexture name="StanceSetsLockPush"/>
228 <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" AlphaMode="ADD"/>
229  
230 </CheckButton>
231 <Frame name="$parentSet1" inherits="StanceSetListItem">
232 <Anchors>
233 <Anchor point="TOPLEFT">
234 <Offset>
235 <AbsDimension x="20" y="-76"/>
236 </Offset>
237 </Anchor>
238 </Anchors>
239 </Frame>
240 <Frame name="$parentSet2" inherits="StanceSetListItem">
241 <Anchors>
242 <Anchor point="TOPLEFT" relativeTo="$parentSet1" relativePoint="BOTTOMLEFT"/>
243 </Anchors>
244 </Frame>
245 <Frame name="$parentSet3" inherits="StanceSetListItem">
246 <Anchors>
247 <Anchor point="TOPLEFT" relativeTo="$parentSet2" relativePoint="BOTTOMLEFT"/>
248 </Anchors>
249 </Frame>
250 <Frame name="$parentSet4" inherits="StanceSetListItem">
251 <Anchors>
252 <Anchor point="TOPLEFT" relativeTo="$parentSet3" relativePoint="BOTTOMLEFT"/>
253 </Anchors>
254 </Frame>
255 <Frame name="$parentSet5" inherits="StanceSetListItem">
256 <Anchors>
257 <Anchor point="TOPLEFT" relativeTo="$parentSet4" relativePoint="BOTTOMLEFT"/>
258 </Anchors>
259 </Frame>
260 </Frames>
261 <Layers>
262 <Layer level="ARTWORK">
263 <Texture file="Interface\Addons\Titan\TitanStanceSets\Images\UI-Character-General-TopLeft">
264 <Size>
265 <AbsDimension x="256" y="256"/>
266 </Size>
267 <Anchors>
268 <Anchor point="TOPLEFT">
269 <Offset>
270 <AbsDimension x="2" y="-1"/>
271 </Offset>
272 </Anchor>
273 </Anchors>
274 </Texture>
275 <Texture file="Interface\PaperDollInfoFrame\UI-Character-General-TopRight">
276 <Size>
277 <AbsDimension x="128" y="256"/>
278 </Size>
279 <Anchors>
280 <Anchor point="TOPRIGHT">
281 <Offset>
282 <AbsDimension x="2" y="-1"/>
283 </Offset>
284 </Anchor>
285 </Anchors>
286 </Texture>
287 <Texture file="Interface\PaperDollInfoFrame\SkillFrame-BotLeft">
288 <Size>
289 <AbsDimension x="256" y="256"/>
290 </Size>
291 <Anchors>
292 <Anchor point="BOTTOMLEFT">
293 <Offset>
294 <AbsDimension x="2" y="-1"/>
295 </Offset>
296 </Anchor>
297 </Anchors>
298 </Texture>
299 <Texture file="Interface\PaperDollInfoFrame\SkillFrame-BotRight">
300 <Size>
301 <AbsDimension x="128" y="256"/>
302 </Size>
303 <Anchors>
304 <Anchor point="BOTTOMRIGHT">
305 <Offset>
306 <AbsDimension x="2" y="-1"/>
307 </Offset>
308 </Anchor>
309 </Anchors>
310 </Texture>
311 <FontString name="StanceSetsTitleText" inherits="GameFontHighlight" text="STANCESETS_TITLE">
312 <Size>
313 <AbsDimension x="300" y="14"/>
314 </Size>
315 <Anchors>
316 <Anchor point="TOP">
317 <Offset>
318 <AbsDimension x="0" y="-17"/>
319 </Offset>
320 </Anchor>
321 </Anchors>
322 </FontString>
323 </Layer>
324 </Layers>
325 <Scripts>
326 <OnLoad>
327 StanceSets_OnLoad();
328 </OnLoad>
329 <OnShow>
330 PlaySound("igCharacterInfoOpen");
331 StanceSets_OnShow();
332 </OnShow>
333 <OnHide>
334 PlaySound("igCharacterInfoClose");
335 StanceSetsFrame:StopMovingOrSizing();
336 </OnHide>
337 <OnDragStart>
338 if(arg1 == "LeftButton") then
339 StanceSets_StartMoving();
340 end
341 </OnDragStart>
342 <OnDragStop>
343 StanceSetsFrame:StopMovingOrSizing();
344 </OnDragStop>
345 <OnMouseUp>
346 StanceSetsFrame:StopMovingOrSizing();
347 </OnMouseUp>
348 <OnEvent>
349 StanceSets_OnEvent(event, arg1);
350 </OnEvent>
351 </Scripts>
352 </Frame>
353 </Ui>