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/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
2 C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
3 <Script file="ZepShipMaster.lua"/>
4 <Script file="data.lua"/>
5 <Script file="data.de.lua"/>
6 <Script file="data.kr.lua"/>
7 <CheckButton name="ZSMCheckButtonTemplate" virtual="true">
8  
9 <Size>
10 <AbsDimension x="25" y="25"/>
11 </Size>
12 <Layers>
13 <Layer level="ARTWORK">
14 <FontString inherits="GameFontNormalSmall" name="$parentText">
15 <Anchors>
16 <Anchor point="LEFT" relativePoint="RIGHT">
17 <Offset>
18 <AbsDimension x="-2" y="2"/>
19 </Offset>
20 </Anchor>
21 </Anchors>
22 </FontString>
23 </Layer>
24 </Layers>
25 <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
26 <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
27 <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
28 <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
29 <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
30 </CheckButton>
31 <Frame name="ZSMHeaderFrame" frameStrata="BACKGROUND" enableMouse="true" movable="true" parent="UIParent">
32 <Size>
33 <AbsDimension x="170" y="24"/>
34 </Size>
35 <Anchors>
36 <Anchor point="CENTER"/>
37 </Anchors>
38 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
39 <BackgroundInsets>
40 <AbsInset left="3" right="4" top="5" bottom="5"/>
41 </BackgroundInsets>
42 <TileSize>
43 <AbsValue val="16"/>
44 </TileSize>
45 <EdgeSize>
46 <AbsValue val="16"/>
47 </EdgeSize>
48 </Backdrop>
49 <Layers>
50 <Layer level="MEDIUM">
51 <FontString name="$parentAddonName" inherits="GameFontNormal" text="Zeppelin Master" justifyH="LEFT">
52 <Size>
53 <AbsDimension x="200" y="18"/>
54 </Size>
55 <Anchors>
56 <Anchor point="CENTER">
57 <Offset>
58 <AbsDimension x="25" y="1"/>
59 </Offset>
60 </Anchor>
61 </Anchors>
62 </FontString>
63 </Layer>
64 </Layers>
65 <Frames>
66 <Button name="$parentCloseButton" inherits="UIPanelButtonTemplate">
67 <Size>
68 <AbsDimension x="10" y="16"/>
69 </Size>
70 <Anchors>
71 <Anchor point="RIGHT" relativePoint="RIGHT">
72 <Offset>
73 <AbsDimension x="-6" y="0"/>
74 </Offset>
75 </Anchor>
76 </Anchors>
77 <Scripts>
78 <OnLoad>
79 this:SetText("X");
80 </OnLoad>
81 <OnClick>
82 ZSM_Close_OnClick();
83 </OnClick>
84 </Scripts>
85 </Button>
86 <Button name="$parentMinimizeButton" inherits="UIPanelButtonTemplate">
87 <Size>
88 <AbsDimension x="10" y="16"/>
89 </Size>
90 <Anchors>
91 <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentCloseButton">
92 <Offset>
93 <AbsDimension x="0" y="0"/>
94 </Offset>
95 </Anchor>
96 </Anchors>
97 <Scripts>
98 <OnLoad>
99 this:SetText("^");
100 </OnLoad>
101 <OnClick>
102 ZSM_Minimize_OnClick();
103 </OnClick>
104 </Scripts>
105 </Button>
106 <Button name="$parentOptionsButton" inherits="UIPanelButtonTemplate">
107 <Size>
108 <AbsDimension x="10" y="16"/>
109 </Size>
110 <Anchors>
111 <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentMinimizeButton">
112 <Offset>
113 <AbsDimension x="0" y="0"/>
114 </Offset>
115 </Anchor>
116 </Anchors>
117 <Scripts>
118 <OnLoad>
119 this:SetText("!");
120 </OnLoad>
121 <OnClick>
122 ZSM_Options_OnClick();
123 </OnClick>
124 </Scripts>
125 </Button>
126 </Frames>
127 <Scripts>
128 <OnLoad>
129 this:SetBackdropColor(103/255,2/255, 6/255, 1);
130 this:SetBackdropBorderColor(1, 0, 0, 0.5);
131 </OnLoad>
132 <OnMouseUp>
133 if ( this.isMoving ) then
134 this:StopMovingOrSizing(); this.isMoving = false;
135 end
136 </OnMouseUp>
137 <OnMouseDown>
138 if ( ( ( not this.isLocked ) or ( this.isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then
139 this:StartMoving(); this.isMoving = true;
140 end
141 </OnMouseDown>
142 </Scripts>
143 </Frame>
144  
145  
146 <Frame name="ZSMFrame" frameStrata="BACKGROUND" enableMouse="true" parent="ZSMHeaderFrame" hidden="true">
147 <Size>
148 <AbsDimension x="210" y="95"/>
149 </Size>
150 <Anchors>
151 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="ZSMHeaderFrame">
152 <Offset>
153 <AbsDimension x="0" y="5"/>
154 </Offset>
155 </Anchor>
156 </Anchors>
157 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
158 <BackgroundInsets>
159 <AbsInset left="3" right="4" top="5" bottom="5"/>
160 </BackgroundInsets>
161 <TileSize>
162 <AbsValue val="16"/>
163 </TileSize>
164 <EdgeSize>
165 <AbsValue val="16"/>
166 </EdgeSize>
167 </Backdrop>
168 <Layers>
169 <Layer level="MEDIUM">
170 <FontString name="$parentPlat1Name" inherits="GameFontNormal" text="-- Unknown --" justifyH="CENTER">
171 <Size>
172 <AbsDimension x="100" y="18"/>
173 </Size>
174 <Anchors>
175 <Anchor point="TOPLEFT">
176 <Offset>
177 <AbsDimension x="9" y="-10"/>
178 </Offset>
179 </Anchor>
180 </Anchors>
181 </FontString>
182 <FontString name="$parentPlat2Name" inherits="GameFontNormal" text="-- Unknown --" justifyH="CENTER">
183 <Size>
184 <AbsDimension x="100" y="18"/>
185 </Size>
186 <Anchors>
187 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentPlat1Name">
188 <Offset>
189 <AbsDimension x="-10" y="0"/>
190 </Offset>
191 </Anchor>
192 </Anchors>
193 </FontString>
194 <FontString name="$parentPlat1ArrivalDepature" inherits="GameFontNormal" text="-- Unknown --" justifyH="CENTER">
195 <Size>
196 <AbsDimension x="100" y="18"/>
197 </Size>
198 <Anchors>
199 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentPlat1Name">
200 <Offset>
201 <AbsDimension x="0" y="0"/>
202 </Offset>
203 </Anchor>
204 </Anchors>
205 </FontString>
206 <FontString name="$parentPlat2ArrivalDepature" inherits="GameFontNormal" text="-- Unknown --" justifyH="CENTER">
207 <Size>
208 <AbsDimension x="100" y="18"/>
209 </Size>
210 <Anchors>
211 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentPlat2Name">
212 <Offset>
213 <AbsDimension x="0" y="0"/>
214 </Offset>
215 </Anchor>
216 </Anchors>
217 </FontString>
218  
219 </Layer>
220 </Layers>
221 <Frames>
222 <Button name="$parentTransportSelect" inherits="UIDropDownMenuTemplate">
223 <Anchors>
224 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parentPlat1ArrivalDepature">
225 <Offset>
226 <AbsDimension x="-4" y="-22"/>
227 </Offset>
228 </Anchor>
229 </Anchors>
230 <Scripts>
231 <OnShow>
232 ZSM_TransportSelect_OnShow();
233 </OnShow>
234 </Scripts>
235 </Button>
236 </Frames>
237 <Scripts>
238 <OnLoad>
239 this:SetBackdropColor(1,0, 0, 0.3);
240 this:SetBackdropBorderColor(1, 0, 0, 0.5);
241 </OnLoad>
242 </Scripts>
243 </Frame>
244 <Frame name="ZSMOptionsFrame" frameStrata="HIGH" enableMouse="true" movable="true" parent="ZSMHeaderFrame" hidden="true">
245 <Size>
246 <AbsDimension x="410" y="140"/>
247 </Size>
248 <Anchors>
249 <Anchor point="CENTER"/>
250 </Anchors>
251 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
252 <BackgroundInsets>
253 <AbsInset left="11" right="12" top="12" bottom="11"/>
254 </BackgroundInsets>
255 <TileSize>
256 <AbsValue val="32"/>
257 </TileSize>
258 <EdgeSize>
259 <AbsValue val="32"/>
260 </EdgeSize>
261 </Backdrop>
262 <Layers>
263 <Layer level="MEDIUM">
264 <FontString name="$parentOptionsTitle" inherits="GameFontNormal" text="ZM Options" justifyH="Left">
265 <Size>
266 <AbsDimension x="200" y="18"/>
267 </Size>
268 <Anchors>
269 <Anchor point="TOPLEFT">
270 <Offset>
271 <AbsDimension x="9" y="10"/>
272 </Offset>
273 </Anchor>
274 </Anchors>
275 </FontString>
276 <FontString name="$parentCredit" inherits="GameFontNormal" text="(Idea + Beta Testing by Xula) ZM by Sammysnake" justifyH="Right">
277 <Size>
278 <AbsDimension x="280" y="18"/>
279 </Size>
280 <Anchors>
281 <Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT">
282 <Offset>
283 <AbsDimension x="-9" y="10"/>
284 </Offset>
285 </Anchor>
286 </Anchors>
287 </FontString>
288 </Layer>
289 </Layers>
290 <Frames>
291 <CheckButton name="$parentOptZoneGUI" inherits="ZSMCheckButtonTemplate">
292 <Anchors>
293 <Anchor point="LEFT" relativePoint="TOPLEFT">
294 <Offset>
295 <AbsDimension x="15" y="-30"/>
296 </Offset>
297 </Anchor>
298 </Anchors>
299 <Scripts>
300 <OnLoad>
301 getglobal(this:GetName().."Text"):SetText(ZSM_STR_OPT_ZONEGUI);
302 </OnLoad>
303 <!-- <OnClick> DKPSystemButton_Toggle(); </OnClick> -->
304 </Scripts>
305 </CheckButton>
306 <CheckButton name="$parentOptFactionSpecific" inherits="ZSMCheckButtonTemplate">
307 <Anchors>
308 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentOptZoneGUI">
309 <Offset>
310 <AbsDimension x="0" y="3"/>
311 </Offset>
312 </Anchor>
313 </Anchors>
314 <Scripts>
315 <OnLoad>
316 getglobal(this:GetName().."Text"):SetText(ZSM_STR_OPT_FACTION);
317 </OnLoad>
318 <!-- <OnClick> DKPSystemButton_Toggle(); </OnClick> -->
319 </Scripts>
320 </CheckButton>
321 <CheckButton name="$parentOptZoneSpecific" inherits="ZSMCheckButtonTemplate">
322 <Anchors>
323 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentOptFactionSpecific">
324 <Offset>
325 <AbsDimension x="0" y="3"/>
326 </Offset>
327 </Anchor>
328 </Anchors>
329 <Scripts>
330 <OnLoad>
331 getglobal(this:GetName().."Text"):SetText(ZSM_STR_OPT_ZONE);
332 </OnLoad>
333 <!-- <OnClick> DKPSystemButton_Toggle(); </OnClick> -->
334 </Scripts>
335 </CheckButton>
336 <CheckButton name="$parentOptCityAlias" inherits="ZSMCheckButtonTemplate">
337 <Anchors>
338 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentOptZoneSpecific">
339 <Offset>
340 <AbsDimension x="0" y="3"/>
341 </Offset>
342 </Anchor>
343 </Anchors>
344 <Scripts>
345 <OnLoad>
346 getglobal(this:GetName().."Text"):SetText(ZSM_STR_OPT_ALIAS);
347 </OnLoad>
348 <!-- <OnClick> DKPSystemButton_Toggle(); </OnClick> -->
349 </Scripts>
350 </CheckButton>
351 <Button name="$parentSaveOptionsButton" inherits="UIPanelButtonTemplate">
352 <Size>
353 <AbsDimension x="50" y="20"/>
354 </Size>
355 <Anchors>
356 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT">
357 <Offset>
358 <AbsDimension x="18" y="15"/>
359 </Offset>
360 </Anchor>
361 </Anchors>
362 <Scripts>
363 <OnLoad>
364 this:SetText(ZSM_STR_SAVE);
365 </OnLoad>
366 <OnClick>
367 ZSM_OptionsSave_OnClick();
368 </OnClick>
369 </Scripts>
370 </Button>
371 <Button name="$parentCloseOptionsButton" inherits="UIPanelButtonTemplate">
372 <Size>
373 <AbsDimension x="50" y="20"/>
374 </Size>
375 <Anchors>
376 <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentSaveOptionsButton">
377 <Offset>
378 <AbsDimension x="4" y="0"/>
379 </Offset>
380 </Anchor>
381 </Anchors>
382 <Scripts>
383 <OnLoad>
384 this:SetText(ZSM_STR_CLOSE);
385 </OnLoad>
386 <OnClick>
387 ZSM_OptionsClose_OnClick();
388 </OnClick>
389 </Scripts>
390 </Button>
391 </Frames>
392 <Scripts>
393 <OnMouseUp>
394 if ( this.isMoving ) then
395 this:StopMovingOrSizing(); this.isMoving = false;
396 end
397 </OnMouseUp>
398 <OnMouseDown>
399 if ( ( ( not this.isLocked ) or ( this.isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then
400 this:StartMoving(); this.isMoving = true;
401 end
402 </OnMouseDown>
403 </Scripts>
404 </Frame>
405 <Frame name="ZSMDataTrackerFrame" frameStrata="BACKGROUND" parent="UIParent">
406 <Size>
407 <AbsDimension x="0" y="0"/>
408 </Size>
409 <Anchors>
410 <Anchor point="CENTER"/>
411 </Anchors>
412  
413 <Scripts>
414 <OnLoad>
415 ZSM_OnLoad();
416 </OnLoad>
417 <OnEvent>
418 ZSM_OnEvent( event );
419 </OnEvent>
420 <OnUpdate>
421 ZSM_OnUpdate( arg1 );
422 </OnUpdate>
423 </Scripts>
424 </Frame>
425 </Ui>