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="EventEditor.lua"/> |
||
6 | |||
7 | <Button name="CalendarEventEditorTabTemplate" inherits="CharacterFrameTabButtonTemplate" virtual="true"> |
||
8 | <Scripts> |
||
9 | <OnClick> |
||
10 | PlaySound("igMainMenuOpen"); |
||
11 | PanelTemplates_Tab_OnClick(CalendarEventEditorFrame); |
||
12 | CalendarEventEditor_ShowPanel(CalendarEventEditorFrame.selectedTab); |
||
13 | </OnClick> |
||
14 | </Scripts> |
||
15 | </Button> |
||
16 | |||
17 | <Frame name="CalendarEventEditorFrame" toplevel="true" movable="true" parent="UIParent" enableMouse="true" hidden="true"> |
||
18 | <Size> |
||
19 | <AbsDimension x="318" y="344"/> |
||
20 | </Size> |
||
21 | <Anchors> |
||
22 | <Anchor point="TOPLEFT" relativeTo="GroupCalendarFrame" relativePoint="TOPRIGHT"> |
||
23 | <Offset> |
||
24 | <AbsDimension x="1" y="-21"/> |
||
25 | </Offset> |
||
26 | </Anchor> |
||
27 | </Anchors> |
||
28 | <Layers> |
||
29 | <Layer level="BORDER"> |
||
30 | <Texture name="EventEditorFrameTopLeftTexture" file="Interface\AddOns\GroupCalendar\Textures\CalendarSideFrame-TopLeft"> |
||
31 | <Size> |
||
32 | <AbsDimension x="256" y="256"/> |
||
33 | </Size> |
||
34 | <Anchors> |
||
35 | <Anchor point="TOPLEFT"/> |
||
36 | </Anchors> |
||
37 | </Texture> |
||
38 | <Texture name="EventEditorFrameTopRightTexture" file="Interface\AddOns\GroupCalendar\Textures\CalendarSideFrame-TopRight"> |
||
39 | <Size> |
||
40 | <AbsDimension x="128" y="256"/> |
||
41 | </Size> |
||
42 | <Anchors> |
||
43 | <Anchor point="TOPLEFT" relativeTo="EventEditorFrameTopLeftTexture" relativePoint="TOPRIGHT"/> |
||
44 | </Anchors> |
||
45 | </Texture> |
||
46 | <Texture name="EventEditorFrameBottomLeftTexture" file="Interface\AddOns\GroupCalendar\Textures\CalendarSideFrame-BottomLeft"> |
||
47 | <Size> |
||
48 | <AbsDimension x="256" y="128"/> |
||
49 | </Size> |
||
50 | <Anchors> |
||
51 | <Anchor point="TOPLEFT" relativeTo="EventEditorFrameTopLeftTexture" relativePoint="BOTTOMLEFT"/> |
||
52 | </Anchors> |
||
53 | </Texture> |
||
54 | <Texture name="EventEditorFrameBottomRightTexture" file="Interface\AddOns\GroupCalendar\Textures\CalendarSideFrame-BottomRight"> |
||
55 | <Size> |
||
56 | <AbsDimension x="128" y="128"/> |
||
57 | </Size> |
||
58 | <Anchors> |
||
59 | <Anchor point="TOPLEFT" relativeTo="EventEditorFrameTopRightTexture" relativePoint="BOTTOMLEFT"/> |
||
60 | </Anchors> |
||
61 | </Texture> |
||
62 | </Layer> |
||
63 | <Layer level="OVERLAY"> |
||
64 | <FontString name="$parentTitle" text="CalendarEventEditorFrame_cTitle" inherits="GameFontHighlight"> |
||
65 | <Anchors> |
||
66 | <Anchor point="TOP"> |
||
67 | <Offset> |
||
68 | <AbsDimension x="-10" y="-6"/> |
||
69 | </Offset> |
||
70 | </Anchor> |
||
71 | </Anchors> |
||
72 | </FontString> |
||
73 | </Layer> |
||
74 | </Layers> |
||
75 | <Frames> |
||
76 | <Button name="CalendarEventEditorCloseButton" inherits="UIPanelCloseButton"> |
||
77 | <Anchors> |
||
78 | <Anchor point="TOPRIGHT" relativeTo="CalendarEventEditorFrame" relativePoint="TOPRIGHT"> |
||
79 | <Offset> |
||
80 | <AbsDimension x="5" y="4"/> |
||
81 | </Offset> |
||
82 | </Anchor> |
||
83 | </Anchors> |
||
84 | </Button> |
||
85 | <Button name="CalendarEventEditorDoneButton" inherits="UIPanelButtonTemplate" text="CalendarEventEditor_cDone"> |
||
86 | <Size> |
||
87 | <AbsDimension x="102" y="21"/> |
||
88 | </Size> |
||
89 | <Anchors> |
||
90 | <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT"> |
||
91 | <Offset> |
||
92 | <AbsDimension x="-7" y="6"/> |
||
93 | </Offset> |
||
94 | </Anchor> |
||
95 | </Anchors> |
||
96 | <Scripts> |
||
97 | <OnClick> |
||
98 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
99 | CalendarEventEditor_DoneEditing(); |
||
100 | </OnClick> |
||
101 | </Scripts> |
||
102 | </Button> |
||
103 | |||
104 | <Frame name="CalendarEventEditorEventFrame" hidden="true" setAllPoints="true"> |
||
105 | <Layers> |
||
106 | <Layer level="BACKGROUND"> |
||
107 | <Texture name="CalendarEventEditorEventBackground" file=""> |
||
108 | <Size> |
||
109 | <AbsDimension x="306" y="254"/> |
||
110 | </Size> |
||
111 | <Anchors> |
||
112 | <Anchor point="CENTER"> |
||
113 | <Offset> |
||
114 | <AbsDimension x="-4" y="-18"/> |
||
115 | </Offset> |
||
116 | </Anchor> |
||
117 | </Anchors> |
||
118 | <TexCoords left="0.0625" right="0.9375" top="0.140625" bottom="0.859375"/> |
||
119 | </Texture> |
||
120 | </Layer> |
||
121 | <Layer level="OVERLAY"> |
||
122 | <FontString name="CalendarEventEditorFrameSubTitle" inherits="GameFontNormalLarge"> |
||
123 | <Anchors> |
||
124 | <Anchor point="TOP"> |
||
125 | <Offset> |
||
126 | <AbsDimension x="-10" y="-36"/> |
||
127 | </Offset> |
||
128 | </Anchor> |
||
129 | </Anchors> |
||
130 | </FontString> |
||
131 | </Layer> |
||
132 | </Layers> |
||
133 | <Frames> |
||
134 | <Button name="CalendarEventEditorDeleteButton" inherits="UIPanelButtonTemplate" text="CalendarEventEditor_cDelete"> |
||
135 | <Size> |
||
136 | <AbsDimension x="102" y="21"/> |
||
137 | </Size> |
||
138 | <Anchors> |
||
139 | <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeTo="CalendarEventEditorDoneButton"> |
||
140 | <Offset> |
||
141 | <AbsDimension x="-15" y="0"/> |
||
142 | </Offset> |
||
143 | </Anchor> |
||
144 | </Anchors> |
||
145 | <Scripts> |
||
146 | <OnClick> |
||
147 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
148 | |||
149 | CalendarEventEditor_AskDeleteEvent(); |
||
150 | </OnClick> |
||
151 | </Scripts> |
||
152 | </Button> |
||
153 | <Frame name="CalendarEventType" inherits="CalendarEventTypeTemplate"> |
||
154 | <Anchors> |
||
155 | <Anchor point="TOPLEFT"> |
||
156 | <Offset> |
||
157 | <AbsDimension x="20" y="-70"/> |
||
158 | </Offset> |
||
159 | </Anchor> |
||
160 | </Anchors> |
||
161 | </Frame> |
||
162 | <EditBox name="CalendarEventTitle" letters="50" historyLines="0" autofocus="false" inherits="GroupCalendarInputBoxTemplate"> |
||
163 | <Size> |
||
164 | <AbsDimension x="172" y="20"/> |
||
165 | </Size> |
||
166 | <Anchors> |
||
167 | <Anchor point="TOPLEFT" relativeTo="CalendarEventType" relativePoint="TOPLEFT"> |
||
168 | <Offset> |
||
169 | <AbsDimension x="62" y="-30"/> |
||
170 | </Offset> |
||
171 | </Anchor> |
||
172 | </Anchors> |
||
173 | <Layers> |
||
174 | <Layer level="BACKGROUND"> |
||
175 | <FontString inherits="GameFontNormalSmall" text="GroupCalendar_cTitleLabel" justifyH="RIGHT"> |
||
176 | <Anchors> |
||
177 | <Anchor point="RIGHT" relativePoint="LEFT"> |
||
178 | <Offset> |
||
179 | <AbsDimension x="-12" y="0"/> |
||
180 | </Offset> |
||
181 | </Anchor> |
||
182 | </Anchors> |
||
183 | </FontString> |
||
184 | </Layer> |
||
185 | </Layers> |
||
186 | <Scripts> |
||
187 | <OnEscapePressed> |
||
188 | this:ClearFocus(); |
||
189 | </OnEscapePressed> |
||
190 | <OnEnterPressed> |
||
191 | CalendarEventEditor_DoneEditing(); |
||
192 | </OnEnterPressed> |
||
193 | </Scripts> |
||
194 | <FontString inherits="ChatFontNormal"/> |
||
195 | </EditBox> |
||
196 | <Frame name="CalendarEventEditorTime" inherits="CalendarTimeTemplate"> |
||
197 | <Anchors> |
||
198 | <Anchor point="TOPLEFT" relativeTo="CalendarEventType" relativePoint="TOPLEFT"> |
||
199 | <Offset> |
||
200 | <AbsDimension x="0" y="-60"/> |
||
201 | </Offset> |
||
202 | </Anchor> |
||
203 | </Anchors> |
||
204 | </Frame> |
||
205 | <Frame name="CalendarEventEditorDuration" inherits="CalendarDurationTemplate"> |
||
206 | <Anchors> |
||
207 | <Anchor point="TOPLEFT" relativeTo="CalendarEventEditorTime" relativePoint="TOPLEFT"> |
||
208 | <Offset> |
||
209 | <AbsDimension x="0" y="-30"/> |
||
210 | </Offset> |
||
211 | </Anchor> |
||
212 | </Anchors> |
||
213 | </Frame> |
||
214 | |||
215 | <EditBox name="CalendarEventMinLevel" autofocus="false" inherits="GroupCalendarInputBoxTemplate"> |
||
216 | <Size> |
||
217 | <AbsDimension x="40" y="20"/> |
||
218 | </Size> |
||
219 | <Anchors> |
||
220 | <Anchor point="TOPLEFT" relativeTo="CalendarEventEditorDuration" relativePoint="TOPLEFT"> |
||
221 | <Offset> |
||
222 | <AbsDimension x="62" y="-30"/> |
||
223 | </Offset> |
||
224 | </Anchor> |
||
225 | </Anchors> |
||
226 | <Layers> |
||
227 | <Layer level="BACKGROUND"> |
||
228 | <FontString inherits="GameFontNormalSmall" text="GroupCalendar_cLevelsLabel" justifyH="RIGHT"> |
||
229 | <Anchors> |
||
230 | <Anchor point="RIGHT" relativePoint="LEFT"> |
||
231 | <Offset> |
||
232 | <AbsDimension x="-12" y="0"/> |
||
233 | </Offset> |
||
234 | </Anchor> |
||
235 | </Anchors> |
||
236 | </FontString> |
||
237 | </Layer> |
||
238 | </Layers> |
||
239 | <Scripts> |
||
240 | <OnEscapePressed> |
||
241 | this:ClearFocus(); |
||
242 | </OnEscapePressed> |
||
243 | </Scripts> |
||
244 | </EditBox> |
||
245 | |||
246 | <EditBox name="CalendarEventMaxLevel" autofocus="false" inherits="GroupCalendarInputBoxTemplate"> |
||
247 | <Size> |
||
248 | <AbsDimension x="40" y="20"/> |
||
249 | </Size> |
||
250 | <Anchors> |
||
251 | <Anchor point="LEFT" relativeTo="CalendarEventMinLevel" relativePoint="RIGHT"> |
||
252 | <Offset> |
||
253 | <AbsDimension x="20" y="0"/> |
||
254 | </Offset> |
||
255 | </Anchor> |
||
256 | </Anchors> |
||
257 | <Layers> |
||
258 | <Layer level="BACKGROUND"> |
||
259 | <FontString inherits="GameFontNormalSmall" text="GroupCalendar_cLevelRangeSeparator" justifyH="RIGHT"> |
||
260 | <Anchors> |
||
261 | <Anchor point="RIGHT" relativePoint="LEFT"> |
||
262 | <Offset> |
||
263 | <AbsDimension x="-12" y="0"/> |
||
264 | </Offset> |
||
265 | </Anchor> |
||
266 | </Anchors> |
||
267 | </FontString> |
||
268 | </Layer> |
||
269 | </Layers> |
||
270 | <Scripts> |
||
271 | <OnEscapePressed> |
||
272 | this:ClearFocus(); |
||
273 | </OnEscapePressed> |
||
274 | </Scripts> |
||
275 | </EditBox> |
||
276 | |||
277 | <Frame name="CalendarEventDescriptionFrame" inherits="CalendarInputFrameTemplate"> |
||
278 | <Size> |
||
279 | <AbsDimension x="220" y="60"/> |
||
280 | </Size> |
||
281 | <Anchors> |
||
282 | <Anchor point="TOPLEFT" relativeTo="CalendarEventMinLevel" relativePoint="TOPLEFT"> |
||
283 | <Offset> |
||
284 | <AbsDimension x="-5" y="-30"/> |
||
285 | </Offset> |
||
286 | </Anchor> |
||
287 | </Anchors> |
||
288 | <Frames> |
||
289 | <ScrollFrame name="CalendarEventDescriptionScrollFrame" inherits="UIPanelScrollFrameTemplate"> |
||
290 | <Size> |
||
291 | <AbsDimension x="195" y="54"/> |
||
292 | </Size> |
||
293 | <Anchors> |
||
294 | <Anchor point="TOPLEFT"/> |
||
295 | </Anchors> |
||
296 | <Layers> |
||
297 | <Layer level="BACKGROUND"> |
||
298 | <FontString inherits="GameFontNormalSmall" text="GroupCalendar_cDescriptionLabel" justifyH="RIGHT"> |
||
299 | <Anchors> |
||
300 | <Anchor point="TOPRIGHT" relativePoint="TOPLEFT"> |
||
301 | <Offset> |
||
302 | <AbsDimension x="-6" y="-4"/> |
||
303 | </Offset> |
||
304 | </Anchor> |
||
305 | </Anchors> |
||
306 | </FontString> |
||
307 | </Layer> |
||
308 | </Layers> |
||
309 | <ScrollChild> |
||
310 | <Frame name="CalendarEventDescriptionScrollChildFrame" enableMouse="true"> |
||
311 | <Size> |
||
312 | <AbsDimension x="190" y="54"/> |
||
313 | </Size> |
||
314 | <Anchors> |
||
315 | <Anchor point="TOPLEFT"> |
||
316 | <Offset> |
||
317 | <AbsDimension x="0" y="0"/> |
||
318 | </Offset> |
||
319 | </Anchor> |
||
320 | </Anchors> |
||
321 | <Frames> |
||
322 | <EditBox name="CalendarEventDescription" letters="300" multiLine="true" enableMouse="true" autoFocus="false"> |
||
323 | <Size> |
||
324 | <AbsDimension x="190" y="34"/> |
||
325 | </Size> |
||
326 | <Anchors> |
||
327 | <Anchor point="TOPLEFT"> |
||
328 | <Offset> |
||
329 | <AbsDimension x="6" y="-3"/> |
||
330 | </Offset> |
||
331 | </Anchor> |
||
332 | </Anchors> |
||
333 | <Scripts> |
||
334 | <OnLoad> |
||
335 | CalendarInputBox_OnLoad(3); |
||
336 | </OnLoad> |
||
337 | <OnTabPressed> |
||
338 | CalendarInputBox_TabPressed(); |
||
339 | </OnTabPressed> |
||
340 | <OnEscapePressed> |
||
341 | this:ClearFocus(); |
||
342 | </OnEscapePressed> |
||
343 | <OnEnterPressed> |
||
344 | CalendarEventEditor_DoneEditing(); |
||
345 | </OnEnterPressed> |
||
346 | <OnEditFocusGained> |
||
347 | this:HighlightText(0, 300); |
||
348 | </OnEditFocusGained> |
||
349 | <OnEditFocusLost> |
||
350 | this:HighlightText(0, 0); |
||
351 | </OnEditFocusLost> |
||
352 | <OnTextChanged> |
||
353 | ScrollingEdit_OnTextChanged(CalendarEventDescriptionScrollFrame); |
||
354 | </OnTextChanged> |
||
355 | <OnCursorChanged> |
||
356 | ScrollingEdit_OnCursorChanged(arg1, arg2-10, arg3, arg4); |
||
357 | </OnCursorChanged> |
||
358 | <OnUpdate> |
||
359 | ScrollingEdit_OnUpdate(CalendarEventDescriptionScrollFrame); |
||
360 | </OnUpdate> |
||
361 | </Scripts> |
||
362 | <FontString inherits="ChatFontNormal"/> |
||
363 | </EditBox> |
||
364 | </Frames> |
||
365 | <Scripts> |
||
366 | <OnMouseUp> |
||
367 | CalendarEventDescription:SetFocus(); |
||
368 | </OnMouseUp> |
||
369 | </Scripts> |
||
370 | </Frame> |
||
371 | </ScrollChild> |
||
372 | </ScrollFrame> |
||
373 | </Frames> |
||
374 | </Frame> |
||
375 | <CheckButton name="CalendarEventEditorSelfAttend" inherits="OptionsCheckButtonTemplate"> |
||
376 | <Size> |
||
377 | <AbsDimension x="26" y="26"/> |
||
378 | </Size> |
||
379 | <Anchors> |
||
380 | <Anchor point="TOPLEFT" relativeTo="CalendarEventDescriptionFrame" relativePoint="BOTTOMLEFT"> |
||
381 | <Offset> |
||
382 | <AbsDimension x="-4" y="0"/> |
||
383 | </Offset> |
||
384 | </Anchor> |
||
385 | </Anchors> |
||
386 | <Scripts> |
||
387 | <OnLoad> |
||
388 | getglobal(this:GetName().."Text"):SetWidth(140); |
||
389 | getglobal(this:GetName().."Text"):SetJustifyH("LEFT"); |
||
390 | </OnLoad> |
||
391 | <OnClick> |
||
392 | CalendarEventEditor_SetSelfAttend(this:GetChecked()); |
||
393 | </OnClick> |
||
394 | </Scripts> |
||
395 | </CheckButton> |
||
396 | </Frames> |
||
397 | </Frame> |
||
398 | <Frame name="CalendarEventEditorAttendanceFrame" hidden="true" setAllPoints="true"> |
||
399 | <Frames> |
||
400 | <Frame name="CalendarEventEditorAttendance" inherits="CalendarAttendanceListTemplate" setAllPoints="true" hidden="false"> |
||
401 | <Scripts> |
||
402 | <OnLoad> |
||
403 | CalendarAttendanceList_SetCanEdit(this, true); |
||
404 | </OnLoad> |
||
405 | </Scripts> |
||
406 | </Frame> |
||
407 | </Frames> |
||
408 | </Frame> |
||
409 | |||
410 | <Button name="CalendarEventEditorFrameTab1" inherits="CalendarEventEditorTabTemplate" id="1" text="GroupCalendar_cEvent"> |
||
411 | <Anchors> |
||
412 | <Anchor point="BOTTOMRIGHT"> |
||
413 | <Offset> |
||
414 | <AbsDimension x="-7" y="-30"/> |
||
415 | </Offset> |
||
416 | </Anchor> |
||
417 | </Anchors> |
||
418 | </Button> |
||
419 | <Button name="CalendarEventEditorFrameTab2" inherits="CalendarEventEditorTabTemplate" id="2" text="GroupCalendar_cAttendance"> |
||
420 | <Anchors> |
||
421 | <Anchor point="RIGHT" relativeTo="CalendarEventEditorFrameTab1" relativePoint="LEFT"> |
||
422 | <Offset> |
||
423 | <AbsDimension x="14" y="0"/> |
||
424 | </Offset> |
||
425 | </Anchor> |
||
426 | </Anchors> |
||
427 | </Button> |
||
428 | |||
429 | <Frame name="CalendarAddPlayerFrame" hidden="true" frameStrata="DIALOG" inherits="CalendarAddPlayerTemplate"> |
||
430 | <Anchors> |
||
431 | <Anchor point="CENTER"/> |
||
432 | </Anchors> |
||
433 | </Frame> |
||
434 | |||
435 | </Frames> |
||
436 | <Scripts> |
||
437 | <OnLoad> |
||
438 | CalendarEventEditor_OnLoad(); |
||
439 | </OnLoad> |
||
440 | <OnShow> |
||
441 | CalendarEventEditor_OnShow(); |
||
442 | </OnShow> |
||
443 | <OnHide> |
||
444 | CalendarEventEditor_OnHide(); |
||
445 | </OnHide> |
||
446 | </Scripts> |
||
447 | </Frame> |
||
448 | |||
449 | <Frame name="CalendarClassLimitsFrame" parent="GroupCalendarFrame" hidden="true" frameStrata="DIALOG" inherits="CalendarClassLimitsTemplate"> |
||
450 | <Anchors> |
||
451 | <Anchor point="CENTER"> |
||
452 | <Offset> |
||
453 | <AbsDimension x="200" y="0"/> |
||
454 | </Offset> |
||
455 | </Anchor> |
||
456 | </Anchors> |
||
457 | </Frame> |
||
458 | </UI> |