vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 <Ui>
2 <Button name="Tetris_NS_Stone" virtual="true" hidden="false">
3 <Size>
4 <AbsDimension x="30" y="30"/>
5 </Size>
6 <Anchors>
7 <Anchor point="BOTTOMLEFT">
8 <Offset>
9 <AbsDimension x="0" y="0"/>
10 </Offset>
11 </Anchor>
12 </Anchors>
13  
14 <NormalTexture file="Interface\AddOns\Tetris\texturen\leer">
15 <Size>
16 <AbsDimension x="30" y="30"/>
17 </Size>
18 </NormalTexture>
19 </Button>
20  
21 <Frame name="Tetris_GF" toplevel="true" hidden="true" movable="true" parent="UIParent">
22  
23 <Size>
24 <AbsDimension x="260" y="200" />
25 </Size>
26 <Anchors>
27 <Anchor point="CENTER"></Anchor>
28 </Anchors>
29  
30 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
31 <BackgroundInsets>
32 <AbsInset left="8" right="8" top="7" bottom="7" />
33 </BackgroundInsets>
34 <TileSize>
35 <AbsValue val="32" />
36 </TileSize>
37 <EdgeSize>
38 <AbsValue val="32" />
39 </EdgeSize>
40 </Backdrop>
41  
42 <Layers>
43 <Layer level="ARTWORK">
44 <FontString name="Tetris_GF_Text_Highscore" text="GF_Text_Highscore" inherits="ChatFontNormal" justifyV = "TOP" justifyH = "LEFT">
45 <Anchors>
46 <Anchor point="TOPLEFT">
47 <Offset>
48 <AbsDimension x="15" y="-15"/>
49 </Offset>
50 </Anchor>
51 </Anchors>
52 </FontString>
53 </Layer>
54 </Layers>
55  
56 <Frames>
57  
58 <Button name="Tetris_GF_b_pause" inherits="GameMenuButtonTemplate" text="GF_b_pause">
59 <Size>
60 <AbsDimension x="70" y="25"/>
61 </Size>
62 <Anchors>
63 <Anchor point="BOTTOMRIGHT">
64 <Offset>
65 <AbsDimension x="0" y="0"/>
66 </Offset>
67 </Anchor>
68 </Anchors>
69 <Scripts>
70 <OnClick>
71 Tetris_GF_Button_Click();
72 </OnClick>
73 </Scripts>
74 </Button>
75 <Button name="Tetris_GF_b_newgame" inherits="GameMenuButtonTemplate" text="GF_b_newgame">
76 <Size>
77 <AbsDimension x="70" y="25"/>
78 </Size>
79 <Anchors>
80 <Anchor point="BOTTOMRIGHT">
81 <Offset>
82 <AbsDimension x="0" y="0"/>
83 </Offset>
84 </Anchor>
85 </Anchors>
86 <Scripts>
87 <OnClick>
88 Tetris_GF_Button_Click();
89 </OnClick>
90 </Scripts>
91 </Button>
92 <Button name="Tetris_GF_b_close" inherits="GameMenuButtonTemplate" text="GF_b_close">
93 <Size>
94 <AbsDimension x="70" y="25"/>
95 </Size>
96 <Anchors>
97 <Anchor point="TOPRIGHT">
98 <Offset>
99 <AbsDimension x="-15" y="-15"/>
100 </Offset>
101 </Anchor>
102 </Anchors>
103 <Scripts>
104 <OnClick>
105 Tetris_GF_Button_Click();
106 </OnClick>
107 </Scripts>
108 </Button>
109  
110 <Frame name="Tetris_GF_BF" toplevel="true" hidden="false" movable="false">
111 <Size>
112 <AbsDimension x="160" y="120" />
113 </Size>
114 <Anchors>
115 <Anchor point="BOTTOMRIGHT">
116 <Offset>
117 <AbsDimension x="0" y="0"/>
118 </Offset>
119 </Anchor>
120 </Anchors>
121 <Backdrop bgFile="Interface\AddOns\Tetris\texturen\schwarz" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
122 <BackgroundInsets>
123 <AbsInset left="8" right="8" top="7" bottom="7" />
124 </BackgroundInsets>
125 <TileSize>
126 <AbsValue val="32" />
127 </TileSize>
128 <EdgeSize>
129 <AbsValue val="32" />
130 </EdgeSize>
131 </Backdrop>
132 <Frames>
133 <Button name="Tetris_GF_BF_l" inherits="GameMenuButtonTemplate" text="GF_BF_l">
134 <Size>
135 <AbsDimension x="60" y="30"/>
136 </Size>
137 <Anchors>
138 <Anchor point="CENTER">
139 <Offset>
140 <AbsDimension x="-30" y="0"/>
141 </Offset>
142 </Anchor>
143 </Anchors>
144 <Scripts>
145 <OnClick>
146 Tetris_GF_BF_Button_Click();
147 </OnClick>
148 </Scripts>
149 </Button>
150 <Button name="Tetris_GF_BF_r" inherits="GameMenuButtonTemplate" text="GF_BF_r">
151 <Size>
152 <AbsDimension x="60" y="30"/>
153 </Size>
154 <Anchors>
155 <Anchor point="CENTER">
156 <Offset>
157 <AbsDimension x="30" y="0"/>
158 </Offset>
159 </Anchor>
160 </Anchors>
161 <Scripts>
162 <OnClick>
163 Tetris_GF_BF_Button_Click();
164 </OnClick>
165 </Scripts>
166 </Button>
167 <Button name="Tetris_GF_BF_d" inherits="GameMenuButtonTemplate" text="GF_BF_d">
168 <Size>
169 <AbsDimension x="60" y="30"/>
170 </Size>
171 <Anchors>
172 <Anchor point="CENTER">
173 <Offset>
174 <AbsDimension x="0" y="-30"/>
175 </Offset>
176 </Anchor>
177 </Anchors>
178 <Scripts>
179 <OnClick>
180 Tetris_GF_BF_Button_Click();
181 </OnClick>
182 </Scripts>
183 </Button>
184 <Button name="Tetris_GF_BF_u" inherits="GameMenuButtonTemplate" text="GF_BF_u">
185 <Size>
186 <AbsDimension x="60" y="30"/>
187 </Size>
188 <Anchors>
189 <Anchor point="CENTER">
190 <Offset>
191 <AbsDimension x="0" y="30"/>
192 </Offset>
193 </Anchor>
194 </Anchors>
195 <Scripts>
196 <OnClick>
197 Tetris_GF_BF_Button_Click();
198 </OnClick>
199 </Scripts>
200 </Button>
201 </Frames>
202 </Frame>
203  
204 <Frame name="Tetris_GF_NS" toplevel="true" hidden="false" movable="false">
205 <Size>
206 <AbsDimension x="160" y="120" />
207 </Size>
208 <Anchors>
209 <Anchor point="TOPRIGHT">
210 <Offset>
211 <AbsDimension x="0" y="0"/>
212 </Offset>
213 </Anchor>
214 </Anchors>
215 <Backdrop bgFile="Interface\AddOns\Tetris\texturen\schwarz" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
216 <BackgroundInsets>
217 <AbsInset left="8" right="8" top="7" bottom="7" />
218 </BackgroundInsets>
219 <TileSize>
220 <AbsValue val="32" />
221 </TileSize>
222 <EdgeSize>
223 <AbsValue val="32" />
224 </EdgeSize>
225 </Backdrop>
226 <Frames>
227  
228 <Frame name="Tetris_GF_NS_Titel" toplevel="true" hidden="false" movable="false">
229 <Size>
230 <AbsDimension x="100" y="40" />
231 </Size>
232 <Anchors>
233 <Anchor point="TOP">
234 <Offset>
235 <AbsDimension x="0" y="12"/>
236 </Offset>
237 </Anchor>
238 </Anchors>
239 <Backdrop bgFile="Interface\AddOns\Tetris\texturen\schwarz" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
240 <BackgroundInsets>
241 <AbsInset left="8" right="8" top="7" bottom="7" />
242 </BackgroundInsets>
243 <TileSize>
244 <AbsValue val="32" />
245 </TileSize>
246 <EdgeSize>
247 <AbsValue val="32" />
248 </EdgeSize>
249 </Backdrop>
250 <Layers>
251 <Layer level="ARTWORK">
252 <FontString name="Tetris_GF_NS_Titeltext" text="GF_NS_Titeltext" inherits="GameFontNormal">
253 <Anchors>
254 <Anchor point="CENTER">
255 <Offset>
256 <AbsDimension x="0" y="0"/>
257 </Offset>
258 </Anchor>
259 </Anchors>
260 </FontString>
261 </Layer>
262 </Layers>
263 </Frame>
264  
265 <Button name="Tetris_NS_x1y1" inherits="Tetris_NS_Stone" hidden="true">
266 </Button>
267 <Button name="Tetris_NS_x2y1" inherits="Tetris_NS_Stone" hidden="true">
268 </Button>
269 <Button name="Tetris_NS_x3y1" inherits="Tetris_NS_Stone" hidden="true">
270 </Button>
271 <Button name="Tetris_NS_x4y1" inherits="Tetris_NS_Stone" hidden="true">
272 </Button>
273 <Button name="Tetris_NS_x1y2" inherits="Tetris_NS_Stone" hidden="true">
274 </Button>
275 <Button name="Tetris_NS_x2y2" inherits="Tetris_NS_Stone" hidden="true">
276 </Button>
277 <Button name="Tetris_NS_x3y2" inherits="Tetris_NS_Stone" hidden="true">
278 </Button>
279 <Button name="Tetris_NS_x4y2" inherits="Tetris_NS_Stone" hidden="true">
280 </Button>
281 <Button name="Tetris_NS_x1y3" inherits="Tetris_NS_Stone" hidden="true">
282 </Button>
283 <Button name="Tetris_NS_x2y3" inherits="Tetris_NS_Stone" hidden="true">
284 </Button>
285 <Button name="Tetris_NS_x3y3" inherits="Tetris_NS_Stone" hidden="true">
286 </Button>
287 <Button name="Tetris_NS_x4y3" inherits="Tetris_NS_Stone" hidden="true">
288 </Button>
289 </Frames>
290 </Frame>
291  
292 <Frame name="Tetris_GF_SF" toplevel="true" hidden="false" movable="false">
293 <Size>
294 <AbsDimension x="100" y="90" />
295 </Size>
296 <Anchors>
297 <Anchor point="RIGHT">
298 <Offset>
299 <AbsDimension x="0" y="0"/>
300 </Offset>
301 </Anchor>
302 </Anchors>
303 <Backdrop bgFile="Interface\AddOns\Tetris\texturen\schwarz" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
304 <BackgroundInsets>
305 <AbsInset left="8" right="8" top="7" bottom="7" />
306 </BackgroundInsets>
307 <TileSize>
308 <AbsValue val="32" />
309 </TileSize>
310 <EdgeSize>
311 <AbsValue val="32" />
312 </EdgeSize>
313 </Backdrop>
314 <Layers>
315 <Layer level="ARTWORK">
316 <FontString name="Tetris_GF_SF_Text_Score" text="GF_SF_Text_Score" inherits="ChatFontNormal">
317 <Anchors>
318 <Anchor point="CENTER">
319 <Offset>
320 <AbsDimension x="0" y="-4"/>
321 </Offset>
322 </Anchor>
323 </Anchors>
324 </FontString>
325 </Layer>
326 </Layers>
327 <Frames>
328 <Frame name="Tetris_GF_SF_Titel" toplevel="true" hidden="false" movable="false">
329 <Size>
330 <AbsDimension x="80" y="40" />
331 </Size>
332 <Anchors>
333 <Anchor point="TOP">
334 <Offset>
335 <AbsDimension x="0" y="12"/>
336 </Offset>
337 </Anchor>
338 </Anchors>
339 <Backdrop bgFile="Interface\AddOns\Tetris\texturen\schwarz" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
340 <BackgroundInsets>
341 <AbsInset left="8" right="8" top="7" bottom="7" />
342 </BackgroundInsets>
343 <TileSize>
344 <AbsValue val="32" />
345 </TileSize>
346 <EdgeSize>
347 <AbsValue val="32" />
348 </EdgeSize>
349 </Backdrop>
350 <Layers>
351 <Layer level="ARTWORK">
352 <FontString name="Tetris_GF_SF_Titeltext" text="GF_SF_Titeltext" inherits="GameFontNormal">
353 <Anchors>
354 <Anchor point="CENTER">
355 <Offset>
356 <AbsDimension x="0" y="0"/>
357 </Offset>
358 </Anchor>
359 </Anchors>
360 </FontString>
361 </Layer>
362 </Layers>
363 </Frame>
364 </Frames>
365 </Frame>
366  
367 <Frame name="Tetris_GF_Titel" toplevel="true" hidden="false" movable="false">
368 <Size>
369 <AbsDimension x="160" y="40" />
370 </Size>
371 <Anchors>
372 <Anchor point="TOP">
373 <Offset>
374 <AbsDimension x="0" y="12"/>
375 </Offset>
376 </Anchor>
377 </Anchors>
378 <Backdrop bgFile="Interface\AddOns\Tetris\texturen\schwarz" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
379 <BackgroundInsets>
380 <AbsInset left="8" right="8" top="7" bottom="7" />
381 </BackgroundInsets>
382 <TileSize>
383 <AbsValue val="32" />
384 </TileSize>
385 <EdgeSize>
386 <AbsValue val="32" />
387 </EdgeSize>
388 </Backdrop>
389 <Layers>
390 <Layer level="ARTWORK">
391 <FontString name="Tetris_GF_Titeltext" text="GF_Titeltext" inherits="GameFontNormal">
392 <Anchors>
393 <Anchor point="CENTER">
394 <Offset>
395 <AbsDimension x="0" y="0"/>
396 </Offset>
397 </Anchor>
398 </Anchors>
399 </FontString>
400 </Layer>
401 </Layers>
402 </Frame>
403  
404 </Frames>
405  
406 <Scripts>
407 <OnMouseDown>
408 if ( arg1 == "LeftButton" ) then
409 this:StartMoving();
410 end
411 </OnMouseDown>
412 <OnMouseUp>
413 if ( arg1 == "LeftButton" ) then
414 this:StopMovingOrSizing();
415 end
416 </OnMouseUp>
417 <OnLoad>
418 this:RegisterEvent("VARIABLES_LOADED");
419 </OnLoad>
420 <OnEvent>
421 --wenn alle variablen geladen sind, addon starten
422 if (event == "VARIABLES_LOADED") then
423 Tetris_Load ();
424 end
425 </OnEvent>
426 </Scripts>
427  
428 </Frame>
429 </Ui>