vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | <UI xmlns="http://www.blizzard.com/wow/ui/" |
2 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||
3 | xsi:schemaLocation="http://www.blizzard.com/wow/ui/FrameXML/UI.xsd"> |
||
4 | |||
5 | <Script file="CalendarClassLimits.lua"/> |
||
6 | |||
7 | <Frame name="CalendarClassLimitItemTemplate" hidden="false" virtual="true"> |
||
8 | <Size> |
||
9 | <AbsDimension x="200" y="20"/> |
||
10 | </Size> |
||
11 | <Layers> |
||
12 | <Layer level="ARTWORK"> |
||
13 | <FontString inherits="GameFontNormalSmall" name="$parentLabel" text="className:"> |
||
14 | <Anchors> |
||
15 | <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT"> |
||
16 | <Offset> |
||
17 | <AbsDimension x="-7" y="4"/> |
||
18 | </Offset> |
||
19 | </Anchor> |
||
20 | </Anchors> |
||
21 | </FontString> |
||
22 | <FontString inherits="GameFontNormalSmall" name="$parentSeparator" text="GroupCalendar_cLevelRangeSeparator"> |
||
23 | <Anchors> |
||
24 | <Anchor point="BOTTOMLEFT"> |
||
25 | <Offset> |
||
26 | <AbsDimension x="36" y="4"/> |
||
27 | </Offset> |
||
28 | </Anchor> |
||
29 | </Anchors> |
||
30 | </FontString> |
||
31 | </Layer> |
||
32 | </Layers> |
||
33 | <Frames> |
||
34 | <EditBox name="$parentMin" letters="2" historyLines="0" autofocus="false" inherits="GroupCalendarInputBoxTemplate2"> |
||
35 | <Size> |
||
36 | <AbsDimension x="40" y="20"/> |
||
37 | </Size> |
||
38 | <Anchors> |
||
39 | <Anchor point="BOTTOMLEFT"> |
||
40 | <Offset> |
||
41 | <AbsDimension x="0" y="0"/> |
||
42 | </Offset> |
||
43 | </Anchor> |
||
44 | </Anchors> |
||
45 | <Scripts> |
||
46 | <OnTextChanged> |
||
47 | CalendarClassLimits_MinTotalChanged(this:GetParent():GetParent()); |
||
48 | </OnTextChanged> |
||
49 | </Scripts> |
||
50 | </EditBox> |
||
51 | <EditBox name="$parentMax" letters="2" historyLines="0" autofocus="false" inherits="GroupCalendarInputBoxTemplate2"> |
||
52 | <Size> |
||
53 | <AbsDimension x="40" y="20"/> |
||
54 | </Size> |
||
55 | <Anchors> |
||
56 | <Anchor point="BOTTOMLEFT" relativeTo="$parentMin" relativePoint="BOTTOMRIGHT"> |
||
57 | <Offset> |
||
58 | <AbsDimension x="15" y="0"/> |
||
59 | </Offset> |
||
60 | </Anchor> |
||
61 | </Anchors> |
||
62 | </EditBox> |
||
63 | </Frames> |
||
64 | </Frame> |
||
65 | |||
66 | <Frame name="CalendarClassLimitsTemplate" toplevel="true" enableMouse="true" virtual="true"> |
||
67 | <Size> |
||
68 | <AbsDimension x="400" y="350"/> |
||
69 | </Size> |
||
70 | <Backdrop bgFile="Interface\Addons\GroupCalendar\Textures\DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> |
||
71 | <BackgroundInsets> |
||
72 | <AbsInset left="11" right="12" top="12" bottom="11"/> |
||
73 | </BackgroundInsets> |
||
74 | <TileSize> |
||
75 | <AbsValue val="32"/> |
||
76 | </TileSize> |
||
77 | <EdgeSize> |
||
78 | <AbsValue val="32"/> |
||
79 | </EdgeSize> |
||
80 | </Backdrop> |
||
81 | <Layers> |
||
82 | <Layer level="ARTWORK"> |
||
83 | <Texture name="$parentFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header"> |
||
84 | <Size> |
||
85 | <AbsDimension x="400" y="64"/> |
||
86 | </Size> |
||
87 | <Anchors> |
||
88 | <Anchor point="TOP"> |
||
89 | <Offset> |
||
90 | <AbsDimension x="0" y="12"/> |
||
91 | </Offset> |
||
92 | </Anchor> |
||
93 | </Anchors> |
||
94 | </Texture> |
||
95 | <FontString name="$parentTitle" inherits="GameFontHighlight" text="GroupCalendar_cAutoConfirmationTitle"> |
||
96 | <Anchors> |
||
97 | <Anchor point="TOP" relativeTo="$parentFrameHeader"> |
||
98 | <Offset> |
||
99 | <AbsDimension x="0" y="-14"/> |
||
100 | </Offset> |
||
101 | </Anchor> |
||
102 | </Anchors> |
||
103 | </FontString> |
||
104 | <FontString name="$parentDescription" inherits="GameFontNormalSmall" text="GroupCalendar_cClassLimitDescription"> |
||
105 | <Size> |
||
106 | <AbsDimension x="350" y="80"/> |
||
107 | </Size> |
||
108 | <Anchors> |
||
109 | <Anchor point="TOPLEFT"> |
||
110 | <Offset> |
||
111 | <AbsDimension x="20" y="-15"/> |
||
112 | </Offset> |
||
113 | </Anchor> |
||
114 | </Anchors> |
||
115 | </FontString> |
||
116 | </Layer> |
||
117 | </Layers> |
||
118 | <Frames> |
||
119 | <Frame name="$parentPriority"> |
||
120 | <Anchors> |
||
121 | <Anchor point="TOPLEFT" relativeTo="$parentDescription" relativePoint="BOTTOMLEFT"/> |
||
122 | </Anchors> |
||
123 | <Size> |
||
124 | <AbsDimension x="350" y="1"/> |
||
125 | </Size> |
||
126 | <Frames> |
||
127 | <Frame name="$parentValue" inherits="CalendarDropDownTemplate"> |
||
128 | <Anchors> |
||
129 | <Anchor point="TOPLEFT"> |
||
130 | <Offset> |
||
131 | <AbsDimension x="100" y="10"/> |
||
132 | </Offset> |
||
133 | </Anchor> |
||
134 | </Anchors> |
||
135 | <Scripts> |
||
136 | <OnLoad> |
||
137 | getglobal(this:GetName().."Title"):SetText(GroupCalendar_cPriorityLabel); |
||
138 | CalendarPriorityDropDown_OnLoad(); |
||
139 | </OnLoad> |
||
140 | <OnShow> |
||
141 | CalendarPriorityDropDown_OnLoad(); |
||
142 | </OnShow> |
||
143 | </Scripts> |
||
144 | </Frame> |
||
145 | </Frames> |
||
146 | <Scripts> |
||
147 | <OnLoad> |
||
148 | this.NormalHeight = 30; |
||
149 | </OnLoad> |
||
150 | <OnHide> |
||
151 | this:SetHeight(1); |
||
152 | this:GetParent():SetHeight(350); |
||
153 | </OnHide> |
||
154 | <OnShow> |
||
155 | this:SetHeight(this.NormalHeight); |
||
156 | this:GetParent():SetHeight(350 + this.NormalHeight); |
||
157 | </OnShow> |
||
158 | </Scripts> |
||
159 | </Frame> |
||
160 | |||
161 | <Frame name="$parentDruid" inherits="CalendarClassLimitItemTemplate"> |
||
162 | <Anchors> |
||
163 | <Anchor point="TOPLEFT" relativeTo="$parentPriority" relativePoint="BOTTOMLEFT"> |
||
164 | <Offset> |
||
165 | <AbsDimension x="80" y="-15"/> |
||
166 | </Offset> |
||
167 | </Anchor> |
||
168 | </Anchors> |
||
169 | <Layers> |
||
170 | <Layer level="ARTWORK"> |
||
171 | <FontString inherits="GameFontNormalSmall" name="$parentMinLabel" text="GroupCalendar_cMinLabel"> |
||
172 | <Anchors> |
||
173 | <Anchor point="BOTTOM" relativePoint="TOPLEFT"> |
||
174 | <Offset> |
||
175 | <AbsDimension x="13" y="6"/> |
||
176 | </Offset> |
||
177 | </Anchor> |
||
178 | </Anchors> |
||
179 | </FontString> |
||
180 | <FontString inherits="GameFontNormalSmall" text="GroupCalendar_cMaxLabel"> |
||
181 | <Anchors> |
||
182 | <Anchor point="BOTTOM" relativeTo="$parentMinLabel"> |
||
183 | <Offset> |
||
184 | <AbsDimension x="55" y="0"/> |
||
185 | </Offset> |
||
186 | </Anchor> |
||
187 | </Anchors> |
||
188 | </FontString> |
||
189 | </Layer> |
||
190 | </Layers> |
||
191 | <Scripts> |
||
192 | <OnLoad> |
||
193 | CalendarClassLimitItem_SetClassName(this, "Druid"); |
||
194 | </OnLoad> |
||
195 | </Scripts> |
||
196 | </Frame> |
||
197 | <Frame name="$parentHunter" inherits="CalendarClassLimitItemTemplate"> |
||
198 | <Anchors> |
||
199 | <Anchor point="TOPLEFT" relativeTo="$parentDruid"> |
||
200 | <Offset> |
||
201 | <AbsDimension x="0" y="-30"/> |
||
202 | </Offset> |
||
203 | </Anchor> |
||
204 | </Anchors> |
||
205 | <Scripts> |
||
206 | <OnLoad> |
||
207 | CalendarClassLimitItem_SetClassName(this, "Hunter"); |
||
208 | </OnLoad> |
||
209 | </Scripts> |
||
210 | </Frame> |
||
211 | <Frame name="$parentMage" inherits="CalendarClassLimitItemTemplate"> |
||
212 | <Anchors> |
||
213 | <Anchor point="TOPLEFT" relativeTo="$parentHunter"> |
||
214 | <Offset> |
||
215 | <AbsDimension x="0" y="-30"/> |
||
216 | </Offset> |
||
217 | </Anchor> |
||
218 | </Anchors> |
||
219 | <Scripts> |
||
220 | <OnLoad> |
||
221 | CalendarClassLimitItem_SetClassName(this, "Mage"); |
||
222 | </OnLoad> |
||
223 | </Scripts> |
||
224 | </Frame> |
||
225 | <Frame name="$parentPaladin" hidden="true" inherits="CalendarClassLimitItemTemplate"> |
||
226 | <Anchors> |
||
227 | <Anchor point="TOPLEFT" relativeTo="$parentMage"> |
||
228 | <Offset> |
||
229 | <AbsDimension x="0" y="-30"/> |
||
230 | </Offset> |
||
231 | </Anchor> |
||
232 | </Anchors> |
||
233 | <Scripts> |
||
234 | <OnLoad> |
||
235 | CalendarClassLimitItem_SetClassName(this, "Paladin"); |
||
236 | </OnLoad> |
||
237 | </Scripts> |
||
238 | </Frame> |
||
239 | <Frame name="$parentShaman" hidden="true" inherits="CalendarClassLimitItemTemplate"> |
||
240 | <Anchors> |
||
241 | <Anchor point="TOPLEFT" relativeTo="$parentMage"> |
||
242 | <Offset> |
||
243 | <AbsDimension x="0" y="-30"/> |
||
244 | </Offset> |
||
245 | </Anchor> |
||
246 | </Anchors> |
||
247 | <Scripts> |
||
248 | <OnLoad> |
||
249 | CalendarClassLimitItem_SetClassName(this, "Shaman"); |
||
250 | </OnLoad> |
||
251 | </Scripts> |
||
252 | </Frame> |
||
253 | <Frame name="$parentPriest" inherits="CalendarClassLimitItemTemplate"> |
||
254 | <Anchors> |
||
255 | <Anchor point="TOPLEFT" relativeTo="$parentDruid"> |
||
256 | <Offset> |
||
257 | <AbsDimension x="170" y="0"/> |
||
258 | </Offset> |
||
259 | </Anchor> |
||
260 | </Anchors> |
||
261 | <Layers> |
||
262 | <Layer level="ARTWORK"> |
||
263 | <FontString inherits="GameFontNormalSmall" name="$parentMinLabel" text="GroupCalendar_cMinLabel"> |
||
264 | <Anchors> |
||
265 | <Anchor point="BOTTOM" relativePoint="TOPLEFT"> |
||
266 | <Offset> |
||
267 | <AbsDimension x="13" y="6"/> |
||
268 | </Offset> |
||
269 | </Anchor> |
||
270 | </Anchors> |
||
271 | </FontString> |
||
272 | <FontString inherits="GameFontNormalSmall" text="GroupCalendar_cMaxLabel"> |
||
273 | <Anchors> |
||
274 | <Anchor point="BOTTOM" relativeTo="$parentMinLabel"> |
||
275 | <Offset> |
||
276 | <AbsDimension x="55" y="0"/> |
||
277 | </Offset> |
||
278 | </Anchor> |
||
279 | </Anchors> |
||
280 | </FontString> |
||
281 | </Layer> |
||
282 | </Layers> |
||
283 | <Scripts> |
||
284 | <OnLoad> |
||
285 | CalendarClassLimitItem_SetClassName(this, "Priest"); |
||
286 | </OnLoad> |
||
287 | </Scripts> |
||
288 | </Frame> |
||
289 | <Frame name="$parentRogue" inherits="CalendarClassLimitItemTemplate"> |
||
290 | <Anchors> |
||
291 | <Anchor point="TOPLEFT" relativeTo="$parentPriest"> |
||
292 | <Offset> |
||
293 | <AbsDimension x="0" y="-30"/> |
||
294 | </Offset> |
||
295 | </Anchor> |
||
296 | </Anchors> |
||
297 | <Scripts> |
||
298 | <OnLoad> |
||
299 | CalendarClassLimitItem_SetClassName(this, "Rogue"); |
||
300 | </OnLoad> |
||
301 | </Scripts> |
||
302 | </Frame> |
||
303 | <Frame name="$parentWarlock" inherits="CalendarClassLimitItemTemplate"> |
||
304 | <Anchors> |
||
305 | <Anchor point="TOPLEFT" relativeTo="$parentRogue"> |
||
306 | <Offset> |
||
307 | <AbsDimension x="0" y="-30"/> |
||
308 | </Offset> |
||
309 | </Anchor> |
||
310 | </Anchors> |
||
311 | <Scripts> |
||
312 | <OnLoad> |
||
313 | CalendarClassLimitItem_SetClassName(this, "Warlock"); |
||
314 | </OnLoad> |
||
315 | </Scripts> |
||
316 | </Frame> |
||
317 | <Frame name="$parentWarrior" inherits="CalendarClassLimitItemTemplate"> |
||
318 | <Anchors> |
||
319 | <Anchor point="TOPLEFT" relativeTo="$parentWarlock"> |
||
320 | <Offset> |
||
321 | <AbsDimension x="0" y="-30"/> |
||
322 | </Offset> |
||
323 | </Anchor> |
||
324 | </Anchors> |
||
325 | <Scripts> |
||
326 | <OnLoad> |
||
327 | CalendarClassLimitItem_SetClassName(this, "Warrior"); |
||
328 | </OnLoad> |
||
329 | </Scripts> |
||
330 | </Frame> |
||
331 | |||
332 | <Frame name="$parentMaxPartySize" inherits="CalendarDropDownTemplate"> |
||
333 | <Anchors> |
||
334 | <Anchor point="TOPLEFT" relativeTo="$parentPaladin"> |
||
335 | <Offset> |
||
336 | <AbsDimension x="40" y="-40"/> |
||
337 | </Offset> |
||
338 | </Anchor> |
||
339 | </Anchors> |
||
340 | <Layers> |
||
341 | <Layer level="ARTWORK"> |
||
342 | <FontString name="$parentMinLabel" inherits="GameFontNormalSmall" text="GroupCalendar_cMinPartySizeLabel"> |
||
343 | <Anchors> |
||
344 | <Anchor point="TOPRIGHT" relativeTo="$parentTitle"> |
||
345 | <Offset> |
||
346 | <AbsDimension x="0" y="-30"/> |
||
347 | </Offset> |
||
348 | </Anchor> |
||
349 | </Anchors> |
||
350 | </FontString> |
||
351 | <FontString name="$parentMin" inherits="GameFontNormalSmall" text="0"> |
||
352 | <Anchors> |
||
353 | <Anchor point="TOPLEFT" relativeTo="$parentMinLabel" relativePoint="TOPRIGHT"> |
||
354 | <Offset> |
||
355 | <AbsDimension x="4" y="0"/> |
||
356 | </Offset> |
||
357 | </Anchor> |
||
358 | </Anchors> |
||
359 | </FontString> |
||
360 | </Layer> |
||
361 | </Layers> |
||
362 | <Scripts> |
||
363 | <OnLoad> |
||
364 | getglobal(this:GetName().."Title"):SetText(GroupCalendar_cMaxPartySizeLabel); |
||
365 | CalendarPartySizeDropDown_OnLoad(); |
||
366 | </OnLoad> |
||
367 | <OnShow> |
||
368 | CalendarPartySizeDropDown_OnLoad(); |
||
369 | </OnShow> |
||
370 | </Scripts> |
||
371 | </Frame> |
||
372 | |||
373 | <Button name="$parentCancelButton" inherits="UIPanelButtonTemplate" text="CANCEL"> |
||
374 | <Size> |
||
375 | <AbsDimension x="80" y="21"/> |
||
376 | </Size> |
||
377 | <Anchors> |
||
378 | <Anchor point="BOTTOMRIGHT"> |
||
379 | <Offset> |
||
380 | <AbsDimension x="-15" y="20"/> |
||
381 | </Offset> |
||
382 | </Anchor> |
||
383 | </Anchors> |
||
384 | <Scripts> |
||
385 | <OnClick> |
||
386 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
387 | CalendarClassLimits_Cancel(); |
||
388 | </OnClick> |
||
389 | </Scripts> |
||
390 | </Button> |
||
391 | <Button name="$parentDoneButton" inherits="UIPanelButtonTemplate" text="OKAY"> |
||
392 | <Size> |
||
393 | <AbsDimension x="80" y="21"/> |
||
394 | </Size> |
||
395 | <Anchors> |
||
396 | <Anchor point="RIGHT" relativeTo="$parentCancelButton" relativePoint="LEFT"> |
||
397 | <Offset> |
||
398 | <AbsDimension x="-7" y="0"/> |
||
399 | </Offset> |
||
400 | </Anchor> |
||
401 | </Anchors> |
||
402 | <Scripts> |
||
403 | <OnClick> |
||
404 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
405 | CalendarClassLimits_Done(); |
||
406 | </OnClick> |
||
407 | </Scripts> |
||
408 | </Button> |
||
409 | </Frames> |
||
410 | <Scripts> |
||
411 | <OnShow> |
||
412 | GroupCalendar_BeginModalDialog(this); |
||
413 | CalendarClassLimits_OnShow(this); |
||
414 | </OnShow> |
||
415 | <OnHide> |
||
416 | GroupCalendar_EndModalDialog(this); |
||
417 | </OnHide> |
||
418 | </Scripts> |
||
419 | </Frame> |
||
420 | </UI> |