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"
2 xsi:schemaLocation="http://www.blizzard.com/wow/ui/">
3  
4 <Script file="MI2_Config.lua" />
5  
6 <!-- ============================================================ -->
7 <!-- Template for one line of the search result scroll list -->
8 <Button name="MI2_SearchResultLineTemplate" virtual="true">
9 <Size> <AbsDimension x="360" y="14"/> </Size>
10 <Layers>
11 <Layer level="BACKGROUND">
12 <Texture name="$parentHighlight" file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD" setAllPoints="true" hidden="true"/>
13 </Layer>
14 <Layer level="ARTWORK">
15 <FontString name="$parentIndex" inherits="GameFontNormalSmall" justifyH="RIGHT">
16 <Size> <AbsDimension x="30" y="12"/> </Size>
17 <Anchors>
18 <Anchor point="LEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor>
19 </Anchors>
20 </FontString>
21 <FontString name="$parentValue" inherits="GameFontNormalSmall" justifyH="RIGHT">
22 <Size> <AbsDimension x="70" y="12"/> </Size>
23 <Anchors>
24 <Anchor point="LEFT"> <Offset> <AbsDimension x="35" y="0"/> </Offset> </Anchor>
25 </Anchors>
26 </FontString>
27 <FontString name="$parentName" inherits="GameFontNormalSmall" justifyH="LEFT">
28 <Size> <AbsDimension x="250" y="12"/> </Size>
29 <Anchors>
30 <Anchor point="LEFT"> <Offset> <AbsDimension x="115" y="0"/> </Offset> </Anchor>
31 </Anchors>
32 </FontString>
33 </Layer>
34 </Layers>
35 <Scripts>
36 <OnEnter> getglobal(this:GetName().."Highlight"):Show(); MI2_ShowSearchResultTooltip(); </OnEnter>
37 <OnLeave> getglobal(this:GetName().."Highlight"):Hide(); GameTooltip:Hide(); </OnLeave>
38 </Scripts>
39 <NormalText name="$parentNormalText" inherits="GameFontNormalSmall" justifyH="LEFT"/>
40 </Button>
41  
42 <!-- ============================================================ -->
43 <!-- Template for frame around option groups + title above frame -->
44 <Frame name="MI2_OptionsFrameTemplate" inherits="OptionFrameBoxTemplate" virtual="true">
45 <Scripts>
46 <OnLoad>
47 this:SetBackdropBorderColor(0.4, 0.4, 0.4);
48 this:SetBackdropColor(0.15, 0.15, 0.15);
49 getglobal(this:GetName().."Title"):SetText(MI2_FRAME_TEXTS[this:GetName()]);
50 </OnLoad>
51 </Scripts>
52 </Frame>
53  
54 <!-- ============================================================ -->
55 <!-- Template for all checkboxes used in options dialog -->
56 <!-- defines size, text and all otherevent related actions -->
57 <CheckButton name="MI2_CheckboxTemplate" inherits="UICheckButtonTemplate" virtual="true">
58 <Size> <AbsDimension x="24" y="24" /> </Size>
59 <HitRectInsets> <AbsInset left="0" right="-50" top="0" bottom="0"/> </HitRectInsets>
60 <Scripts>
61 <OnLoad> getglobal(this:GetName().."Text"):SetText(MI2_OPTIONS[this:GetName()].text); </OnLoad>
62 <OnClick> MI2_SlashParse( this:GetName(), false); </OnClick>
63 <OnEnter> MI2_ShowOptionHelpTooltip(); </OnEnter>
64 <OnLeave> GameTooltip:Hide(); </OnLeave>
65 </Scripts>
66 </CheckButton>
67  
68 <!-- ============================================================== -->
69 <!-- Template for all search options checkboxes -->
70 <CheckButton name="MI2_SearchCheckboxTemplate" inherits="UICheckButtonTemplate" virtual="true">
71 <Size> <AbsDimension x="24" y="24" /> </Size>
72 <HitRectInsets> <AbsInset left="0" right="-40" top="0" bottom="0"/> </HitRectInsets>
73 <Scripts>
74 <OnLoad> getglobal(this:GetName().."Text"):SetText(MI2_OPTIONS[this:GetName()].text); </OnLoad>
75 <OnClick> MI2_SearchCheckboxClicked(); </OnClick>
76 <OnEnter> MI2_ShowOptionHelpTooltip(); </OnEnter>
77 <OnLeave> GameTooltip:Hide(); </OnLeave>
78 </Scripts>
79 </CheckButton>
80  
81 <!-- ============================================================ -->
82 <!-- Template for all push buttons options dialog -->
83 <!-- defines text and all other event related actions -->
84 <Button name="MI2_PushButtonTemplate" inherits="OptionsButtonTemplate" virtual="true">
85 <Scripts>
86 <OnLoad> getglobal(this:GetName()):SetText(MI2_OPTIONS[this:GetName()].text) </OnLoad>
87 <OnClick> MI2_SlashParse(this:GetName(), false) </OnClick>
88 <OnEnter> MI2_ShowOptionHelpTooltip() </OnEnter>
89 <OnLeave> GameTooltip:Hide() </OnLeave>
90 </Scripts>
91 </Button>
92  
93 <!-- ============================================================ -->
94 <!-- Template for all sliders in options dialog -->
95 <!-- defines text and all other event related actions -->
96 <Slider name="MI2_SliderTemplate" inherits="OptionsSliderTemplate" virtual="true">
97 <Layers>
98 <Layer level="ARTWORK">
99 <FontString name="$parentValueText" inherits="GameFontNormalSmall">
100 <Anchors>
101 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
102 <Offset> <AbsDimension x="2" y="-4"/> </Offset>
103 </Anchor>
104 </Anchors>
105 </FontString>
106 </Layer>
107 </Layers>
108 <Scripts>
109 <OnLoad>
110 getglobal(this:GetName().."Text"):SetText(MI2_OPTIONS[this:GetName()].text);
111 getglobal(this:GetName().."Low"):Hide();
112 getglobal(this:GetName().."High"):Hide();
113 this:SetValueStep( 1 );
114 MI2_OPTIONS[this:GetName()].val = 1
115 </OnLoad>
116 <OnEnter> MI2_ShowOptionHelpTooltip(); </OnEnter>
117 <OnLeave> GameTooltip:Hide(); </OnLeave>
118 <OnValueChanged>
119 MI2_SlashParse(this:GetName().." "..math.floor(this:GetValue()), false)
120 local valTxtFrame = getglobal( this:GetName().."ValueText" )
121 valTxtFrame:SetText( tostring(math.floor(this:GetValue())) )
122 </OnValueChanged>
123 </Scripts>
124 </Slider>
125  
126 <Button name="MI2_DropDownTemplate" inherits="UIDropDownMenuTemplate" virtual="true">
127 <Layers>
128 <Layer level="BACKGROUND">
129 <FontString name="$parentTitle" inherits="GameFontNormalSmall" text="Font">
130 <Anchors>
131 <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT">
132 <Offset> <AbsDimension x="20" y="0"/> </Offset>
133 </Anchor>
134 </Anchors>
135 </FontString>
136 </Layer>
137 </Layers>
138 <Scripts>
139 <OnLoad>
140 UIDropDownMenu_SetWidth( 120 )
141 getglobal(this:GetName().."Title"):SetText( MI2_OPTIONS[this:GetName()].text )
142 UIDropDownMenu_Initialize( this, MI2_DropDown_Initialize )
143 MI2_OPTIONS[this:GetName()].dd = 1
144 </OnLoad>
145 <OnShow> MI2_DropDown_OnShow() </OnShow>
146 <OnEnter> MI2_ShowOptionHelpTooltip() </OnEnter>
147 <OnLeave> GameTooltip:Hide() </OnLeave>
148 </Scripts>
149 </Button>
150  
151 <!-- ============================================================ -->
152 <!-- Template for value edit boxes in search options dialog -->
153 <!-- the edit box is prefixed with a description text -->
154 <EditBox name="MI2_EditBox_Template" autoFocus="false" inherits="InputBoxTemplate" virtual="true">
155 <Size> <AbsDimension x="30" y="24"/> </Size>
156 <Layers>
157 <Layer level="BACKGROUND">
158 <FontString name="$parentDesc" inherits="GameFontNormalSmall" justifyH="RIGHT">
159 <Anchors> <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT">
160 <Offset> <AbsDimension x="-10" y="5"/> </Offset>
161 </Anchor> </Anchors>
162 </FontString>
163 </Layer>
164 </Layers>
165 <Scripts>
166 <OnEnterPressed> this:ClearFocus(); </OnEnterPressed>
167 <OnEscapePressed> this:ClearFocus(); </OnEscapePressed>
168 <OnLoad> getglobal(this:GetName().."Desc"):SetText(MI2_OPTIONS[this:GetName()].text); </OnLoad>
169 <OnEnter> MI2_ShowOptionHelpTooltip(); </OnEnter>
170 <OnLeave> GameTooltip:Hide(); </OnLeave>
171 </Scripts>
172 </EditBox>
173  
174 <!-- ============================================================ -->
175 <!-- Template for value edit boxes in search options dialog -->
176 <!-- the edit box is prefixed with a description text -->
177 <EditBox name="MI2_ValueEditBox_Template" letters="2" numeric="true" inherits="MI2_EditBox_Template" virtual="true">
178 <Scripts>
179 <OnTextChanged> MI2_SearchValueChanged(); </OnTextChanged>
180 </Scripts>
181 </EditBox>
182  
183 <!-- ============================================================ -->
184 <!-- Template for text edit boxes in search options dialog -->
185 <!-- the edit box is prefixed with a description text -->
186 <EditBox name="MI2_TextEditBox_Template" letters="28" inherits="MI2_EditBox_Template" virtual="true">
187 <Size> <AbsDimension x="135" y="24"/> </Size>
188 <Scripts>
189 <OnTextChanged> MI2_SearchTextChanged() </OnTextChanged>
190 </Scripts>
191 </EditBox>
192  
193 <!-- ============================================================ -->
194 <!-- Template for text edit boxes in options dialog -->
195 <!-- the edit box is prefixed with a description text -->
196 <EditBox name="MI2_OptionsEditBox_Template" letters="28" inherits="MI2_EditBox_Template" virtual="true">
197 <Scripts>
198 <OnLoad>
199 getglobal(this:GetName().."Desc"):ClearAllPoints()
200 getglobal(this:GetName().."Desc"):SetPoint( "TOPLEFT", 0, 10 )
201 getglobal(this:GetName().."Desc"):SetText(MI2_OPTIONS[this:GetName()].text)
202 MI2_OPTIONS[this:GetName()].txt = 1
203 </OnLoad>
204 <OnTextChanged> MI2_SlashParse(this:GetName().." "..this:GetText(), false) </OnTextChanged>
205 </Scripts>
206 </EditBox>
207  
208 <!-- ============================================================ -->
209 <!-- Template for TAB button in the options dialog -->
210 <!-- TAB buttons select the options page to display -->
211 <Button name="MI2_TabButtonTemplate" inherits="TabButtonTemplate" virtual="true">
212 <Scripts>
213 <OnClick> MI2_TabButton_OnClick( this:GetName() ); </OnClick>
214 <OnEnter> MI2_ShowOptionHelpTooltip(); </OnEnter>
215 <OnLeave> GameTooltip:Hide(); </OnLeave>
216 <OnLoad>
217 getglobal(this:GetName()):SetText(MI2_OPTIONS[this:GetName()].text);
218 PanelTemplates_TabResize(0);
219 </OnLoad>
220 </Scripts>
221 </Button>
222  
223 <!-- ============================================================ -->
224 <!-- ============================================================ -->
225 <!-- MobInfo-2 Options Dialog Box -->
226 <!-- ============================================================ -->
227 <Frame name="frmMIConfig" parent="UIParent" enableMouse="true" movable="true" frameStrata="DIALOG"
228 hidden="true" toplevel="true">
229  
230 <!-- dialog size & position -->
231 <Size> <AbsDimension x="480" y="520" /> </Size>
232 <Anchors> <Anchor point="CENTER" /> </Anchors>
233  
234 <!-- dialog box background -->
235 <Backdrop name="bdMI" bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border"
236 tile="true">
237 <BackgroundInsets>
238 <AbsInset left="11" right="12" top="12" bottom="11" />
239 <Size> <AbsDimension x="128" y="17" /> </Size>
240 </BackgroundInsets>
241 <TileSize> <AbsValue val="32" /> </TileSize>
242 <EdgeSize> <AbsValue val="32" /> </EdgeSize>
243 </Backdrop>
244  
245 <!-- ======================================================== -->
246 <!-- dialog box title -->
247 <Layers>
248 <Layer level="ARTWORK">
249 <Texture file="Interface\DialogFrame\UI-DialogBox-Header">
250 <Size> <AbsDimension x="320" y="64" /> </Size>
251 <Anchors>
252 <Anchor point="TOP">
253 <Offset> <AbsDimension x="0" y="12" /> </Offset>
254 </Anchor>
255 </Anchors>
256 </Texture>
257 <FontString name="txtMIConfigTitle" inherits="GameFontNormal">
258 <Anchors>
259 <Anchor point="TOP" relativeTo="frmMIConfig">
260 <Offset> <AbsDimension x="0" y="-2" /> </Offset>
261 </Anchor>
262 </Anchors>
263 </FontString>
264 </Layer>
265 </Layers>
266  
267 <Frames>
268 <!-- ==================================================== -->
269 <!-- inner main options frame with tabs and subframes -->
270 <Frame name="MI2_MainOptionsFrame" inherits="MI2_OptionsFrameTemplate">
271 <Size> <AbsDimension x="448" y="420" /> </Size>
272 <Anchors>
273 <Anchor point="TOPLEFT">
274 <Offset> <AbsDimension x="15" y="-50" /> </Offset>
275 </Anchor>
276 </Anchors>
277  
278 <Frames>
279 <!-- ================================================ -->
280 <!-- TAB buttons controlling subframe show/hide -->
281 <Button name="$parentTab1" inherits="MI2_TabButtonTemplate" id="1">
282 <Anchors>
283 <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
284 <Offset> <AbsDimension x="5" y="30"/> </Offset>
285 </Anchor>
286 </Anchors>
287 </Button>
288 <Button name="$parentTab2" inherits="MI2_TabButtonTemplate" id="2">
289 <Anchors>
290 <Anchor point="LEFT" relativeTo="$parentTab1" relativePoint="RIGHT">
291 <Offset> <AbsDimension x="2" y="0"/> </Offset>
292 </Anchor>
293 </Anchors>
294 </Button>
295 <Button name="$parentTab3" inherits="MI2_TabButtonTemplate" id="3">
296 <Anchors>
297 <Anchor point="LEFT" relativeTo="$parentTab2" relativePoint="RIGHT">
298 <Offset> <AbsDimension x="2" y="0"/> </Offset>
299 </Anchor>
300 </Anchors>
301 </Button>
302 <Button name="$parentTab4" inherits="MI2_TabButtonTemplate" id="4">
303 <Anchors>
304 <Anchor point="LEFT" relativeTo="$parentTab3" relativePoint="RIGHT">
305 <Offset> <AbsDimension x="2" y="0"/> </Offset>
306 </Anchor>
307 </Anchors>
308 </Button>
309  
310 <!-- ==================================================== -->
311 <!-- subframe with all Tooltip related options -->
312 <Frame name="MI2_FrmTooltipOptions" inherits="MI2_OptionsFrameTemplate" >
313 <Size> <AbsDimension x="220" y="380" /> </Size>
314 <Anchors>
315 <Anchor point="TOPLEFT">
316 <Offset> <AbsDimension x="10" y="-30" /> </Offset>
317 </Anchor>
318 </Anchors>
319  
320 <Frames>
321 <!-- ================================================= -->
322 <!-- show/hide controls within tooltip options frame -->
323 <CheckButton name="MI2_OptShowClass" inherits="MI2_CheckboxTemplate">
324 <Anchors>
325 <Anchor point="TOPLEFT">
326 <Offset> <AbsDimension x="10" y="-10" /> </Offset>
327 </Anchor>
328 </Anchors>
329 </CheckButton>
330 <CheckButton name="MI2_OptShowHealth" inherits="MI2_CheckboxTemplate">
331 <Anchors>
332 <Anchor point="TOPLEFT" relativeTo="MI2_OptShowClass">
333 <Offset> <AbsDimension x="0" y="-30" /> </Offset>
334 </Anchor>
335 </Anchors>
336 </CheckButton>
337 <CheckButton name="MI2_OptShowMana" inherits="MI2_CheckboxTemplate">
338 <Anchors>
339 <Anchor point="TOPLEFT" relativeTo="MI2_OptShowHealth" relativePoint="TOPRIGHT">
340 <Offset> <AbsDimension x="65" y="0" /> </Offset>
341 </Anchor>
342 </Anchors>
343 </CheckButton>
344 <CheckButton name="MI2_OptShowXp" inherits="MI2_CheckboxTemplate">
345 <Anchors>
346 <Anchor point="TOPLEFT" relativeTo="MI2_OptShowHealth">
347 <Offset> <AbsDimension x="0" y="-20" /> </Offset>
348 </Anchor>
349 </Anchors>
350 </CheckButton>
351 <CheckButton name="MI2_OptShowNo2lev" inherits="MI2_CheckboxTemplate">
352 <Anchors>
353 <Anchor point="TOPLEFT" relativeTo="MI2_OptShowXp" relativePoint="TOPRIGHT">
354 <Offset> <AbsDimension x="65" y="0" /> </Offset>
355 </Anchor>
356 </Anchors>
357 </CheckButton>
358 <CheckButton name="MI2_OptShowDamage" inherits="MI2_CheckboxTemplate">
359 <Anchors>
360 <Anchor point="TOPLEFT" relativeTo="MI2_OptShowXp">
361 <Offset> <AbsDimension x="0" y="-30" /> </Offset>
362 </Anchor>
363 </Anchors>
364 </CheckButton>
365 <CheckButton name="MI2_OptShowCombined" inherits="MI2_CheckboxTemplate">
366 <Anchors>
367 <Anchor point="TOPLEFT" relativeTo="MI2_OptShowDamage">
368 <Offset> <AbsDimension x="0" y="-20" /> </Offset>
369 </Anchor>
370 </Anchors>
371 </CheckButton>
372 <CheckButton name="MI2_OptShowKills" inherits="MI2_CheckboxTemplate">
373 <Anchors>
374 <Anchor point="TOPLEFT" relativeTo="MI2_OptShowCombined">
375 <Offset> <AbsDimension x="0" y="-30" /> </Offset>
376 </Anchor>
377 </Anchors>
378 </CheckButton>
379 <CheckButton name="MI2_OptShowLoots" inherits="MI2_CheckboxTemplate">
380 <Anchors>
381 <Anchor point="TOPLEFT" relativeTo="MI2_OptShowKills" relativePoint="TOPRIGHT">
382 <Offset> <AbsDimension x="65" y="0" /> </Offset>
383 </Anchor>
384 </Anchors>
385 </CheckButton>
386 <CheckButton name="MI2_OptShowCloth" inherits="MI2_CheckboxTemplate">
387 <Anchors>
388 <Anchor point="TOPLEFT" relativeTo="MI2_OptShowKills">
389 <Offset> <AbsDimension x="0" y="-20" /> </Offset>
390 </Anchor>
391 </Anchors>
392 </CheckButton>
393 <CheckButton name="MI2_OptShowEmpty" inherits="MI2_CheckboxTemplate">
394 <Anchors>
395 <Anchor point="TOPLEFT" relativeTo="MI2_OptShowCloth" relativePoint="TOPRIGHT">
396 <Offset> <AbsDimension x="65" y="0" /> </Offset>
397 </Anchor>
398 </Anchors>
399 </CheckButton>
400 <CheckButton name="MI2_OptShowTotal" inherits="MI2_CheckboxTemplate">
401 <Anchors>
402 <Anchor point="TOPLEFT" relativeTo="MI2_OptShowCloth">
403 <Offset> <AbsDimension x="0" y="-20" /> </Offset>
404 </Anchor>
405 </Anchors>
406 </CheckButton>
407 <CheckButton name="MI2_OptShowCoin" inherits="MI2_CheckboxTemplate">
408 <Anchors>
409 <Anchor point="TOPLEFT" relativeTo="MI2_OptShowTotal" relativePoint="TOPRIGHT">
410 <Offset> <AbsDimension x="65" y="0" /> </Offset>
411 </Anchor>
412 </Anchors>
413 </CheckButton>
414 <CheckButton name="MI2_OptShowIV" inherits="MI2_CheckboxTemplate">
415 <Anchors>
416 <Anchor point="TOPLEFT" relativeTo="MI2_OptShowTotal">
417 <Offset> <AbsDimension x="0" y="-30" /> </Offset>
418 </Anchor>
419 </Anchors>
420 </CheckButton>
421 <CheckButton name="MI2_OptShowQuality" inherits="MI2_CheckboxTemplate">
422 <Anchors>
423 <Anchor point="TOPLEFT" relativeTo="MI2_OptShowIV">
424 <Offset> <AbsDimension x="0" y="-20" /> </Offset>
425 </Anchor>
426 </Anchors>
427 </CheckButton>
428 <CheckButton name="MI2_OptShowLocation" inherits="MI2_CheckboxTemplate">
429 <Anchors>
430 <Anchor point="TOPLEFT" relativeTo="MI2_OptShowQuality">
431 <Offset> <AbsDimension x="0" y="-20" /> </Offset>
432 </Anchor>
433 </Anchors>
434 </CheckButton>
435 <CheckButton name="MI2_OptShowItems" inherits="MI2_CheckboxTemplate">
436 <Anchors>
437 <Anchor point="TOPLEFT" relativeTo="MI2_OptShowLocation">
438 <Offset> <AbsDimension x="0" y="-20" /> </Offset>
439 </Anchor>
440 </Anchors>
441 </CheckButton>
442 <CheckButton name="MI2_OptShowClothSkin" inherits="MI2_CheckboxTemplate">
443 <Anchors>
444 <Anchor point="TOPLEFT" relativeTo="MI2_OptShowItems">
445 <Offset> <AbsDimension x="0" y="-20" /> </Offset>
446 </Anchor>
447 </Anchors>
448 </CheckButton>
449  
450 <!-- ==================================================== -->
451 <!-- buttons controlling the tooltip show options -->
452 <Button name="MI2_OptDefault" inherits="MI2_PushButtonTemplate">
453 <Anchors>
454 <Anchor point="TOPLEFT">
455 <Offset> <AbsDimension x="225" y="0" /> </Offset>
456 </Anchor>
457 </Anchors>
458 </Button>
459 <Button name="MI2_OptMinimal" inherits="MI2_PushButtonTemplate">
460 <Anchors>
461 <Anchor point="TOPLEFT" relativeTo="MI2_OptDefault">
462 <Offset> <AbsDimension x="0" y="-25" /> </Offset>
463 </Anchor>
464 </Anchors>
465 </Button>
466 <Button name="MI2_OptAllOn" inherits="MI2_PushButtonTemplate">
467 <Anchors>
468 <Anchor point="TOPLEFT" relativeTo="MI2_OptMinimal">
469 <Offset> <AbsDimension x="0" y="-25" /> </Offset>
470 </Anchor>
471 </Anchors>
472 </Button>
473 <Button name="MI2_OptAllOff" inherits="MI2_PushButtonTemplate">
474 <Anchors>
475 <Anchor point="TOPLEFT" relativeTo="MI2_OptAllOn">
476 <Offset> <AbsDimension x="0" y="-25" /> </Offset>
477 </Anchor>
478 </Anchors>
479 </Button>
480  
481 <!-- ================================================= -->
482 <!-- MobInfo DISABLE Button -->
483 <CheckButton name="MI2_OptDisableMobInfo" inherits="MI2_CheckboxTemplate">
484 <Anchors>
485 <Anchor point="TOPLEFT" relativeTo="MI2_OptAllOff" relativePoint="BOTTOMLEFT">
486 <Offset> <AbsDimension x="0" y="-20" /> </Offset>
487 </Anchor>
488 </Anchors>
489 </CheckButton>
490  
491 <!-- ==================================================== -->
492 <!-- buttons controlling overall tooltip options -->
493 <CheckButton name="MI2_OptCompactMode" inherits="MI2_CheckboxTemplate">
494 <Anchors>
495 <Anchor point="TOPLEFT" relativeTo="MI2_OptDisableMobInfo" relativePoint="BOTTOMLEFT">
496 <Offset> <AbsDimension x="0" y="-20" /> </Offset>
497 </Anchor>
498 </Anchors>
499 </CheckButton>
500 <CheckButton name="MI2_OptCombinedMode" inherits="MI2_CheckboxTemplate">
501 <Anchors>
502 <Anchor point="TOPLEFT" relativeTo="MI2_OptCompactMode">
503 <Offset> <AbsDimension x="0" y="-20" /> </Offset>
504 </Anchor>
505 </Anchors>
506 </CheckButton>
507 <CheckButton name="MI2_OptKeypressMode" inherits="MI2_CheckboxTemplate">
508 <Anchors>
509 <Anchor point="TOPLEFT" relativeTo="MI2_OptCombinedMode">
510 <Offset> <AbsDimension x="0" y="-20" /> </Offset>
511 </Anchor>
512 </Anchors>
513 </CheckButton>
514 <CheckButton name="MI2_OptShowBlankLines" inherits="MI2_CheckboxTemplate">
515 <Anchors>
516 <Anchor point="TOPLEFT" relativeTo="MI2_OptKeypressMode">
517 <Offset> <AbsDimension x="0" y="-20" /> </Offset>
518 </Anchor>
519 </Anchors>
520 </CheckButton>
521 <CheckButton name="MI2_OptItemTooltip" inherits="MI2_CheckboxTemplate">
522 <Anchors>
523 <Anchor point="TOPLEFT" relativeTo="MI2_OptShowBlankLines">
524 <Offset> <AbsDimension x="0" y="-40" /> </Offset>
525 </Anchor>
526 </Anchors>
527 </CheckButton>
528 <EditBox name="MI2_OptItemFilter" inherits="MI2_OptionsEditBox_Template">
529 <Size> <AbsDimension x="160" y="24"/> </Size>
530 <Anchors>
531 <Anchor point="TOPLEFT" relativeTo="MI2_OptItemTooltip" relativePoint="BOTTOMLEFT">
532 <Offset> <AbsDimension x="5" y="-15"/> </Offset>
533 </Anchor>
534 </Anchors>
535 </EditBox>
536 </Frames>
537 </Frame>
538  
539 <!-- ==================================================== -->
540 <!-- subframe with Mob Health options -->
541 <Frame name="MI2_FrmHealthOptions" inherits="MI2_OptionsFrameTemplate" hidden="true" >
542 <Size> <AbsDimension x="420" y="320" /> </Size>
543 <Anchors>
544 <Anchor point="TOPLEFT" >
545 <Offset> <AbsDimension x="10" y="-30" /> </Offset>
546 </Anchor>
547 </Anchors>
548  
549 <!-- ================================================ -->
550 <!-- controls within MobHealth options subframe -->
551 <Frames>
552 <CheckButton name="MI2_OptStableMax" inherits="MI2_CheckboxTemplate">
553 <Anchors>
554 <Anchor point="TOPLEFT">
555 <Offset> <AbsDimension x="10" y="-10" /> </Offset>
556 </Anchor>
557 </Anchors>
558 </CheckButton>
559  
560 <Button name="MI2_OptTargetFont" inherits="MI2_DropDownTemplate">
561 <Anchors>
562 <Anchor point="TOPLEFT" relativeTo="MI2_OptStableMax" relativePoint="BOTTOMLEFT">
563 <Offset><AbsDimension x="0" y="-20"/></Offset>
564 </Anchor>
565 </Anchors>
566 </Button>
567  
568 <Slider name="MI2_OptTargetFontSize" inherits="MI2_SliderTemplate">
569 <Size> <AbsDimension x="140" y="20" /> </Size>
570 <Anchors>
571 <Anchor point="TOPLEFT" relativeTo="MI2_OptTargetFont" relativePoint="TOPRIGHT">
572 <Offset><AbsDimension x="30" y="0" /></Offset>
573 </Anchor>
574 </Anchors>
575 </Slider>
576  
577 <!-- ================================================ -->
578 <!-- health value options box -->
579 <Frame name="MI2_FrmHealthValueOptions" inherits="MI2_OptionsFrameTemplate" >
580 <Size> <AbsDimension x="400" y="80" /> </Size>
581 <Anchors>
582 <Anchor point="TOPLEFT" relativeTo="MI2_OptTargetFont" relativePoint="BOTTOMLEFT">
583 <Offset> <AbsDimension x="0" y="-25" /> </Offset>
584 </Anchor>
585 </Anchors>
586 <Frames>
587 <CheckButton name="MI2_OptTargetHealth" inherits="MI2_CheckboxTemplate">
588 <Anchors>
589 <Anchor point="TOPLEFT">
590 <Offset> <AbsDimension x="10" y="-10" /> </Offset>
591 </Anchor>
592 </Anchors>
593 </CheckButton>
594 <CheckButton name="MI2_OptHealthPercent" inherits="MI2_CheckboxTemplate">
595 <Anchors>
596 <Anchor point="TOPLEFT" relativeTo="MI2_OptTargetHealth" relativePoint="BOTTOMLEFT">
597 <Offset> <AbsDimension x="0" y="-5" /> </Offset>
598 </Anchor>
599 </Anchors>
600 </CheckButton>
601 <Slider name="MI2_OptHealthPosX" inherits="MI2_SliderTemplate">
602 <Size> <AbsDimension x="225" y="20" /> </Size>
603 <Anchors>
604 <Anchor point="TOPLEFT" >
605 <Offset><AbsDimension x="150" y="-20" /></Offset>
606 </Anchor>
607 </Anchors>
608 </Slider>
609 <Slider name="MI2_OptHealthPosY" inherits="MI2_SliderTemplate">
610 <Size> <AbsDimension x="225" y="20" /> </Size>
611 <Anchors>
612 <Anchor point="TOPLEFT" relativeTo="MI2_OptHealthPosX" relativePoint="BOTTOMLEFT">
613 <Offset><AbsDimension x="0" y="-10" /></Offset>
614 </Anchor>
615 </Anchors>
616 </Slider>
617 </Frames>
618 </Frame>
619  
620 <!-- ================================================ -->
621 <!-- mana value options box -->
622 <Frame name="MI2_FrmManaValueOptions" inherits="MI2_OptionsFrameTemplate" >
623 <Size> <AbsDimension x="400" y="80" /> </Size>
624 <Anchors>
625 <Anchor point="TOPLEFT" relativeTo="MI2_FrmHealthValueOptions" relativePoint="BOTTOMLEFT">
626 <Offset> <AbsDimension x="0" y="-35" /> </Offset>
627 </Anchor>
628 </Anchors>
629 <Frames>
630 <CheckButton name="MI2_OptTargetMana" inherits="MI2_CheckboxTemplate">
631 <Anchors>
632 <Anchor point="TOPLEFT">
633 <Offset> <AbsDimension x="10" y="-10" /> </Offset>
634 </Anchor>
635 </Anchors>
636 </CheckButton>
637 <CheckButton name="MI2_OptManaPercent" inherits="MI2_CheckboxTemplate">
638 <Anchors>
639 <Anchor point="TOPLEFT" relativeTo="MI2_OptTargetMana" relativePoint="BOTTOMLEFT">
640 <Offset> <AbsDimension x="0" y="-5" /> </Offset>
641 </Anchor>
642 </Anchors>
643 </CheckButton>
644 <Slider name="MI2_OptManaPosX" inherits="MI2_SliderTemplate">
645 <Size> <AbsDimension x="225" y="20" /> </Size>
646 <Anchors>
647 <Anchor point="TOPLEFT" >
648 <Offset><AbsDimension x="150" y="-20" /></Offset>
649 </Anchor>
650 </Anchors>
651 </Slider>
652 <Slider name="MI2_OptManaPosY" inherits="MI2_SliderTemplate">
653 <Size> <AbsDimension x="225" y="20" /> </Size>
654 <Anchors>
655 <Anchor point="TOPLEFT" relativeTo="MI2_OptManaPosX" relativePoint="BOTTOMLEFT">
656 <Offset><AbsDimension x="0" y="-10" /></Offset>
657 </Anchor>
658 </Anchors>
659 </Slider>
660 </Frames>
661 </Frame>
662 </Frames>
663 </Frame>
664  
665 <!-- ==================================================== -->
666 <!-- subframe with database options -->
667 <Frame name="MI2_FrmDatabaseOptions" inherits="MI2_OptionsFrameTemplate" hidden="true" >
668 <Size> <AbsDimension x="400" y="250" /> </Size>
669 <Anchors>
670 <Anchor point="TOPLEFT">
671 <Offset> <AbsDimension x="20" y="-25" /> </Offset>
672 </Anchor>
673 </Anchors>
674  
675 <Layers>
676 <Layer level="BACKGROUND">
677 <FontString name="MI2_TxtMobDbSize" inherits="GameFontNormalSmall">
678 <Anchors> <Anchor point="TOPLEFT">
679 <Offset> <AbsDimension x="10" y="-15"/> </Offset>
680 </Anchor> </Anchors>
681 </FontString>
682 <FontString name="MI2_TxtHealthDbSize" inherits="GameFontNormalSmall">
683 <Anchors> <Anchor point="TOPLEFT" relativeTo="MI2_TxtMobDbSize" relativePoint="BOTTOMLEFT">
684 <Offset> <AbsDimension x="0" y="-15"/> </Offset>
685 </Anchor> </Anchors>
686 </FontString>
687 <FontString name="MI2_TxtPlayerDbSize" inherits="GameFontNormalSmall">
688 <Anchors> <Anchor point="TOPLEFT" relativeTo="MI2_TxtHealthDbSize" relativePoint="BOTTOMLEFT">
689 <Offset> <AbsDimension x="0" y="-15"/> </Offset>
690 </Anchor> </Anchors>
691 </FontString>
692 <FontString name="MI2_TxtTargetIndex" inherits="GameFontNormalSmall">
693 <Anchors> <Anchor point="TOPLEFT" relativeTo="MI2_TxtPlayerDbSize" relativePoint="BOTTOMLEFT">
694 <Offset> <AbsDimension x="0" y="-15"/> </Offset>
695 </Anchor> </Anchors>
696 </FontString>
697 </Layer>
698 </Layers>
699  
700 <!-- ================================================ -->
701 <!-- controls within database options subframe -->
702 <Frames>
703 <Button name="MI2_OptClearMobDb" inherits="MI2_PushButtonTemplate">
704 <Size> <AbsDimension x="150" y="20"/> </Size>
705 <Anchors>
706 <Anchor point="BOTTOMLEFT" relativeTo="MI2_TxtMobDbSize" relativePoint="BOTTOMLEFT">
707 <Offset> <AbsDimension x="220" y="-2" /> </Offset>
708 </Anchor>
709 </Anchors>
710 </Button>
711 <Button name="MI2_OptClearHealthDb" inherits="MI2_PushButtonTemplate">
712 <Size> <AbsDimension x="150" y="20"/> </Size>
713 <Anchors>
714 <Anchor point="BOTTOMLEFT" relativeTo="MI2_TxtHealthDbSize" relativePoint="BOTTOMLEFT">
715 <Offset> <AbsDimension x="220" y="-2" /> </Offset>
716 </Anchor>
717 </Anchors>
718 </Button>
719 <Button name="MI2_OptClearPlayerDb" inherits="MI2_PushButtonTemplate">
720 <Size> <AbsDimension x="150" y="20"/> </Size>
721 <Anchors>
722 <Anchor point="BOTTOMLEFT" relativeTo="MI2_TxtPlayerDbSize" relativePoint="BOTTOMLEFT">
723 <Offset> <AbsDimension x="220" y="-2" /> </Offset>
724 </Anchor>
725 </Anchors>
726 </Button>
727 <Button name="MI2_OptClearTarget" inherits="MI2_PushButtonTemplate">
728 <Size> <AbsDimension x="150" y="20"/> </Size>
729 <Anchors>
730 <Anchor point="BOTTOMLEFT" relativeTo="MI2_TxtTargetIndex" relativePoint="BOTTOMLEFT">
731 <Offset> <AbsDimension x="220" y="-2" /> </Offset>
732 </Anchor>
733 </Anchors>
734 </Button>
735 <CheckButton name="MI2_OptSaveBasicInfo" inherits="MI2_CheckboxTemplate">
736 <Anchors>
737 <Anchor point="TOPLEFT" relativeTo="MI2_TxtTargetIndex">
738 <Offset> <AbsDimension x="0" y="-15" /> </Offset>
739 </Anchor>
740 </Anchors>
741 </CheckButton>
742 <CheckButton name="MI2_OptSaveCharData" inherits="MI2_CheckboxTemplate">
743 <Anchors>
744 <Anchor point="TOPLEFT" relativeTo="MI2_OptSaveBasicInfo">
745 <Offset> <AbsDimension x="0" y="-20" /> </Offset>
746 </Anchor>
747 </Anchors>
748 </CheckButton>
749 <CheckButton name="MI2_OptSaveLocation" inherits="MI2_CheckboxTemplate">
750 <Anchors>
751 <Anchor point="TOPLEFT" relativeTo="MI2_OptSaveCharData">
752 <Offset> <AbsDimension x="0" y="-20" /> </Offset>
753 </Anchor>
754 </Anchors>
755 </CheckButton>
756 <CheckButton name="MI2_OptSaveItems" inherits="MI2_CheckboxTemplate">
757 <Anchors>
758 <Anchor point="TOPLEFT" relativeTo="MI2_OptSaveLocation">
759 <Offset> <AbsDimension x="0" y="-20" /> </Offset>
760 </Anchor>
761 </Anchors>
762 </CheckButton>
763 <Button name="MI2_OptItemsQuality" inherits="MI2_DropDownTemplate">
764 <Anchors>
765 <Anchor point="TOPLEFT" relativeTo="MI2_OptSaveItems" relativePoint="BOTTOMLEFT">
766 <Offset><AbsDimension x="220" y="28"/></Offset>
767 </Anchor>
768 </Anchors>
769 </Button>
770 <CheckButton name="MI2_OptSavePlayerHp" inherits="MI2_CheckboxTemplate">
771 <Anchors>
772 <Anchor point="TOPLEFT" relativeTo="MI2_OptSaveItems">
773 <Offset> <AbsDimension x="0" y="-20" /> </Offset>
774 </Anchor>
775 </Anchors>
776 </CheckButton>
777 <Button name="MI2_OptTrimDownMobData" inherits="MI2_PushButtonTemplate">
778 <Size> <AbsDimension x="220" y="24"/> </Size>
779 <Anchors>
780 <Anchor point="TOPLEFT" relativeTo="MI2_OptSavePlayerHp" relativePoint="BOTTOMLEFT">
781 <Offset> <AbsDimension x="80" y="-5" /> </Offset>
782 </Anchor>
783 </Anchors>
784 </Button>
785  
786 <Frame name="MI2_FrmImportDatabase" inherits="MI2_OptionsFrameTemplate" >
787 <Size> <AbsDimension x="400" y="90" /> </Size>
788 <Anchors>
789 <Anchor point="TOPLEFT" relativeTo="MI2_OptSavePlayerHp" relativePoint="BOTTOMLEFT">
790 <Offset> <AbsDimension x="-10" y="-80" /> </Offset>
791 </Anchor>
792 </Anchors>
793 <Layers>
794 <Layer level="BACKGROUND">
795 <FontString name="MI2_TxtImportStatus" inherits="GameFontNormalSmall">
796 <Anchors> <Anchor point="TOPLEFT">
797 <Offset> <AbsDimension x="10" y="-20"/> </Offset>
798 </Anchor> </Anchors>
799 </FontString>
800 </Layer>
801 </Layers>
802 <Frames>
803 <Button name="MI2_OptImportMobData" inherits="MI2_PushButtonTemplate">
804 <Size> <AbsDimension x="160" y="24"/> </Size>
805 <Anchors>
806 <Anchor point="TOPLEFT">
807 <Offset> <AbsDimension x="10" y="-45" /> </Offset>
808 </Anchor>
809 </Anchors>
810 </Button>
811 <CheckButton name="MI2_OptImportOnlyNew" inherits="MI2_CheckboxTemplate">
812 <Anchors>
813 <Anchor point="TOPLEFT" relativeTo="MI2_OptImportMobData" relativePoint="TOPRIGHT">
814 <Offset> <AbsDimension x="10" y="0" /> </Offset>
815 </Anchor>
816 </Anchors>
817 </CheckButton>
818 </Frames>
819 </Frame>
820 </Frames>
821 <Scripts>
822 <OnShow> MI2_DbOptionsFrameOnShow(); </OnShow>
823 </Scripts>
824 </Frame>
825  
826 <!-- ==================================================== -->
827 <!-- subframe with search options -->
828 <Frame name="MI2_FrmSearchOptions" hidden="true" >
829 <Size> <AbsDimension x="420" y="400" /> </Size>
830 <Anchors>
831 <Anchor point="TOPLEFT">
832 <Offset> <AbsDimension x="10" y="0" /> </Offset>
833 </Anchor>
834 </Anchors>
835  
836 <Layers>
837 <Layer level="BACKGROUND">
838 <FontString name="MI2_TxtSearchLevel" inherits="GameFontNormal" text="MI_TXT_SEARCH_LEVEL">
839 <Anchors> <Anchor point="TOPLEFT">
840 <Offset> <AbsDimension x="10" y="-20"/> </Offset>
841 </Anchor> </Anchors>
842 </FontString>
843 <FontString name="MI2_TxtSearchLoots" inherits="GameFontNormal" text="MI_TXT_SEARCH_LOOTS">
844 <Anchors> <Anchor point="TOPLEFT" relativeTo="MI2_TxtSearchLevel" relativePoint="TOPRIGHT">
845 <Offset> <AbsDimension x="160" y="0"/> </Offset>
846 </Anchor> </Anchors>
847 </FontString>
848 <FontString name="MI2_TxtSearchMobType" inherits="GameFontNormal" text="MI_TXT_SEARCH_MOBTYPE">
849 <Anchors> <Anchor point="TOPLEFT" relativeTo="MI2_TxtSearchLevel" relativePoint="BOTTOMLEFT">
850 <Offset> <AbsDimension x="0" y="-20"/> </Offset>
851 </Anchor> </Anchors>
852 </FontString>
853 </Layer>
854 </Layers>
855  
856 <!-- ================================================ -->
857 <!-- controls within search options subframe -->
858 <Frames>
859 <EditBox name="MI2_OptSearchMinLevel" inherits="MI2_ValueEditBox_Template">
860 <Anchors>
861 <Anchor point="TOPLEFT" relativeTo="MI2_TxtSearchLevel" relativePoint="TOPRIGHT">
862 <Offset> <AbsDimension x="40" y="6"/> </Offset>
863 </Anchor>
864 </Anchors>
865 </EditBox>
866 <EditBox name="MI2_OptSearchMaxLevel" inherits="MI2_ValueEditBox_Template">
867 <Anchors>
868 <Anchor point="TOPLEFT" relativeTo="MI2_OptSearchMinLevel" relativePoint="TOPRIGHT">
869 <Offset> <AbsDimension x="40" y="0"/> </Offset>
870 </Anchor>
871 </Anchors>
872 </EditBox>
873 <CheckButton name="MI2_OptSearchNormal" inherits="MI2_SearchCheckboxTemplate">
874 <Anchors>
875 <Anchor point="TOPLEFT" relativeTo="MI2_TxtSearchMobType" relativePoint="TOPRIGHT">
876 <Offset> <AbsDimension x="10" y="6" /> </Offset>
877 </Anchor>
878 </Anchors>
879 </CheckButton>
880 <CheckButton name="MI2_OptSearchElite" inherits="MI2_SearchCheckboxTemplate">
881 <Anchors>
882 <Anchor point="TOPLEFT" relativeTo="MI2_OptSearchNormal" relativePoint="TOPRIGHT">
883 <Offset> <AbsDimension x="45" y="0" /> </Offset>
884 </Anchor>
885 </Anchors>
886 </CheckButton>
887 <CheckButton name="MI2_OptSearchBoss" inherits="MI2_SearchCheckboxTemplate">
888 <Anchors>
889 <Anchor point="TOPLEFT" relativeTo="MI2_OptSearchElite" relativePoint="TOPRIGHT">
890 <Offset> <AbsDimension x="35" y="0" /> </Offset>
891 </Anchor>
892 </Anchors>
893 </CheckButton>
894 <EditBox name="MI2_OptSearchMinLoots" inherits="MI2_ValueEditBox_Template">
895 <Anchors>
896 <Anchor point="TOPLEFT" relativeTo="MI2_TxtSearchLoots" relativePoint="TOPRIGHT">
897 <Offset> <AbsDimension x="40" y="6"/> </Offset>
898 </Anchor>
899 </Anchors>
900 </EditBox>
901 <EditBox name="MI2_OptSearchMobName" inherits="MI2_TextEditBox_Template" letters="28">
902 <Anchors>
903 <Anchor point="TOPLEFT" relativeTo="MI2_TxtSearchMobType" relativePoint="BOTTOMLEFT">
904 <Offset> <AbsDimension x="70" y="-10"/> </Offset>
905 </Anchor>
906 </Anchors>
907 </EditBox>
908 <EditBox name="MI2_OptSearchItemName" inherits="MI2_TextEditBox_Template">
909 <Anchors>
910 <Anchor point="TOPLEFT" relativeTo="MI2_OptSearchMobName" relativePoint="TOPRIGHT">
911 <Offset> <AbsDimension x="80" y="0"/> </Offset>
912 </Anchor>
913 </Anchors>
914 </EditBox>
915 <Button name="MI2_OptSortByValue" inherits="MI2_PushButtonTemplate">
916 <Size> <AbsDimension x="180" y="24" /> </Size>
917 <Anchors>
918 <Anchor point="TOPLEFT" relativeTo="MI2_TxtSearchMobType" relativePoint="BOTTOMLEFT">
919 <Offset> <AbsDimension x="0" y="-50"/> </Offset>
920 </Anchor>
921 </Anchors>
922 </Button>
923 <Button name="MI2_OptSortByItem" inherits="MI2_PushButtonTemplate">
924 <Size> <AbsDimension x="180" y="24" /> </Size>
925 <Anchors>
926 <Anchor point="TOPLEFT" relativeTo="MI2_OptSortByValue" relativePoint="TOPRIGHT">
927 <Offset> <AbsDimension x="20" y="0"/> </Offset>
928 </Anchor>
929 </Anchors>
930 </Button>
931  
932 <Frame name="MI2_SearchResultFrame" inherits="OptionFrameBoxTemplate">
933 <Size> <AbsDimension x="410" y="230" /> </Size>
934 <Anchors>
935 <Anchor point="TOPLEFT" relativeTo="MI2_OptSortByValue" relativePoint="BOTTOMLEFT">
936 <Offset> <AbsDimension x="-5" y="-40"/> </Offset>
937 </Anchor>
938 </Anchors>
939 <Scripts> <OnLoad> this:SetBackdropColor(0,0,0) </OnLoad> </Scripts>
940 <Layers>
941 <Layer level="BACKGROUND">
942 <FontString name="MI2_TxtSearchCount" inherits="GameFontNormalSmall">
943 <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="210" y="10"/> </Offset> </Anchor> </Anchors>
944 </FontString>
945 </Layer>
946 </Layers>
947 <Frames>
948  
949 <!-- ==================================================== -->
950 <!-- TAB buttons controlling search result list content -->
951 <Button name="$parentTab1" inherits="MI2_TabButtonTemplate" id="1">
952 <Anchors>
953 <Anchor point="TOPLEFT">
954 <Offset> <AbsDimension x="5" y="30"/> </Offset>
955 </Anchor>
956 </Anchors>
957 <Scripts> <OnClick> MI2_SearchTab_OnClick( this:GetName() ); </OnClick> </Scripts>
958 </Button>
959 <Button name="$parentTab2" inherits="MI2_TabButtonTemplate" id="2">
960 <Anchors>
961 <Anchor point="LEFT" relativeTo="$parentTab1" relativePoint="RIGHT">
962 <Offset> <AbsDimension x="2" y="0"/> </Offset>
963 </Anchor>
964 </Anchors>
965 <Scripts> <OnClick> MI2_SearchTab_OnClick( this:GetName() ); </OnClick> </Scripts>
966 </Button>
967  
968 <Button name="MI2_OptDeleteSearch" inherits="MI2_PushButtonTemplate">
969 <Size> <AbsDimension x="100" y="22" /> </Size>
970 <Anchors>
971 <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
972 <Offset> <AbsDimension x="0" y="24"/> </Offset>
973 </Anchor>
974 </Anchors>
975 </Button>
976  
977 <!-- ==================================================== -->
978 <!-- search result scroll slider -->
979 <ScrollFrame name="MI2_SearchResultSlider" inherits="FauxScrollFrameTemplate">
980 <Anchors>
981 <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="10" y="-10"/> </Offset> </Anchor>
982 <Anchor point="BOTTOMRIGHT"> <Offset> <AbsDimension x="-30" y="10"/> </Offset> </Anchor>
983 </Anchors>
984 <Scripts>
985 <OnVerticalScroll>
986 FauxScrollFrame_OnVerticalScroll( 14, MI2_SearchResult_Update );
987 </OnVerticalScroll>
988 <OnShow>
989 <!-- MyModScrollBar_Update() -->
990 </OnShow>
991 </Scripts>
992 </ScrollFrame>
993  
994 <!-- ==================================================== -->
995 <!-- search result text lines -->
996 <Button name="MI2_SearchResult1" inherits="MI2_SearchResultLineTemplate" id="1">
997 <Anchors>
998 <Anchor point="TOPLEFT" relativeTo="MI2_SearchResultSlider">
999 <Offset> <AbsDimension x="0" y="0"/> </Offset>
1000 </Anchor>
1001 </Anchors>
1002 </Button>
1003 <Button name="MI2_SearchResult2" inherits="MI2_SearchResultLineTemplate" id="2">
1004 <Anchors>
1005 <Anchor point="TOPLEFT" relativeTo="MI2_SearchResult1" relativePoint="BOTTOMLEFT"> </Anchor>
1006 </Anchors>
1007 </Button>
1008 <Button name="MI2_SearchResult3" inherits="MI2_SearchResultLineTemplate" id="3">
1009 <Anchors>
1010 <Anchor point="TOPLEFT" relativeTo="MI2_SearchResult2" relativePoint="BOTTOMLEFT"> </Anchor>
1011 </Anchors>
1012 </Button>
1013 <Button name="MI2_SearchResult4" inherits="MI2_SearchResultLineTemplate" id="4">
1014 <Anchors>
1015 <Anchor point="TOPLEFT" relativeTo="MI2_SearchResult3" relativePoint="BOTTOMLEFT"> </Anchor>
1016 </Anchors>
1017 </Button>
1018 <Button name="MI2_SearchResult5" inherits="MI2_SearchResultLineTemplate" id="5">
1019 <Anchors>
1020 <Anchor point="TOPLEFT" relativeTo="MI2_SearchResult4" relativePoint="BOTTOMLEFT"> </Anchor>
1021 </Anchors>
1022 </Button>
1023 <Button name="MI2_SearchResult6" inherits="MI2_SearchResultLineTemplate" id="6">
1024 <Anchors>
1025 <Anchor point="TOPLEFT" relativeTo="MI2_SearchResult5" relativePoint="BOTTOMLEFT"> </Anchor>
1026 </Anchors>
1027 </Button>
1028 <Button name="MI2_SearchResult7" inherits="MI2_SearchResultLineTemplate" id="7">
1029 <Anchors>
1030 <Anchor point="TOPLEFT" relativeTo="MI2_SearchResult6" relativePoint="BOTTOMLEFT"> </Anchor>
1031 </Anchors>
1032 </Button>
1033 <Button name="MI2_SearchResult8" inherits="MI2_SearchResultLineTemplate" id="8">
1034 <Anchors>
1035 <Anchor point="TOPLEFT" relativeTo="MI2_SearchResult7" relativePoint="BOTTOMLEFT"> </Anchor>
1036 </Anchors>
1037 </Button>
1038 <Button name="MI2_SearchResult9" inherits="MI2_SearchResultLineTemplate" id="9">
1039 <Anchors>
1040 <Anchor point="TOPLEFT" relativeTo="MI2_SearchResult8" relativePoint="BOTTOMLEFT"> </Anchor>
1041 </Anchors>
1042 </Button>
1043 <Button name="MI2_SearchResult10" inherits="MI2_SearchResultLineTemplate" id="10">
1044 <Anchors>
1045 <Anchor point="TOPLEFT" relativeTo="MI2_SearchResult9" relativePoint="BOTTOMLEFT"> </Anchor>
1046 </Anchors>
1047 </Button>
1048 <Button name="MI2_SearchResult11" inherits="MI2_SearchResultLineTemplate" id="11">
1049 <Anchors>
1050 <Anchor point="TOPLEFT" relativeTo="MI2_SearchResult10" relativePoint="BOTTOMLEFT"> </Anchor>
1051 </Anchors>
1052 </Button>
1053 <Button name="MI2_SearchResult12" inherits="MI2_SearchResultLineTemplate" id="12">
1054 <Anchors>
1055 <Anchor point="TOPLEFT" relativeTo="MI2_SearchResult11" relativePoint="BOTTOMLEFT"> </Anchor>
1056 </Anchors>
1057 </Button>
1058 <Button name="MI2_SearchResult13" inherits="MI2_SearchResultLineTemplate" id="13">
1059 <Anchors>
1060 <Anchor point="TOPLEFT" relativeTo="MI2_SearchResult12" relativePoint="BOTTOMLEFT"> </Anchor>
1061 </Anchors>
1062 </Button>
1063 <Button name="MI2_SearchResult14" inherits="MI2_SearchResultLineTemplate" id="14">
1064 <Anchors>
1065 <Anchor point="TOPLEFT" relativeTo="MI2_SearchResult13" relativePoint="BOTTOMLEFT"> </Anchor>
1066 </Anchors>
1067 </Button>
1068 <Button name="MI2_SearchResult15" inherits="MI2_SearchResultLineTemplate" id="15">
1069 <Anchors>
1070 <Anchor point="TOPLEFT" relativeTo="MI2_SearchResult14" relativePoint="BOTTOMLEFT"> </Anchor>
1071 </Anchors>
1072 </Button>
1073 </Frames>
1074 </Frame>
1075 </Frames>
1076 <Scripts>
1077 <OnShow> MI2_SearchOptionsOnShow(); </OnShow>
1078 </Scripts>
1079 </Frame>
1080  
1081 <!-- ================================================ -->
1082 <!-- subframe with mob health disabled message -->
1083 <Frame name="MI2_FrmHealthDisabledInfo" inherits="MI2_OptionsFrameTemplate" hidden="true" >
1084 <Size> <AbsDimension x="350" y="240" /> </Size>
1085 <Anchors>
1086 <Anchor point="TOPLEFT">
1087 <Offset> <AbsDimension x="40" y="-40" /> </Offset>
1088 </Anchor>
1089 </Anchors>
1090 <Layers>
1091 <Layer level="BACKGROUND">
1092 <FontString name="$parentMessage" inherits="GameFontNormalLarge" text="MI_TXT_MH_DISABLED2">
1093 <Size> <AbsDimension x="330" y="200" /> </Size>
1094 <Color r="0.0" g="1.0" b="1.0"/>
1095 <Anchors>
1096 <Anchor point="TOPLEFT">
1097 <Offset> <AbsDimension x="10" y="0"/> </Offset>
1098 </Anchor>
1099 </Anchors>
1100 </FontString>
1101 </Layer>
1102 </Layers>
1103 </Frame>
1104 </Frames>
1105 </Frame>
1106  
1107 <!-- ==================================================== -->
1108 <!-- main "Done" button for dialog -->
1109 <Button name="MI2_OptBtnDone" inherits="MI2_PushButtonTemplate">
1110 <Anchors>
1111 <Anchor point="BOTTOM">
1112 <Offset> <AbsDimension x="0" y="20" /> </Offset>
1113 </Anchor>
1114 </Anchors>
1115 <Scripts>
1116 <OnClick> miConfig_btnMIDone_OnClick() </OnClick>
1117 </Scripts>
1118 </Button>
1119  
1120 </Frames>
1121  
1122 <Scripts>
1123 <OnLoad> MI2_OptionsFrameOnLoad(); </OnLoad>
1124 <OnShow> MI2_OptionsFrameOnShow(); </OnShow>
1125 <OnMouseDown> miConfig_OnMouseDown(arg1); </OnMouseDown>
1126 <OnMouseUp> miConfig_OnMouseUp(arg1); </OnMouseUp>
1127 </Scripts>
1128 </Frame>
1129 </Ui>