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/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/ C:ProjectsWoWBinInterfaceFrameXMLUI.xsd"> |
2 | |||
3 | <Frame name="Frame_GFW_FeedOMatic"> |
||
4 | <Scripts> |
||
5 | <OnLoad> |
||
6 | FOM_OnLoad(); |
||
7 | </OnLoad> |
||
8 | <OnEvent> |
||
9 | FOM_OnEvent(event, arg1); |
||
10 | </OnEvent> |
||
11 | <OnUpdate> |
||
12 | FOM_OnUpdate(arg1); |
||
13 | </OnUpdate> |
||
14 | </Scripts> |
||
15 | </Frame> |
||
16 | |||
17 | <GameTooltip name="FOMTooltip" frameStrata="TOOLTIP" hidden="true" parent="UIParent" inherits="GameTooltipTemplate"> |
||
18 | <Scripts> |
||
19 | <OnLoad> |
||
20 | this:SetOwner(UIParent, "ANCHOR_NONE"); |
||
21 | </OnLoad> |
||
22 | </Scripts> |
||
23 | </GameTooltip> |
||
24 | |||
25 | <CheckButton name="FOM_OptionsButtonTemplate" inherits="OptionsCheckButtonTemplate" virtual="true"> |
||
26 | <Size> |
||
27 | <AbsDimension x="26" y="26"/> |
||
28 | </Size> |
||
29 | <Scripts> |
||
30 | <OnClick> |
||
31 | FOM_OptionsClick(); |
||
32 | </OnClick> |
||
33 | </Scripts> |
||
34 | </CheckButton> |
||
35 | <CheckButton name="FOM_OptionsRadioButtonTemplate" inherits="FOM_OptionsButtonTemplate" virtual="true"> |
||
36 | <Size> |
||
37 | <AbsDimension x="16" y="16"/> |
||
38 | </Size> |
||
39 | <NormalTexture file="Interface\Buttons\UI-RadioButton"> |
||
40 | <TexCoords left="0" right="0.25" top="0" bottom="1"/> |
||
41 | </NormalTexture> |
||
42 | <HighlightTexture file="Interface\Buttons\UI-RadioButton" alphaMode="ADD"> |
||
43 | <TexCoords left="0.5" right="0.75" top="0" bottom="1"/> |
||
44 | </HighlightTexture> |
||
45 | <CheckedTexture file="Interface\Buttons\UI-RadioButton"> |
||
46 | <TexCoords left="0.25" right="0.5" top="0" bottom="1"/> |
||
47 | </CheckedTexture> |
||
48 | <Scripts> |
||
49 | <OnLoad> |
||
50 | local name = this:GetName(); |
||
51 | local text = getglobal(name.."Text"); |
||
52 | text:SetPoint("LEFT", this, "RIGHT", 4, 0); |
||
53 | </OnLoad> |
||
54 | </Scripts> |
||
55 | </CheckButton> |
||
56 | <Frame name="FOM_OptionsFrame" toplevel="true" frameStrata="DIALOG" movable="true" enableMouse="true" hidden="true" parent="UIParent"> |
||
57 | <Size> |
||
58 | <AbsDimension x="695" y="334"/> |
||
59 | </Size> |
||
60 | <Anchors> |
||
61 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
62 | <Offset> |
||
63 | <AbsDimension x="0" y="0"/> |
||
64 | </Offset> |
||
65 | </Anchor> |
||
66 | </Anchors> |
||
67 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> |
||
68 | <BackgroundInsets> |
||
69 | <AbsInset left="11" right="12" top="12" bottom="11"/> |
||
70 | </BackgroundInsets> |
||
71 | <TileSize> |
||
72 | <AbsValue val="32"/> |
||
73 | </TileSize> |
||
74 | <EdgeSize> |
||
75 | <AbsValue val="32"/> |
||
76 | </EdgeSize> |
||
77 | </Backdrop> |
||
78 | <Layers> |
||
79 | <Layer level="ARTWORK"> |
||
80 | <Texture name="FOM_OptionsFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header"> |
||
81 | <Size> |
||
82 | <AbsDimension x="320" y="64"/> |
||
83 | </Size> |
||
84 | <Anchors> |
||
85 | <Anchor point="TOP"> |
||
86 | <Offset> |
||
87 | <AbsDimension x="0" y="12"/> |
||
88 | </Offset> |
||
89 | </Anchor> |
||
90 | </Anchors> |
||
91 | </Texture> |
||
92 | <FontString inherits="GameFontNormal" text="FOM_OPTIONS_HEADER"> |
||
93 | <Anchors> |
||
94 | <Anchor point="TOP"> |
||
95 | <Offset> |
||
96 | <AbsDimension x="0" y="0"/> |
||
97 | </Offset> |
||
98 | </Anchor> |
||
99 | </Anchors> |
||
100 | </FontString> |
||
101 | <FontString name="FOM_VersionText" inherits="GameFontDisableSmall"> |
||
102 | <Anchors> |
||
103 | <Anchor point="TOPLEFT"> |
||
104 | <Offset> |
||
105 | <AbsDimension x="15" y="-15"/> |
||
106 | </Offset> |
||
107 | </Anchor> |
||
108 | </Anchors> |
||
109 | </FontString> |
||
110 | </Layer> |
||
111 | <Layer level="OVERLAY"> |
||
112 | <Texture name="$parentCorner" file="Interface\DialogFrame\UI-DialogBox-Corner"> |
||
113 | <Size> |
||
114 | <AbsDimension x="32" y="32"/> |
||
115 | </Size> |
||
116 | <Anchors> |
||
117 | <Anchor point="TOPRIGHT"> |
||
118 | <Offset> |
||
119 | <AbsDimension x="-6" y="-7"/> |
||
120 | </Offset> |
||
121 | </Anchor> |
||
122 | </Anchors> |
||
123 | </Texture> |
||
124 | </Layer> |
||
125 | </Layers> |
||
126 | <Frames> |
||
127 | |||
128 | <Frame name="FOM_Options_General" inherits="OptionFrameBoxTemplate"> |
||
129 | <Size> |
||
130 | <AbsDimension x="335" y="190"/> |
||
131 | </Size> |
||
132 | <Anchors> |
||
133 | <Anchor point="TOPLEFT" relativeTo="FOM_OptionsFrame" relativePoint="TOPLEFT"> |
||
134 | <Offset> |
||
135 | <AbsDimension x="13" y="-40"/> |
||
136 | </Offset> |
||
137 | </Anchor> |
||
138 | </Anchors> |
||
139 | <Layers> |
||
140 | <Layer level="ARTWORK"> |
||
141 | <FontString name="FOM_KeepOpenText1" inherits="GameFontNormalSmall" text="FOM_KEEPOPEN"> |
||
142 | <Anchors> |
||
143 | <Anchor point="BOTTOMLEFT"> |
||
144 | <Offset> |
||
145 | <AbsDimension x="10" y="40"/> |
||
146 | </Offset> |
||
147 | </Anchor> |
||
148 | </Anchors> |
||
149 | </FontString> |
||
150 | <FontString name="FOM_KeepOpenText2" inherits="GameFontNormalSmall" text="FOM_KEEPOPEN_SLOTS"> |
||
151 | <Anchors> |
||
152 | <Anchor point="LEFT" relativeTo="FOM_KeepOpenText1" relativePoint="RIGHT"> |
||
153 | <Offset> |
||
154 | <AbsDimension x="30" y="0"/> |
||
155 | </Offset> |
||
156 | </Anchor> |
||
157 | </Anchors> |
||
158 | </FontString> |
||
159 | <FontString name="FOM_KeepOpenText3" justifyH="LEFT" inherits="GameFontDisableSmall" text="FOM_KEEPOPEN_INFO"> |
||
160 | <Size> |
||
161 | <AbsDimension x="300" y="30"/> |
||
162 | </Size> |
||
163 | <Anchors> |
||
164 | <Anchor point="TOPLEFT" relativeTo="FOM_KeepOpenText1" relativePoint="BOTTOMLEFT"> |
||
165 | <Offset> |
||
166 | <AbsDimension x="20" y="-2"/> |
||
167 | </Offset> |
||
168 | </Anchor> |
||
169 | </Anchors> |
||
170 | </FontString> |
||
171 | </Layer> |
||
172 | </Layers> |
||
173 | <Frames> |
||
174 | <CheckButton name="FOM_OptionsButton_Tooltip" inherits="FOM_OptionsButtonTemplate"> |
||
175 | <Anchors> |
||
176 | <Anchor point="TOPLEFT"> |
||
177 | <Offset> |
||
178 | <AbsDimension x="5" y="-5"/> |
||
179 | </Offset> |
||
180 | </Anchor> |
||
181 | </Anchors> |
||
182 | </CheckButton> |
||
183 | <CheckButton name="FOM_OptionsButton_AvoidQuestFood" inherits="FOM_OptionsButtonTemplate"> |
||
184 | <Anchors> |
||
185 | <Anchor point="TOPLEFT" relativeTo="FOM_OptionsButton_Tooltip" relativePoint="BOTTOMLEFT"> |
||
186 | <Offset> |
||
187 | <AbsDimension x="0" y="0"/> |
||
188 | </Offset> |
||
189 | </Anchor> |
||
190 | </Anchors> |
||
191 | </CheckButton> |
||
192 | <CheckButton name="FOM_OptionsButton_AvoidBonusFood" inherits="FOM_OptionsButtonTemplate"> |
||
193 | <Anchors> |
||
194 | <Anchor point="TOPLEFT" relativeTo="FOM_OptionsButton_AvoidQuestFood" relativePoint="BOTTOMLEFT"> |
||
195 | <Offset> |
||
196 | <AbsDimension x="0" y="0"/> |
||
197 | </Offset> |
||
198 | </Anchor> |
||
199 | </Anchors> |
||
200 | </CheckButton> |
||
201 | <CheckButton name="FOM_OptionsButton_Fallback" inherits="FOM_OptionsButtonTemplate"> |
||
202 | <Anchors> |
||
203 | <Anchor point="TOPLEFT" relativeTo="FOM_OptionsButton_AvoidBonusFood" relativePoint="BOTTOMLEFT"> |
||
204 | <Offset> |
||
205 | <AbsDimension x="0" y="0"/> |
||
206 | </Offset> |
||
207 | </Anchor> |
||
208 | </Anchors> |
||
209 | </CheckButton> |
||
210 | <CheckButton name="FOM_OptionsButton_PreferHigherQuality" inherits="FOM_OptionsButtonTemplate"> |
||
211 | <Anchors> |
||
212 | <Anchor point="TOPLEFT" relativeTo="FOM_OptionsButton_Fallback" relativePoint="BOTTOMLEFT"> |
||
213 | <Offset> |
||
214 | <AbsDimension x="0" y="0"/> |
||
215 | </Offset> |
||
216 | </Anchor> |
||
217 | </Anchors> |
||
218 | </CheckButton> |
||
219 | <EditBox name="FOM_KeepOpenSlots" letters="2" numeric="true" autoFocus="false" inherits="InputBoxTemplate"> |
||
220 | <Size> |
||
221 | <AbsDimension x="20" y="16"/> |
||
222 | </Size> |
||
223 | <Anchors> |
||
224 | <Anchor point="LEFT" relativeTo="FOM_KeepOpenText1" relativePoint="RIGHT"> |
||
225 | <Offset> |
||
226 | <AbsDimension x="5" y="0"/> |
||
227 | </Offset> |
||
228 | </Anchor> |
||
229 | </Anchors> |
||
230 | <Scripts> |
||
231 | <OnTextChanged> |
||
232 | FOM_KeepOpenSlots_TextChanged(); |
||
233 | </OnTextChanged> |
||
234 | <OnTabPressed> |
||
235 | this:ClearFocus(); |
||
236 | </OnTabPressed> |
||
237 | <OnEnterPressed> |
||
238 | this:ClearFocus(); |
||
239 | </OnEnterPressed> |
||
240 | </Scripts> |
||
241 | <FontString inherits="ChatFontNormal"/> |
||
242 | </EditBox> |
||
243 | </Frames> |
||
244 | <Scripts> |
||
245 | <OnLoad> |
||
246 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
247 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
248 | getglobal(this:GetName().."Title"):SetText(FOM_OPTIONS_GENERAL); |
||
249 | </OnLoad> |
||
250 | </Scripts> |
||
251 | </Frame> |
||
252 | <Frame name="FOM_Options_FeedNotification" inherits="OptionFrameBoxTemplate"> |
||
253 | <Size> |
||
254 | <AbsDimension x="335" y="78"/> |
||
255 | </Size> |
||
256 | <Anchors> |
||
257 | <Anchor point="TOPLEFT" relativeTo="FOM_Options_General" relativePoint="BOTTOMLEFT"> |
||
258 | <Offset> |
||
259 | <AbsDimension x="0" y="-15"/> |
||
260 | </Offset> |
||
261 | </Anchor> |
||
262 | </Anchors> |
||
263 | <Frames> |
||
264 | <CheckButton name="FOM_OptionsButton_AlertEmote" inherits="FOM_OptionsRadioButtonTemplate"> |
||
265 | <Anchors> |
||
266 | <Anchor point="TOPLEFT"> |
||
267 | <Offset> |
||
268 | <AbsDimension x="10" y="-10"/> |
||
269 | </Offset> |
||
270 | </Anchor> |
||
271 | </Anchors> |
||
272 | </CheckButton> |
||
273 | <CheckButton name="FOM_OptionsButton_AlertChat" inherits="FOM_OptionsRadioButtonTemplate"> |
||
274 | <Anchors> |
||
275 | <Anchor point="TOPLEFT" relativeTo="FOM_OptionsButton_AlertEmote" relativePoint="BOTTOMLEFT"> |
||
276 | <Offset> |
||
277 | <AbsDimension x="0" y="-5"/> |
||
278 | </Offset> |
||
279 | </Anchor> |
||
280 | </Anchors> |
||
281 | </CheckButton> |
||
282 | <CheckButton name="FOM_OptionsButton_AlertNone" inherits="FOM_OptionsRadioButtonTemplate"> |
||
283 | <Anchors> |
||
284 | <Anchor point="TOPLEFT" relativeTo="FOM_OptionsButton_AlertChat" relativePoint="BOTTOMLEFT"> |
||
285 | <Offset> |
||
286 | <AbsDimension x="0" y="-5"/> |
||
287 | </Offset> |
||
288 | </Anchor> |
||
289 | </Anchors> |
||
290 | </CheckButton> |
||
291 | </Frames> |
||
292 | <Scripts> |
||
293 | <OnLoad> |
||
294 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
295 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
296 | getglobal(this:GetName().."Title"):SetText(FOM_OPTIONS_FEED_NOTIFY); |
||
297 | </OnLoad> |
||
298 | </Scripts> |
||
299 | </Frame> |
||
300 | <Frame name="FOM_Options_FeedWarning" inherits="OptionFrameBoxTemplate"> |
||
301 | <Size> |
||
302 | <AbsDimension x="335" y="148"/> |
||
303 | </Size> |
||
304 | <Anchors> |
||
305 | <Anchor point="TOPLEFT" relativeTo="FOM_Options_General" relativePoint="TOPRIGHT"> |
||
306 | <Offset> |
||
307 | <AbsDimension x="0" y="0"/> |
||
308 | </Offset> |
||
309 | </Anchor> |
||
310 | </Anchors> |
||
311 | <Layers> |
||
312 | <Layer level="ARTWORK"> |
||
313 | <Texture name="FOM_WarnLevelIcon_Content" file="Interface\PetPaperDollFrame\UI-PetHappiness" setAllPoints="true"> |
||
314 | <Size> |
||
315 | <AbsDimension x="24" y="23"/> |
||
316 | </Size> |
||
317 | <Anchors> |
||
318 | <Anchor point="TOPLEFT"> |
||
319 | <Offset> |
||
320 | <AbsDimension x="31" y="-11"/> |
||
321 | </Offset> |
||
322 | </Anchor> |
||
323 | </Anchors> |
||
324 | <TexCoords left="0.1875" right="0.375" top="0" bottom="0.359375"/> |
||
325 | </Texture> |
||
326 | <Texture name="FOM_WarnLevelIcon_Unhappy" file="Interface\PetPaperDollFrame\UI-PetHappiness" setAllPoints="true"> |
||
327 | <Size> |
||
328 | <AbsDimension x="24" y="23"/> |
||
329 | </Size> |
||
330 | <Anchors> |
||
331 | <Anchor point="TOPLEFT" relativeTo="FOM_WarnLevelIcon_Content" relativePoint="BOTTOMLEFT"> |
||
332 | <Offset> |
||
333 | <AbsDimension x="0" y="0"/> |
||
334 | </Offset> |
||
335 | </Anchor> |
||
336 | </Anchors> |
||
337 | <TexCoords left="0.375" right="0.5625" top="0" bottom="0.359375"/> |
||
338 | </Texture> |
||
339 | </Layer> |
||
340 | </Layers> |
||
341 | <Frames> |
||
342 | <CheckButton name="FOM_OptionsButton_LevelContent" inherits="FOM_OptionsRadioButtonTemplate"> |
||
343 | <Anchors> |
||
344 | <Anchor point="TOPLEFT"> |
||
345 | <Offset> |
||
346 | <AbsDimension x="15" y="-15"/> |
||
347 | </Offset> |
||
348 | </Anchor> |
||
349 | </Anchors> |
||
350 | <Scripts> |
||
351 | <OnLoad> |
||
352 | local name = this:GetName(); |
||
353 | local text = getglobal(name.."Text"); |
||
354 | text:SetPoint("LEFT", this, "RIGHT", 26, 0); |
||
355 | </OnLoad> |
||
356 | </Scripts> |
||
357 | </CheckButton> |
||
358 | <CheckButton name="FOM_OptionsButton_LevelUnhappy" inherits="FOM_OptionsRadioButtonTemplate"> |
||
359 | <Anchors> |
||
360 | <Anchor point="TOPLEFT" relativeTo="FOM_OptionsButton_LevelContent" relativePoint="BOTTOMLEFT"> |
||
361 | <Offset> |
||
362 | <AbsDimension x="0" y="-6"/> |
||
363 | </Offset> |
||
364 | </Anchor> |
||
365 | </Anchors> |
||
366 | <Scripts> |
||
367 | <OnLoad> |
||
368 | local name = this:GetName(); |
||
369 | local text = getglobal(name.."Text"); |
||
370 | text:SetPoint("LEFT", this, "RIGHT", 26, 0); |
||
371 | </OnLoad> |
||
372 | </Scripts> |
||
373 | </CheckButton> |
||
374 | <CheckButton name="FOM_OptionsButton_LevelOff" inherits="FOM_OptionsRadioButtonTemplate"> |
||
375 | <Anchors> |
||
376 | <Anchor point="TOPLEFT" relativeTo="FOM_OptionsButton_LevelUnhappy" relativePoint="BOTTOMLEFT"> |
||
377 | <Offset> |
||
378 | <AbsDimension x="0" y="-6"/> |
||
379 | </Offset> |
||
380 | </Anchor> |
||
381 | </Anchors> |
||
382 | </CheckButton> |
||
383 | <CheckButton name="FOM_OptionsButton_AudioWarning" inherits="FOM_OptionsButtonTemplate" frameLevel="2"> |
||
384 | <Anchors> |
||
385 | <Anchor point="TOPLEFT" relativeTo="FOM_OptionsButton_LevelOff" relativePoint="BOTTOMLEFT"> |
||
386 | <Offset> |
||
387 | <AbsDimension x="-5" y="-10"/> |
||
388 | </Offset> |
||
389 | </Anchor> |
||
390 | </Anchors> |
||
391 | </CheckButton> |
||
392 | <CheckButton name="FOM_OptionsButton_TextWarning" inherits="FOM_OptionsButtonTemplate" frameLevel="3"> |
||
393 | <Anchors> |
||
394 | <Anchor point="TOPLEFT" relativeTo="FOM_OptionsButton_AudioWarning" relativePoint="TOPRIGHT"> |
||
395 | <Offset> |
||
396 | <AbsDimension x="80" y="0"/> |
||
397 | </Offset> |
||
398 | </Anchor> |
||
399 | </Anchors> |
||
400 | </CheckButton> |
||
401 | <CheckButton name="FOM_OptionsButton_IconWarning" inherits="FOM_OptionsButtonTemplate" frameLevel="4"> |
||
402 | <Anchors> |
||
403 | <Anchor point="TOPLEFT" relativeTo="FOM_OptionsButton_TextWarning" relativePoint="TOPRIGHT"> |
||
404 | <Offset> |
||
405 | <AbsDimension x="80" y="0"/> |
||
406 | </Offset> |
||
407 | </Anchor> |
||
408 | </Anchors> |
||
409 | </CheckButton> |
||
410 | <CheckButton name="FOM_OptionsButton_AudioWarningBell" inherits="FOM_OptionsButtonTemplate"> |
||
411 | <Anchors> |
||
412 | <Anchor point="TOPLEFT" relativeTo="FOM_OptionsButton_AudioWarning" relativePoint="BOTTOMLEFT"> |
||
413 | <Offset> |
||
414 | <AbsDimension x="0" y="0"/> |
||
415 | </Offset> |
||
416 | </Anchor> |
||
417 | </Anchors> |
||
418 | </CheckButton> |
||
419 | </Frames> |
||
420 | <Scripts> |
||
421 | <OnLoad> |
||
422 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
423 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
424 | getglobal(this:GetName().."Title"):SetText(FOM_OPTIONS_WARNING); |
||
425 | </OnLoad> |
||
426 | </Scripts> |
||
427 | </Frame> |
||
428 | <Frame name="FOM_Options_FoodChoice" inherits="OptionFrameBoxTemplate"> |
||
429 | <Size> |
||
430 | <AbsDimension x="335" y="120"/> |
||
431 | </Size> |
||
432 | <Anchors> |
||
433 | <Anchor point="TOPLEFT" relativeTo="FOM_Options_FeedWarning" relativePoint="BOTTOMLEFT"> |
||
434 | <Offset> |
||
435 | <AbsDimension x="0" y="-15"/> |
||
436 | </Offset> |
||
437 | </Anchor> |
||
438 | </Anchors> |
||
439 | <Frames> |
||
440 | <CheckButton name="FOM_OptionsButton_SaveForCook_Orange" inherits="FOM_OptionsRadioButtonTemplate"> |
||
441 | <Anchors> |
||
442 | <Anchor point="TOPLEFT"> |
||
443 | <Offset> |
||
444 | <AbsDimension x="10" y="-10"/> |
||
445 | </Offset> |
||
446 | </Anchor> |
||
447 | </Anchors> |
||
448 | </CheckButton> |
||
449 | <CheckButton name="FOM_OptionsButton_SaveForCook_Yellow" inherits="FOM_OptionsRadioButtonTemplate"> |
||
450 | <Anchors> |
||
451 | <Anchor point="TOPLEFT" relativeTo="FOM_OptionsButton_SaveForCook_Orange" relativePoint="BOTTOMLEFT"> |
||
452 | <Offset> |
||
453 | <AbsDimension x="0" y="-5"/> |
||
454 | </Offset> |
||
455 | </Anchor> |
||
456 | </Anchors> |
||
457 | </CheckButton> |
||
458 | <CheckButton name="FOM_OptionsButton_SaveForCook_Green" inherits="FOM_OptionsRadioButtonTemplate"> |
||
459 | <Anchors> |
||
460 | <Anchor point="TOPLEFT" relativeTo="FOM_OptionsButton_SaveForCook_Yellow" relativePoint="BOTTOMLEFT"> |
||
461 | <Offset> |
||
462 | <AbsDimension x="0" y="-5"/> |
||
463 | </Offset> |
||
464 | </Anchor> |
||
465 | </Anchors> |
||
466 | </CheckButton> |
||
467 | <CheckButton name="FOM_OptionsButton_SaveForCook_All" inherits="FOM_OptionsRadioButtonTemplate"> |
||
468 | <Anchors> |
||
469 | <Anchor point="TOPLEFT" relativeTo="FOM_OptionsButton_SaveForCook_Green" relativePoint="BOTTOMLEFT"> |
||
470 | <Offset> |
||
471 | <AbsDimension x="0" y="-5"/> |
||
472 | </Offset> |
||
473 | </Anchor> |
||
474 | </Anchors> |
||
475 | </CheckButton> |
||
476 | <CheckButton name="FOM_OptionsButton_SaveForCook_None" inherits="FOM_OptionsRadioButtonTemplate"> |
||
477 | <Anchors> |
||
478 | <Anchor point="TOPLEFT" relativeTo="FOM_OptionsButton_SaveForCook_All" relativePoint="BOTTOMLEFT"> |
||
479 | <Offset> |
||
480 | <AbsDimension x="0" y="-5"/> |
||
481 | </Offset> |
||
482 | </Anchor> |
||
483 | </Anchors> |
||
484 | </CheckButton> |
||
485 | </Frames> |
||
486 | <Scripts> |
||
487 | <OnLoad> |
||
488 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
489 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
490 | getglobal(this:GetName().."Title"):SetText(FOM_OPTIONS_FOOD_CHOICE); |
||
491 | </OnLoad> |
||
492 | </Scripts> |
||
493 | </Frame> |
||
494 | |||
495 | <Button inherits="UIPanelCloseButton"> |
||
496 | <Anchors> |
||
497 | <Anchor point="TOPRIGHT" relativeTo="$parentCorner" relativePoint="TOPRIGHT"> |
||
498 | <Offset> |
||
499 | <AbsDimension x="5" y="5"/> |
||
500 | </Offset> |
||
501 | </Anchor> |
||
502 | </Anchors> |
||
503 | </Button> |
||
504 | |||
505 | </Frames> |
||
506 | |||
507 | <Scripts> |
||
508 | <OnShow> |
||
509 | PlaySound("igMainMenuOpen"); |
||
510 | FOM_OptionsShow(); |
||
511 | </OnShow> |
||
512 | <OnHide> |
||
513 | PlaySound("igMainMenuClose"); |
||
514 | </OnHide> |
||
515 | </Scripts> |
||
516 | |||
517 | </Frame> |
||
518 | |||
519 | |||
520 | </Ui> |