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 <Script file="CalendarEditor.lua"/>
6  
7 <FontString name="CalendarEventOwnerFont" inherits="MasterFont" font="Fonts\FRIZQT__.TTF" virtual="true">
8 <FontHeight>
9 <AbsValue val="8"/>
10 </FontHeight>
11 <Color r="1.0" g="0.82" b="0"/>
12 </FontString>
13  
14 <Button name="CalendarEventButtonTemplate" hidden="false" virtual="true">
15 <Size>
16 <AbsDimension x="288" y="22"/>
17 </Size>
18 <Layers>
19 <Layer level="BORDER">
20 <FontString name="$parentTime" inherits="GameFontNormal" justifyH="RIGHT" justifyV="BOTTOM">
21 <Size>
22 <AbsDimension x="67" y="20"/>
23 </Size>
24 <Anchors>
25 <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT">
26 <Offset>
27 <AbsDimension x="65" y="6"/>
28 </Offset>
29 </Anchor>
30 </Anchors>
31 </FontString>
32 <FontString name="$parentTitle" inherits="GameFontNormal" justifyH="LEFT" justifyV="BOTTOM">
33 <Size>
34 <AbsDimension x="150" y="20"/>
35 </Size>
36 <Anchors>
37 <Anchor point="BOTTOMLEFT" relativeTo="$parentTime" relativePoint="BOTTOMRIGHT">
38 <Offset>
39 <AbsDimension x="6" y="0"/>
40 </Offset>
41 </Anchor>
42 </Anchors>
43 </FontString>
44 <FontString name="$parentOwner" inherits="CalendarEventOwnerFont" justifyH="RIGHT" justifyV="BOTTOM">
45 <Size>
46 <AbsDimension x="60" y="20"/>
47 </Size>
48 <Anchors>
49 <Anchor point="BOTTOMLEFT" relativeTo="$parentTitle" relativePoint="BOTTOMRIGHT">
50 <Offset>
51 <AbsDimension x="6" y="1"/>
52 </Offset>
53 </Anchor>
54 </Anchors>
55 </FontString>
56 </Layer>
57 <Layer level="BACKGROUND">
58 <Texture name="$parentCircled" file="Interface\Addons\GroupCalendar\Textures\CircledDate">
59 <Size>
60 <AbsDimension x="80" y="22"/>
61 </Size>
62 <Anchors>
63 <Anchor point="CENTER" relativeTo="$parentTime">
64 <Offset>
65 <AbsDimension x="6" y="-3"/>
66 </Offset>
67 </Anchor>
68 </Anchors>
69 </Texture>
70 </Layer>
71 </Layers>
72 <HighlightTexture alphaMode="ADD" file="Interface\HelpFrame\HelpFrameButton-Highlight">
73 <TexCoords left="0" right="1.0" top="0" bottom="0.578125"/>
74 </HighlightTexture>
75 <Scripts>
76 <OnLoad>
77 getglobal(this:GetName().."Circled"):SetVertexColor(0.41, 0.61, 0.75, 0.7);
78 </OnLoad>
79 </Scripts>
80 </Button>
81  
82 <Button name="CalendarEventButton" inherits="CalendarEventButtonTemplate" hidden="false" virtual="true">
83 <Scripts>
84 <OnClick>
85 PlaySound("igMainMenuOptionCheckBoxOn");
86 CalendarEditor_EditIndexedEvent(this:GetID());
87 </OnClick>
88 </Scripts>
89 </Button>
90  
91 <Frame name="CalendarEditorFrame" toplevel="true" movable="true" parent="UIParent" enableMouse="true" hidden="true">
92 <Size>
93 <AbsDimension x="318" y="344"/>
94 </Size>
95 <Anchors>
96 <Anchor point="TOPLEFT" relativeTo="GroupCalendarFrame" relativePoint="TOPRIGHT">
97 <Offset>
98 <AbsDimension x="1" y="-21"/>
99 </Offset>
100 </Anchor>
101 </Anchors>
102 <Layers>
103 <Layer level="BORDER">
104 <Texture name="CalendarEditorFrameTopLeft" file="Interface\AddOns\GroupCalendar\Textures\CalendarSideFrame-TopLeft">
105 <Size>
106 <AbsDimension x="256" y="256"/>
107 </Size>
108 <Anchors>
109 <Anchor point="TOPLEFT"/>
110 </Anchors>
111 </Texture>
112 <Texture file="Interface\AddOns\GroupCalendar\Textures\CalendarSideFrame-TopRight">
113 <Size>
114 <AbsDimension x="128" y="256"/>
115 </Size>
116 <Anchors>
117 <Anchor point="TOPLEFT" relativeTo="CalendarEditorFrameTopLeft" relativePoint="TOPRIGHT"/>
118 </Anchors>
119 </Texture>
120 <Texture file="Interface\AddOns\GroupCalendar\Textures\CalendarSideFrame-BottomLeft">
121 <Size>
122 <AbsDimension x="256" y="128"/>
123 </Size>
124 <Anchors>
125 <Anchor point="TOPLEFT" relativeTo="CalendarEditorFrameTopLeft" relativePoint="BOTTOMLEFT"/>
126 </Anchors>
127 </Texture>
128 <Texture file="Interface\AddOns\GroupCalendar\Textures\CalendarSideFrame-BottomRight">
129 <Size>
130 <AbsDimension x="128" y="128"/>
131 </Size>
132 <Anchors>
133 <Anchor point="TOPLEFT" relativeTo="CalendarEditorFrameTopLeft" relativePoint="BOTTOMRIGHT"/>
134 </Anchors>
135 </Texture>
136 </Layer>
137 <Layer level="OVERLAY">
138 <FontString name="$parentTitle" text="CalendarEditor_cEventsTitle" inherits="GameFontHighlight">
139 <Anchors>
140 <Anchor point="TOP">
141 <Offset>
142 <AbsDimension x="-10" y="-6"/>
143 </Offset>
144 </Anchor>
145 </Anchors>
146 </FontString>
147 <FontString name="$parentSubTitle" inherits="GameFontNormalLarge">
148 <Anchors>
149 <Anchor point="TOP">
150 <Offset>
151 <AbsDimension x="-10" y="-36"/>
152 </Offset>
153 </Anchor>
154 </Anchors>
155 </FontString>
156 </Layer>
157 </Layers>
158 <Frames>
159 <Button name="CalendarEditorCloseButton" inherits="UIPanelCloseButton">
160 <Anchors>
161 <Anchor point="TOPRIGHT" relativeTo="CalendarEditorFrame" relativePoint="TOPRIGHT">
162 <Offset>
163 <AbsDimension x="5" y="4"/>
164 </Offset>
165 </Anchor>
166 </Anchors>
167 </Button>
168 <Button name="CalendarEditorNewEventButton" inherits="UIPanelButtonTemplate" text="CalendarEditor_cNewEvent">
169 <Size>
170 <AbsDimension x="132" y="21"/>
171 </Size>
172 <Anchors>
173 <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
174 <Offset>
175 <AbsDimension x="-7" y="6"/>
176 </Offset>
177 </Anchor>
178 </Anchors>
179 <Scripts>
180 <OnClick>
181 PlaySound("igMainMenuOptionCheckBoxOn");
182 CalendarEditor_NewEvent();
183 </OnClick>
184 </Scripts>
185 </Button>
186 <Frame name="CalendarEditorScrollbarTrench" inherits="CalendarScrollbarTrenchTemplate">
187 <Anchors>
188 <Anchor point="TOPRIGHT">
189 <Offset>
190 <AbsDimension x="-3" y="-58"/>
191 </Offset>
192 </Anchor>
193 </Anchors>
194 </Frame>
195 <ScrollFrame name="CalendarEditorScrollFrame" inherits="FauxScrollFrameTemplate">
196 <Size>
197 <AbsDimension x="220" y="254"/>
198 </Size>
199 <Anchors>
200 <Anchor point="TOPRIGHT">
201 <Offset>
202 <AbsDimension x="-30" y="-63"/>
203 </Offset>
204 </Anchor>
205 </Anchors>
206 </ScrollFrame>
207 <Button name="CalendarEditorEvent1" inherits="CalendarEventButton" id="1">
208 <Anchors>
209 <Anchor point="TOPLEFT">
210 <Offset>
211 <AbsDimension x="0" y="-65"/>
212 </Offset>
213 </Anchor>
214 </Anchors>
215 </Button>
216 <Button name="CalendarEditorEvent2" inherits="CalendarEventButton" id="2">
217 <Anchors>
218 <Anchor point="TOPLEFT" relativeTo="CalendarEditorEvent1" relativePoint="BOTTOMLEFT">
219 <Offset>
220 <AbsDimension x="0" y="0"/>
221 </Offset>
222 </Anchor>
223 </Anchors>
224 </Button>
225 <Button name="CalendarEditorEvent3" inherits="CalendarEventButton" id="3">
226 <Anchors>
227 <Anchor point="TOPLEFT" relativeTo="CalendarEditorEvent2" relativePoint="BOTTOMLEFT">
228 <Offset>
229 <AbsDimension x="0" y="0"/>
230 </Offset>
231 </Anchor>
232 </Anchors>
233 </Button>
234 <Button name="CalendarEditorEvent4" inherits="CalendarEventButton" id="4">
235 <Anchors>
236 <Anchor point="TOPLEFT" relativeTo="CalendarEditorEvent3" relativePoint="BOTTOMLEFT">
237 <Offset>
238 <AbsDimension x="0" y="0"/>
239 </Offset>
240 </Anchor>
241 </Anchors>
242 </Button>
243 <Button name="CalendarEditorEvent5" inherits="CalendarEventButton" id="5">
244 <Anchors>
245 <Anchor point="TOPLEFT" relativeTo="CalendarEditorEvent4" relativePoint="BOTTOMLEFT">
246 <Offset>
247 <AbsDimension x="0" y="0"/>
248 </Offset>
249 </Anchor>
250 </Anchors>
251 </Button>
252 <Button name="CalendarEditorEvent6" inherits="CalendarEventButton" id="6">
253 <Anchors>
254 <Anchor point="TOPLEFT" relativeTo="CalendarEditorEvent5" relativePoint="BOTTOMLEFT">
255 <Offset>
256 <AbsDimension x="0" y="0"/>
257 </Offset>
258 </Anchor>
259 </Anchors>
260 </Button>
261 <Button name="CalendarEditorEvent7" inherits="CalendarEventButton" id="7">
262 <Anchors>
263 <Anchor point="TOPLEFT" relativeTo="CalendarEditorEvent6" relativePoint="BOTTOMLEFT">
264 <Offset>
265 <AbsDimension x="0" y="0"/>
266 </Offset>
267 </Anchor>
268 </Anchors>
269 </Button>
270 <Button name="CalendarEditorEvent8" inherits="CalendarEventButton" id="8">
271 <Anchors>
272 <Anchor point="TOPLEFT" relativeTo="CalendarEditorEvent7" relativePoint="BOTTOMLEFT">
273 <Offset>
274 <AbsDimension x="0" y="0"/>
275 </Offset>
276 </Anchor>
277 </Anchors>
278 </Button>
279 <Button name="CalendarEditorEvent9" inherits="CalendarEventButton" id="9">
280 <Anchors>
281 <Anchor point="TOPLEFT" relativeTo="CalendarEditorEvent8" relativePoint="BOTTOMLEFT">
282 <Offset>
283 <AbsDimension x="0" y="0"/>
284 </Offset>
285 </Anchor>
286 </Anchors>
287 </Button>
288 <Button name="CalendarEditorEvent10" inherits="CalendarEventButton" id="10">
289 <Anchors>
290 <Anchor point="TOPLEFT" relativeTo="CalendarEditorEvent9" relativePoint="BOTTOMLEFT">
291 <Offset>
292 <AbsDimension x="0" y="0"/>
293 </Offset>
294 </Anchor>
295 </Anchors>
296 </Button>
297 <Button name="CalendarEditorEvent11" inherits="CalendarEventButton" id="11">
298 <Anchors>
299 <Anchor point="TOPLEFT" relativeTo="CalendarEditorEvent10" relativePoint="BOTTOMLEFT">
300 <Offset>
301 <AbsDimension x="0" y="0"/>
302 </Offset>
303 </Anchor>
304 </Anchors>
305 </Button>
306 <Button name="CalendarEditorEvent12" inherits="CalendarEventButton" id="12">
307 <Anchors>
308 <Anchor point="TOPLEFT" relativeTo="CalendarEditorEvent11" relativePoint="BOTTOMLEFT">
309 <Offset>
310 <AbsDimension x="0" y="0"/>
311 </Offset>
312 </Anchor>
313 </Anchors>
314 </Button>
315 <Button name="CalendarEditorEvent13" inherits="CalendarEventButton" id="13">
316 <Anchors>
317 <Anchor point="TOPLEFT" relativeTo="CalendarEditorEvent12" relativePoint="BOTTOMLEFT">
318 <Offset>
319 <AbsDimension x="0" y="0"/>
320 </Offset>
321 </Anchor>
322 </Anchors>
323 </Button>
324 <Button name="CalendarEditorEvent14" inherits="CalendarEventButton" id="14">
325 <Anchors>
326 <Anchor point="TOPLEFT" relativeTo="CalendarEditorEvent13" relativePoint="BOTTOMLEFT">
327 <Offset>
328 <AbsDimension x="0" y="0"/>
329 </Offset>
330 </Anchor>
331 </Anchors>
332 </Button>
333 <Button name="CalendarEditorEvent15" inherits="CalendarEventButton" id="15">
334 <Anchors>
335 <Anchor point="TOPLEFT" relativeTo="CalendarEditorEvent14" relativePoint="BOTTOMLEFT">
336 <Offset>
337 <AbsDimension x="0" y="0"/>
338 </Offset>
339 </Anchor>
340 </Anchors>
341 </Button>
342 </Frames>
343 <Scripts>
344 <OnShow>
345 CalendarEditor_OnShow();
346 </OnShow>
347 <OnHide>
348 CalendarEditor_OnHide();
349 </OnHide>
350 </Scripts>
351 </Frame>
352 </UI>