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/"
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://www.blizzard.com/wow/ui/FrameXML/UI.xsd">
4  
5 <Frame name="CalendarAddPlayerTemplate" toplevel="true" enableMouse="true" virtual="true">
6 <Size>
7 <AbsDimension x="465" y="225"/>
8 </Size>
9 <Backdrop bgFile="Interface\Addons\GroupCalendar\Textures\DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
10 <BackgroundInsets>
11 <AbsInset left="11" right="12" top="12" bottom="11"/>
12 </BackgroundInsets>
13 <TileSize>
14 <AbsValue val="32"/>
15 </TileSize>
16 <EdgeSize>
17 <AbsValue val="32"/>
18 </EdgeSize>
19 </Backdrop>
20 <Layers>
21 <Layer level="ARTWORK">
22 <Texture name="$parentFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
23 <Size>
24 <AbsDimension x="256" y="64"/>
25 </Size>
26 <Anchors>
27 <Anchor point="TOP">
28 <Offset>
29 <AbsDimension x="0" y="12"/>
30 </Offset>
31 </Anchor>
32 </Anchors>
33 </Texture>
34 <FontString inherits="GameFontNormal" text="GroupCalendar_cAddPlayer">
35 <Anchors>
36 <Anchor point="TOP" relativeTo="$parentFrameHeader">
37 <Offset>
38 <AbsDimension x="0" y="-14"/>
39 </Offset>
40 </Anchor>
41 </Anchors>
42 </FontString>
43 </Layer>
44 </Layers>
45 <Frames>
46 <Button name="$parentWhispers">
47 <Size>
48 <AbsDimension x="24" y="24"/>
49 </Size>
50 <Anchors>
51 <Anchor point="TOPLEFT">
52 <Offset>
53 <AbsDimension x="13" y="-29"/>
54 </Offset>
55 </Anchor>
56 </Anchors>
57 <Scripts>
58 <OnEnter>
59 CalendarAddPlayerWhisper_OnEnter();
60 </OnEnter>
61 <OnLeave>
62 CalendarAddPlayerWhisper_OnLeave();
63 </OnLeave>
64 <OnClick>
65 CalendarAddPlayerWhisper_Reply();
66 </OnClick>
67 </Scripts>
68 <NormalTexture file="Interface\Addons\GroupCalendar\Textures\AttendanceNoteIcon"/>
69 <PushedTexture file="Interface\Addons\GroupCalendar\Textures\AttendanceNoteIcon"/>
70 <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/>
71 </Button>
72 <EditBox name="$parentName" letters="12" historyLines="0" autofocus="false" inherits="GroupCalendarInputBoxTemplate">
73 <Size>
74 <AbsDimension x="130" y="20"/>
75 </Size>
76 <Anchors>
77 <Anchor point="TOPLEFT">
78 <Offset>
79 <AbsDimension x="110" y="-40"/>
80 </Offset>
81 </Anchor>
82 </Anchors>
83 <Layers>
84 <Layer level="BACKGROUND">
85 <FontString inherits="GameFontNormalSmall" text="GroupCalendar_cPlayerName" justifyH="RIGHT">
86 <Anchors>
87 <Anchor point="RIGHT" relativePoint="LEFT">
88 <Offset>
89 <AbsDimension x="-12" y="0"/>
90 </Offset>
91 </Anchor>
92 </Anchors>
93 </FontString>
94 </Layer>
95 </Layers>
96 <Scripts>
97 <OnChar>
98 Calendar_AutoCompletePlayerName(this);
99 </OnChar>
100 <OnEditFocusLost>
101 CalendarAddPlayer_AutoCompletePlayerInfo();
102 </OnEditFocusLost>
103 <OnEscapePressed>
104 this:ClearFocus();
105 </OnEscapePressed>
106 <OnEnterPressed>
107 CalendarAddPlayer_Done();
108 </OnEnterPressed>
109 </Scripts>
110 <FontString inherits="ChatFontNormal"/>
111 </EditBox>
112 <Frame name="$parentGuildRank" inherits="CalendarPlayerRankMenuTemplate">
113 <Anchors>
114 <Anchor point="TOPLEFT" relativeTo="$parentName" relativePoint="TOPLEFT">
115 <Offset>
116 <AbsDimension x="0" y="-30"/>
117 </Offset>
118 </Anchor>
119 </Anchors>
120 </Frame>
121 <Frame name="$parentStatus" inherits="CalendarPlayerStatusMenuTemplate">
122 <Anchors>
123 <Anchor point="TOPLEFT" relativeTo="$parentGuildRank">
124 <Offset>
125 <AbsDimension x="0" y="-70"/>
126 </Offset>
127 </Anchor>
128 </Anchors>
129 </Frame>
130 <EditBox name="$parentLevel" letters="2" historyLines="0" autofocus="false" inherits="GroupCalendarInputBoxTemplate">
131 <Size>
132 <AbsDimension x="40" y="20"/>
133 </Size>
134 <Anchors>
135 <Anchor point="TOPLEFT" relativeTo="$parentName" relativePoint="TOPLEFT">
136 <Offset>
137 <AbsDimension x="200" y="0"/>
138 </Offset>
139 </Anchor>
140 </Anchors>
141 <Layers>
142 <Layer level="BACKGROUND">
143 <FontString inherits="GameFontNormalSmall" text="GroupCalendar_cPlayerLevel" justifyH="RIGHT">
144 <Anchors>
145 <Anchor point="RIGHT" relativePoint="LEFT">
146 <Offset>
147 <AbsDimension x="-12" y="0"/>
148 </Offset>
149 </Anchor>
150 </Anchors>
151 </FontString>
152 </Layer>
153 </Layers>
154 <Scripts>
155 <OnEscapePressed>
156 this:ClearFocus();
157 </OnEscapePressed>
158 <OnEnterPressed>
159 CalendarAddPlayer_Done();
160 </OnEnterPressed>
161 </Scripts>
162 <FontString inherits="ChatFontNormal"/>
163 </EditBox>
164 <Frame name="$parentClass" inherits="CalendarPlayerClassMenuTemplate">
165 <Anchors>
166 <Anchor point="TOPLEFT" relativeTo="$parentLevel" relativePoint="TOPLEFT">
167 <Offset>
168 <AbsDimension x="0" y="-30"/>
169 </Offset>
170 </Anchor>
171 </Anchors>
172 </Frame>
173 <Frame name="$parentRace" inherits="CalendarPlayerRaceMenuTemplate">
174 <Anchors>
175 <Anchor point="TOPLEFT" relativeTo="$parentClass" relativePoint="TOPLEFT">
176 <Offset>
177 <AbsDimension x="0" y="-30"/>
178 </Offset>
179 </Anchor>
180 </Anchors>
181 </Frame>
182 <EditBox name="$parentComment" letters="50" historyLines="0" autofocus="false" inherits="GroupCalendarInputBoxTemplate">
183 <Size>
184 <AbsDimension x="130" y="20"/>
185 </Size>
186 <Anchors>
187 <Anchor point="TOPLEFT" relativeTo="$parentRace">
188 <Offset>
189 <AbsDimension x="0" y="-40"/>
190 </Offset>
191 </Anchor>
192 </Anchors>
193 <Layers>
194 <Layer level="BACKGROUND">
195 <FontString inherits="GameFontNormalSmall" text="GroupCalendar_cCommentLabel" justifyH="RIGHT">
196 <Anchors>
197 <Anchor point="RIGHT" relativePoint="LEFT">
198 <Offset>
199 <AbsDimension x="-12" y="0"/>
200 </Offset>
201 </Anchor>
202 </Anchors>
203 </FontString>
204 </Layer>
205 </Layers>
206 <Scripts>
207 <OnEscapePressed>
208 this:ClearFocus();
209 </OnEscapePressed>
210 <OnEnterPressed>
211 CalendarAddPlayer_Done();
212 </OnEnterPressed>
213 </Scripts>
214 <FontString inherits="ChatFontNormal"/>
215 </EditBox>
216 <Frame name="$parentWhisper">
217 <Size>
218 <AbsDimension x="330" y="60"/>
219 </Size>
220 <Anchors>
221 <Anchor point="TOPLEFT" relativeTo="$parentStatus">
222 <Offset>
223 <AbsDimension x="0" y="-20"/>
224 </Offset>
225 </Anchor>
226 </Anchors>
227 <Layers>
228 <Layer level="ARTWORK">
229 <FontString name="$parentRecent" inherits="GameFontNormalSmall" text="Testing" justifyH="LEFT">
230 <Size>
231 <AbsDimension x="300" y="20"/>
232 </Size>
233 <Anchors>
234 <Anchor point="TOPLEFT">
235 <Offset>
236 <AbsDimension x="0" y="-22"/>
237 </Offset>
238 </Anchor>
239 </Anchors>
240 </FontString>
241 <FontString inherits="GameFontNormalSmall" text="GroupCalendar_cLastWhisper" justifyH="RIGHT">
242 <Anchors>
243 <Anchor point="RIGHT" relativeTo="$parentRecent" relativePoint="LEFT">
244 <Offset>
245 <AbsDimension x="-12" y="0"/>
246 </Offset>
247 </Anchor>
248 </Anchors>
249 </FontString>
250 </Layer>
251 </Layers>
252 <Frames>
253 <EditBox name="$parentReply" letters="200" historyLines="0" autofocus="false" inherits="GroupCalendarInputBoxTemplate">
254 <Size>
255 <AbsDimension x="330" y="20"/>
256 </Size>
257 <Anchors>
258 <Anchor point="TOPLEFT" relativeTo="$parentRecent">
259 <Offset>
260 <AbsDimension x="0" y="-20"/>
261 </Offset>
262 </Anchor>
263 </Anchors>
264 <Layers>
265 <Layer level="BACKGROUND">
266 <FontString inherits="GameFontNormalSmall" text="GroupCalendar_cReplyWhisper" justifyH="RIGHT">
267 <Anchors>
268 <Anchor point="RIGHT" relativePoint="LEFT">
269 <Offset>
270 <AbsDimension x="-12" y="0"/>
271 </Offset>
272 </Anchor>
273 </Anchors>
274 </FontString>
275 </Layer>
276 </Layers>
277 <Scripts>
278 <OnEscapePressed>
279 this:ClearFocus();
280 </OnEscapePressed>
281 <OnEnterPressed>
282 CalendarAddPlayer_Done();
283 </OnEnterPressed>
284 </Scripts>
285 <FontString inherits="ChatFontNormal"/>
286 </EditBox>
287 </Frames>
288 </Frame>
289 <Button name="$parentSaveButton" inherits="UIPanelButtonTemplate" text="GroupCalendar_cSave">
290 <Size>
291 <AbsDimension x="80" y="21"/>
292 </Size>
293 <Anchors>
294 <Anchor point="BOTTOMLEFT">
295 <Offset>
296 <AbsDimension x="20" y="23"/>
297 </Offset>
298 </Anchor>
299 </Anchors>
300 <Scripts>
301 <OnClick>
302 PlaySound("igMainMenuOptionCheckBoxOn");
303 CalendarAddPlayer_SaveNext();
304 </OnClick>
305 </Scripts>
306 </Button>
307 <Button name="$parentDeleteButton" inherits="UIPanelButtonTemplate" text="CalendarEventEditor_cDelete">
308 <Size>
309 <AbsDimension x="80" y="21"/>
310 </Size>
311 <Anchors>
312 <Anchor point="LEFT" relativeTo="$parentSaveButton" relativePoint="RIGHT">
313 <Offset>
314 <AbsDimension x="25" y="0"/>
315 </Offset>
316 </Anchor>
317 </Anchors>
318 <Scripts>
319 <OnClick>
320 PlaySound("igMainMenuOptionCheckBoxOn");
321 CalendarAddPlayer_Delete();
322 </OnClick>
323 </Scripts>
324 </Button>
325 <Button name="$parentCancelButton" inherits="UIPanelButtonTemplate" text="CANCEL">
326 <Size>
327 <AbsDimension x="80" y="21"/>
328 </Size>
329 <Anchors>
330 <Anchor point="BOTTOMRIGHT">
331 <Offset>
332 <AbsDimension x="-20" y="23"/>
333 </Offset>
334 </Anchor>
335 </Anchors>
336 <Scripts>
337 <OnClick>
338 PlaySound("igMainMenuOptionCheckBoxOn");
339 CalendarAddPlayer_Cancel();
340 </OnClick>
341 </Scripts>
342 </Button>
343 <Button name="$parentDoneButton" inherits="UIPanelButtonTemplate" text="CalendarEventViewer_cDone">
344 <Size>
345 <AbsDimension x="80" y="21"/>
346 </Size>
347 <Anchors>
348 <Anchor point="RIGHT" relativeTo="$parentCancelButton" relativePoint="LEFT">
349 <Offset>
350 <AbsDimension x="-12" y="0"/>
351 </Offset>
352 </Anchor>
353 </Anchors>
354 <Scripts>
355 <OnClick>
356 PlaySound("igMainMenuOptionCheckBoxOn");
357 CalendarAddPlayer_Done();
358 </OnClick>
359 </Scripts>
360 </Button>
361 </Frames>
362 <Scripts>
363 <OnLoad>
364 this.NormalHeight = this:GetHeight();
365 </OnLoad>
366 <OnShow>
367 GroupCalendar_BeginModalDialog(this);
368 </OnShow>
369 <OnHide>
370 GroupCalendar_EndModalDialog(this);
371 </OnHide>
372 </Scripts>
373 </Frame>
374 </UI>