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="EventViewer.lua"/> |
||
6 | |||
7 | <Button name="CalendarEventViewerTabTemplate" inherits="CharacterFrameTabButtonTemplate" virtual="true"> |
||
8 | <Scripts> |
||
9 | <OnClick> |
||
10 | PlaySound("igMainMenuOpen"); |
||
11 | PanelTemplates_Tab_OnClick(CalendarEventViewerFrame); |
||
12 | CalendarEventViewer_ShowPanel(CalendarEventViewerFrame.selectedTab); |
||
13 | </OnClick> |
||
14 | </Scripts> |
||
15 | </Button> |
||
16 | |||
17 | <Frame name="CalendarEventViewerFrame" 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="EventViewerFrameTopLeftTexture" 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="EventViewerFrameTopRightTexture" file="Interface\AddOns\GroupCalendar\Textures\CalendarSideFrame-TopRight"> |
||
39 | <Size> |
||
40 | <AbsDimension x="128" y="256"/> |
||
41 | </Size> |
||
42 | <Anchors> |
||
43 | <Anchor point="TOPLEFT" relativeTo="EventViewerFrameTopLeftTexture" relativePoint="TOPRIGHT"/> |
||
44 | </Anchors> |
||
45 | </Texture> |
||
46 | <Texture name="EventViewerFrameBottomLeftTexture" file="Interface\AddOns\GroupCalendar\Textures\CalendarSideFrame-BottomLeft"> |
||
47 | <Size> |
||
48 | <AbsDimension x="256" y="128"/> |
||
49 | </Size> |
||
50 | <Anchors> |
||
51 | <Anchor point="TOPLEFT" relativeTo="EventViewerFrameTopLeftTexture" relativePoint="BOTTOMLEFT"/> |
||
52 | </Anchors> |
||
53 | </Texture> |
||
54 | <Texture name="EventViewerFrameBottomRightTexture" file="Interface\AddOns\GroupCalendar\Textures\CalendarSideFrame-BottomRight"> |
||
55 | <Size> |
||
56 | <AbsDimension x="128" y="128"/> |
||
57 | </Size> |
||
58 | <Anchors> |
||
59 | <Anchor point="TOPLEFT" relativeTo="EventViewerFrameBottomLeftTexture" relativePoint="TOPRIGHT"/> |
||
60 | </Anchors> |
||
61 | </Texture> |
||
62 | </Layer> |
||
63 | <Layer level="OVERLAY"> |
||
64 | <FontString name="$parentTitle" text="CalendarEventViewer_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 | <Texture name="CalendarEventViewerParchment" file="Interface\AddOns\GroupCalendar\Textures\CalendarParchmentTexture"> |
||
74 | <Size> |
||
75 | <AbsDimension x="315" y="294"/> |
||
76 | </Size> |
||
77 | <Anchors> |
||
78 | <Anchor point="TOPLEFT"> |
||
79 | <Offset> |
||
80 | <AbsDimension x="0" y="-24"/> |
||
81 | </Offset> |
||
82 | </Anchor> |
||
83 | </Anchors> |
||
84 | </Texture> |
||
85 | </Layer> |
||
86 | </Layers> |
||
87 | <Frames> |
||
88 | <Button name="EventViewerCloseButton" inherits="UIPanelCloseButton"> |
||
89 | <Anchors> |
||
90 | <Anchor point="TOPRIGHT" relativeTo="CalendarEventViewerFrame" relativePoint="TOPRIGHT"> |
||
91 | <Offset> |
||
92 | <AbsDimension x="5" y="4"/> |
||
93 | </Offset> |
||
94 | </Anchor> |
||
95 | </Anchors> |
||
96 | </Button> |
||
97 | <Button name="CalendarEventViewerDoneButton" inherits="UIPanelButtonTemplate" text="CalendarEventViewer_cDone"> |
||
98 | <Size> |
||
99 | <AbsDimension x="102" y="21"/> |
||
100 | </Size> |
||
101 | <Anchors> |
||
102 | <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT"> |
||
103 | <Offset> |
||
104 | <AbsDimension x="-7" y="6"/> |
||
105 | </Offset> |
||
106 | </Anchor> |
||
107 | </Anchors> |
||
108 | <Scripts> |
||
109 | <OnClick> |
||
110 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
111 | CalendarEventViewer_DoneViewing(); |
||
112 | </OnClick> |
||
113 | </Scripts> |
||
114 | </Button> |
||
115 | <Frame name="CalendarEventViewerEventFrame" hidden="true" setAllPoints="true"> |
||
116 | <Layers> |
||
117 | <Layer level="BACKGROUND"> |
||
118 | <Texture name="CalendarEventViewerEventBackground" file=""> |
||
119 | <Size> |
||
120 | <AbsDimension x="315" y="294"/> |
||
121 | </Size> |
||
122 | <Anchors> |
||
123 | <Anchor point="CENTER"> |
||
124 | <Offset> |
||
125 | <AbsDimension x="0" y="2"/> |
||
126 | </Offset> |
||
127 | </Anchor> |
||
128 | </Anchors> |
||
129 | <TexCoords left="0.0625" right="0.9375" top="0.078125" bottom="0.921875"/> |
||
130 | </Texture> |
||
131 | </Layer> |
||
132 | |||
133 | <Layer level="OVERLAY"> |
||
134 | <FontString name="$parentEventTitle" justifyH="CENTER" justifyV="MIDDLE" inherits="GameFontNormalLarge"> |
||
135 | <Size> |
||
136 | <AbsDimension x="280" y="22"/> |
||
137 | </Size> |
||
138 | <Anchors> |
||
139 | <Anchor point="TOP"> |
||
140 | <Offset> |
||
141 | <AbsDimension x="-10" y="-30"/> |
||
142 | </Offset> |
||
143 | </Anchor> |
||
144 | </Anchors> |
||
145 | </FontString> |
||
146 | <FontString name="$parentDate" inherits="GameFontNormal"> |
||
147 | <Anchors> |
||
148 | <Anchor point="TOP" relativeTo="$parentEventTitle" relativePoint="TOP"> |
||
149 | <Offset> |
||
150 | <AbsDimension x="0" y="-25"/> |
||
151 | </Offset> |
||
152 | </Anchor> |
||
153 | </Anchors> |
||
154 | </FontString> |
||
155 | <FontString name="$parentTime" inherits="GameFontNormal"> |
||
156 | <Anchors> |
||
157 | <Anchor point="TOP" relativeTo="$parentDate" relativePoint="TOP"> |
||
158 | <Offset> |
||
159 | <AbsDimension x="0" y="-20"/> |
||
160 | </Offset> |
||
161 | </Anchor> |
||
162 | </Anchors> |
||
163 | </FontString> |
||
164 | <FontString name="$parentLevels" inherits="GameFontNormal"> |
||
165 | <Anchors> |
||
166 | <Anchor point="TOP" relativeTo="$parentTime" relativePoint="TOP"> |
||
167 | <Offset> |
||
168 | <AbsDimension x="0" y="-25"/> |
||
169 | </Offset> |
||
170 | </Anchor> |
||
171 | </Anchors> |
||
172 | </FontString> |
||
173 | <FontString name="$parentStatus" inherits="GameFontNormalSmall"> |
||
174 | <Anchors> |
||
175 | <Anchor point="TOP" relativeTo="$parentTime" relativePoint="TOP"> |
||
176 | <Offset> |
||
177 | <AbsDimension x="0" y="-216"/> |
||
178 | </Offset> |
||
179 | </Anchor> |
||
180 | </Anchors> |
||
181 | </FontString> |
||
182 | </Layer> |
||
183 | </Layers> |
||
184 | <Frames> |
||
185 | <Frame name="CalendarEventViewerDescription"> |
||
186 | <Size> |
||
187 | <AbsDimension x="250" y="40"/> |
||
188 | </Size> |
||
189 | <Anchors> |
||
190 | <Anchor point="TOP"> |
||
191 | <Offset> |
||
192 | <AbsDimension x="-10" y="-140"/> |
||
193 | </Offset> |
||
194 | </Anchor> |
||
195 | </Anchors> |
||
196 | <Layers> |
||
197 | <Layer level="BACKGROUND"> |
||
198 | <FontString name="CalendarEventViewerDescText" inherits="GameFontNormalSmall"> |
||
199 | <Size> |
||
200 | <AbsDimension x="250" y="0"/> |
||
201 | </Size> |
||
202 | <Anchors> |
||
203 | <Anchor point="TOPLEFT"/> |
||
204 | </Anchors> |
||
205 | </FontString> |
||
206 | </Layer> |
||
207 | </Layers> |
||
208 | </Frame> |
||
209 | <Frame name="CalendarEventViewerCharacter" inherits="CalendarCharactersTemplate"> |
||
210 | <Anchors> |
||
211 | <Anchor point="TOPLEFT" relativeTo="CalendarEventViewerDescription" relativePoint="BOTTOMLEFT"> |
||
212 | <Offset> |
||
213 | <AbsDimension x="40" y="0"/> |
||
214 | </Offset> |
||
215 | </Anchor> |
||
216 | </Anchors> |
||
217 | </Frame> |
||
218 | <CheckButton name="CalendarEventViewerYes" inherits="OptionsCheckButtonTemplate"> |
||
219 | <Size> |
||
220 | <AbsDimension x="26" y="26"/> |
||
221 | </Size> |
||
222 | <Anchors> |
||
223 | <Anchor point="TOPLEFT" relativeTo="CalendarEventViewerCharacter" relativePoint="BOTTOMLEFT"> |
||
224 | <Offset> |
||
225 | <AbsDimension x="20" y="-8"/> |
||
226 | </Offset> |
||
227 | </Anchor> |
||
228 | </Anchors> |
||
229 | <Scripts> |
||
230 | <OnLoad> |
||
231 | getglobal(this:GetName().."Text"):SetText(CalendarEventViewer_cYes); |
||
232 | </OnLoad> |
||
233 | <OnClick> |
||
234 | -- CalendarEventViewerYes:SetChecked(true); |
||
235 | CalendarEventViewerNo:SetChecked(false); |
||
236 | CalendarEventViewer_UpdateCommentEnable(); |
||
237 | </OnClick> |
||
238 | </Scripts> |
||
239 | </CheckButton> |
||
240 | <CheckButton name="CalendarEventViewerNo" inherits="OptionsCheckButtonTemplate"> |
||
241 | <Size> |
||
242 | <AbsDimension x="26" y="26"/> |
||
243 | </Size> |
||
244 | <Anchors> |
||
245 | <Anchor point="TOPLEFT" relativeTo="CalendarEventViewerYes" relativePoint="TOPLEFT"> |
||
246 | <Offset> |
||
247 | <AbsDimension x="0" y="-22"/> |
||
248 | </Offset> |
||
249 | </Anchor> |
||
250 | </Anchors> |
||
251 | <Scripts> |
||
252 | <OnLoad> |
||
253 | getglobal(this:GetName().."Text"):SetText(CalendarEventViewer_cNo); |
||
254 | </OnLoad> |
||
255 | <OnClick> |
||
256 | CalendarEventViewerYes:SetChecked(false); |
||
257 | -- CalendarEventViewerNo:SetChecked(true); |
||
258 | CalendarEventViewer_UpdateCommentEnable(); |
||
259 | </OnClick> |
||
260 | </Scripts> |
||
261 | </CheckButton> |
||
262 | <EditBox name="CalendarEventViewerComment" letters="50" autofocus="false" inherits="GroupCalendarInputBoxTemplate"> |
||
263 | <Size> |
||
264 | <AbsDimension x="190" y="20"/> |
||
265 | </Size> |
||
266 | <Anchors> |
||
267 | <Anchor point="TOPLEFT" relativeTo="CalendarEventViewerNo" relativePoint="BOTTOMLEFT"> |
||
268 | <Offset> |
||
269 | <AbsDimension x="10" y="-5"/> |
||
270 | </Offset> |
||
271 | </Anchor> |
||
272 | </Anchors> |
||
273 | <Layers> |
||
274 | <Layer level="BACKGROUND"> |
||
275 | <FontString inherits="GameFontNormalSmall" text="GroupCalendar_cCommentLabel" justifyH="RIGHT"> |
||
276 | <Anchors> |
||
277 | <Anchor point="RIGHT" relativePoint="LEFT"> |
||
278 | <Offset> |
||
279 | <AbsDimension x="-8" y="0"/> |
||
280 | </Offset> |
||
281 | </Anchor> |
||
282 | </Anchors> |
||
283 | </FontString> |
||
284 | </Layer> |
||
285 | </Layers> |
||
286 | <Scripts> |
||
287 | <OnEscapePressed> |
||
288 | this:ClearFocus(); |
||
289 | </OnEscapePressed> |
||
290 | </Scripts> |
||
291 | </EditBox> |
||
292 | </Frames> |
||
293 | </Frame> |
||
294 | |||
295 | <Frame name="CalendarEventViewerAttendanceFrame" hidden="true" setAllPoints="true"> |
||
296 | <Frames> |
||
297 | <Frame name="CalendarEventViewerAttendance" inherits="CalendarAttendanceListTemplate" setAllPoints="true" hidden="false"/> |
||
298 | </Frames> |
||
299 | </Frame> |
||
300 | |||
301 | <Button name="CalendarEventViewerFrameTab1" inherits="CalendarEventViewerTabTemplate" id="1" text="GroupCalendar_cEvent"> |
||
302 | <Anchors> |
||
303 | <Anchor point="BOTTOMRIGHT"> |
||
304 | <Offset> |
||
305 | <AbsDimension x="-7" y="-30"/> |
||
306 | </Offset> |
||
307 | </Anchor> |
||
308 | </Anchors> |
||
309 | </Button> |
||
310 | <Button name="CalendarEventViewerFrameTab2" inherits="CalendarEventViewerTabTemplate" id="2" text="GroupCalendar_cAttendance"> |
||
311 | <Anchors> |
||
312 | <Anchor point="RIGHT" relativeTo="CalendarEventViewerFrameTab1" relativePoint="LEFT"> |
||
313 | <Offset> |
||
314 | <AbsDimension x="14" y="0"/> |
||
315 | </Offset> |
||
316 | </Anchor> |
||
317 | </Anchors> |
||
318 | </Button> |
||
319 | </Frames> |
||
320 | <Scripts> |
||
321 | <OnLoad> |
||
322 | CalendarEventViewer_OnLoad(); |
||
323 | </OnLoad> |
||
324 | <OnShow> |
||
325 | CalendarEventViewer_OnShow(); |
||
326 | </OnShow> |
||
327 | <OnHide> |
||
328 | CalendarEventViewer_OnHide(); |
||
329 | </OnHide> |
||
330 | </Scripts> |
||
331 | </Frame> |
||
332 | </UI> |
||
333 |