<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/
..\FrameXML\UI.xsd">
<Script file="RealmWizard.lua"/>
<CheckButton name="RealmWizardGameTypeButtonTemplate" virtual="true">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Layers>
<Layer level="ARTWORK">
<FontString name="$parentText" inherits="GlueFontHighlightSmall">
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-2" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
<PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
</CheckButton>
<CheckButton name="RealmWizardLocationButtonTemplate" inherits="RealmWizardGameTypeButtonTemplate" virtual="true">
<Scripts>
<OnClick>
if ( self:GetChecked() ) then
PlaySound("igMainMenuOptionCheckBoxOff");
else
PlaySound("igMainMenuOptionCheckBoxOn");
end
RealmWizardLocationButton_OnClick(self.categoryIndex);
</OnClick>
</Scripts>
</CheckButton>
<ModelFFX name="RealmWizard" toplevel="true" parent="GlueParent" setAllPoints="true" enableKeyboard="true" hidden="true" fogNear="0" fogFar="1200" glow="0.08">
<Frames>
<Frame name="RealmWizardUI" setAllPoints="true">
<Layers>
<Layer level="OVERLAY">
<Texture name="RealmWizardLogo" file="Interface\Glues\Common\Glues-WoW-MPLogo">
<Size>
<AbsDimension x="256" y="128"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="3" y="-7"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
<Frames>
<Frame name="RealmWizardRealm">
<Size>
<AbsDimension x="275" y="200"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="RealmWizardLogo" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString name="RealmWizardRealmLabel" inherits="GlueFontNormalLarge" justifyH="LEFT" text="REALM_DESCRIPTION">
<Size>
<AbsDimension x="255" y="0"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="15" y="-10"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="RealmWizardRealmText" inherits="GlueFontCharacterCreate" justifyH="LEFT" text="REALM_DESCRIPTION_TEXT">
<Size>
<AbsDimension x="235" y="0"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="RealmWizardRealmLabel" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-5"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Backdrop bgFile="Interface\Glues\Common\Glue-Tooltip-Background" edgeFile="Interface\Glues\Common\Glue-Tooltip-Border" tile="true">
<BackgroundInsets>
<AbsInset left="10" right="5" top="4" bottom="9"/>
</BackgroundInsets>
<TileSize>
<AbsValue val="16"/>
</TileSize>
<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
</Backdrop>
<Scripts>
<OnShow>
self:SetHeight(RealmWizardRealmText:GetHeight()+RealmWizardRealmLabel:GetHeight()+40);
</OnShow>
</Scripts>
</Frame>
<Frame name="RealmWizardCategory">
<Size>
<AbsDimension x="275" y="200"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="RealmWizardRealm" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString name="RealmWizardCategoryLabel" inherits="GlueFontNormalLarge" justifyH="LEFT" text="CATEGORY_DESCRIPTION">
<Size>
<AbsDimension x="255" y="0"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="15" y="-10"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="RealmWizardCategoryText" inherits="GlueFontCharacterCreate" justifyH="LEFT" text="CATEGORY_DESCRIPTION_TEXT">
<Size>
<AbsDimension x="235" y="0"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="RealmWizardCategoryLabel" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-5"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Backdrop bgFile="Interface\Glues\Common\Glue-Tooltip-Background" edgeFile="Interface\Glues\Common\Glue-Tooltip-Border" tile="true">
<BackgroundInsets>
<AbsInset left="10" right="5" top="4" bottom="9"/>
</BackgroundInsets>
<TileSize>
<AbsValue val="16"/>
</TileSize>
<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
</Backdrop>
<Scripts>
<OnShow>
self:SetHeight(RealmWizardCategoryText:GetHeight()+RealmWizardCategoryLabel:GetHeight()+40);
</OnShow>
</Scripts>
</Frame>
<Frame name="RealmWizardGametype">
<Size>
<AbsDimension x="275" y="200"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="RealmWizardCategory" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString name="RealmWizardGametypeLabel" inherits="GlueFontNormalLarge" justifyH="LEFT">
<Size>
<AbsDimension x="255" y="0"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="15" y="-10"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="RealmWizardGametypeText" inherits="GlueFontCharacterCreate" justifyH="LEFT">
<Size>
<AbsDimension x="235" y="0"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="RealmWizardGametypeLabel" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-5"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Backdrop bgFile="Interface\Glues\Common\Glue-Tooltip-Background" edgeFile="Interface\Glues\Common\Glue-Tooltip-Border" tile="true">
<BackgroundInsets>
<AbsInset left="10" right="5" top="4" bottom="9"/>
</BackgroundInsets>
<TileSize>
<AbsValue val="16"/>
</TileSize>
<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
</Backdrop>
</Frame>
<Frame name="RealmWizardLocation">
<Size>
<AbsDimension x="280" y="200"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="-20" y="-180"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString name="RealmWizardLocationLabel" inherits="GlueFontNormal" justifyH="LEFT" text="CHOOSE_LOCATION">
<Size>
<AbsDimension x="260" y="0"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="15" y="-10"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="RealmWizardLocationLabelDescription" inherits="GlueFontHighlightSmall" justifyH="LEFT" text="CHOOSE_LOCATION_DESCRIPTION">
<Size>
<AbsDimension x="235" y="0"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="RealmWizardLocationLabel" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-5"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<CheckButton name="RealmWizardLocationButton1" inherits="RealmWizardLocationButtonTemplate" id="1">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="RealmWizardLocationLabelDescription" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-5"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="RealmWizardLocationButton2" inherits="RealmWizardLocationButtonTemplate" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="RealmWizardLocationButton1" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="4"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="RealmWizardLocationButton3" inherits="RealmWizardLocationButtonTemplate" id="3">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="RealmWizardLocationButton2" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="4"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="RealmWizardLocationButton4" inherits="RealmWizardLocationButtonTemplate" id="4">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="RealmWizardLocationButton3" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="4"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="RealmWizardLocationButton5" inherits="RealmWizardLocationButtonTemplate" id="5">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="RealmWizardLocationButton4" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="4"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="RealmWizardLocationButton6" inherits="RealmWizardLocationButtonTemplate" id="6">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="RealmWizardLocationButton5" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="4"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="RealmWizardLocationButton7" inherits="RealmWizardLocationButtonTemplate" id="7">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="RealmWizardLocationButton6" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="4"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="RealmWizardLocationButton8" inherits="RealmWizardLocationButtonTemplate" id="8">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="RealmWizardLocationButton7" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="4"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
</Frames>
<Backdrop bgFile="Interface\Glues\Common\Glue-Tooltip-Background" edgeFile="Interface\Glues\Common\Glue-Tooltip-Border" tile="true">
<BackgroundInsets>
<AbsInset left="10" right="5" top="4" bottom="9"/>
</BackgroundInsets>
<TileSize>
<AbsValue val="16"/>
</TileSize>
<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
</Backdrop>
</Frame>
<Frame name="RealmWizardStyle">
<Size>
<AbsDimension x="280" y="220"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="RealmWizardLocation" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString name="RealmWizardStyleLabel" inherits="GlueFontNormal" justifyH="LEFT" text="CHOOSE_REALM_STYLE">
<Size>
<AbsDimension x="255" y="0"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="15" y="-10"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<CheckButton name="RealmWizardGameTypeButton1" inherits="RealmWizardGameTypeButtonTemplate" id="1">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="RealmWizardStyleLabel" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-10"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
_G[self:GetName().."Text"]:SetText(GAMETYPE_PVE);
</OnLoad>
<OnClick>
if ( self:GetChecked() ) then
PlaySound("igMainMenuOptionCheckBoxOff");
else
PlaySound("igMainMenuOptionCheckBoxOn");
end
if ( not self:GetChecked() ) then
RealmWizardGameTypeButton1:SetChecked(1);
end
RealmWizardGametypeLabel:SetText(GAMETYPE_PVE);
RealmWizardGametypeText:SetText(GAMETYPE_PVE_TEXT);
RealmWizardGametype:SetHeight(RealmWizardGametypeText:GetHeight()+RealmWizardGametypeLabel:GetHeight()+40);
RealmWizardGameTypeButton2:SetChecked(0);
RealmWizardGameTypeButton3:SetChecked(0);
RealmWizardGameTypeButton4:SetChecked(0);
</OnClick>
</Scripts>
</CheckButton>
<CheckButton name="RealmWizardGameTypeButton2" inherits="RealmWizardGameTypeButtonTemplate" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="RealmWizardGameTypeButton1" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
_G[self:GetName().."Text"]:SetText(GAMETYPE_PVP);
</OnLoad>
<OnClick>
if ( self:GetChecked() ) then
PlaySound("igMainMenuOptionCheckBoxOff");
else
PlaySound("igMainMenuOptionCheckBoxOn");
end
if ( not self:GetChecked() ) then
RealmWizardGameTypeButton2:SetChecked(1);
end
RealmWizardGametypeLabel:SetText(GAMETYPE_PVP);
RealmWizardGametypeText:SetText(GAMETYPE_PVP_TEXT);
RealmWizardGametype:SetHeight(RealmWizardGametypeText:GetHeight()+RealmWizardGametypeLabel:GetHeight()+40);
RealmWizardGameTypeButton1:SetChecked(0);
RealmWizardGameTypeButton3:SetChecked(0);
RealmWizardGameTypeButton4:SetChecked(0);
</OnClick>
</Scripts>
</CheckButton>
<CheckButton name="RealmWizardGameTypeButton3" inherits="RealmWizardGameTypeButtonTemplate" id="3">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="RealmWizardGameTypeButton2" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
_G[self:GetName().."Text"]:SetText(GAMETYPE_RP);
</OnLoad>
<OnClick>
if ( self:GetChecked() ) then
PlaySound("igMainMenuOptionCheckBoxOff");
else
PlaySound("igMainMenuOptionCheckBoxOn");
end
if ( not self:GetChecked() ) then
RealmWizardGameTypeButton3:SetChecked(1);
end
RealmWizardGametypeLabel:SetText(GAMETYPE_RP);
RealmWizardGametypeText:SetText(GAMETYPE_RP_TEXT);
RealmWizardGametype:SetHeight(RealmWizardGametypeText:GetHeight()+RealmWizardGametypeLabel:GetHeight()+40);
RealmWizardGameTypeButton1:SetChecked(0);
RealmWizardGameTypeButton2:SetChecked(0);
RealmWizardGameTypeButton4:SetChecked(0);
</OnClick>
</Scripts>
</CheckButton>
<CheckButton name="RealmWizardGameTypeButton4" inherits="RealmWizardGameTypeButtonTemplate" id="4">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="RealmWizardGameTypeButton3" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
_G[self:GetName().."Text"]:SetText(GAMETYPE_RPPVP);
</OnLoad>
<OnClick>
if ( self:GetChecked() ) then
PlaySound("igMainMenuOptionCheckBoxOff");
else
PlaySound("igMainMenuOptionCheckBoxOn");
end
if ( not self:GetChecked() ) then
RealmWizardGameTypeButton4:SetChecked(1);
end
RealmWizardGametypeLabel:SetText(GAMETYPE_RPPVP);
RealmWizardGametypeText:SetText(GAMETYPE_RPPVP_TEXT);
RealmWizardGametype:SetHeight(RealmWizardGametypeText:GetHeight()+RealmWizardGametypeLabel:GetHeight()+40);
RealmWizardGameTypeButton1:SetChecked(0);
RealmWizardGameTypeButton2:SetChecked(0);
RealmWizardGameTypeButton3:SetChecked(0);
</OnClick>
</Scripts>
</CheckButton>
<Button name="RealmWizardSuggest" inherits="GlueButtonSmallTemplateBlue" text="SUGGEST_REALM">
<Anchors>
<Anchor point="BOTTOM">
<Offset>
<AbsDimension x="0" y="10"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
PlaySound("gsTitleOptionOK");
if ( RealmWizardGameTypeButton4:GetChecked() ) then
SetPreferredInfo(RealmWizard.selectedCategory, 1, 1);
else
SetPreferredInfo(RealmWizard.selectedCategory, RealmWizardGameTypeButton2:GetChecked(), RealmWizardGameTypeButton3:GetChecked());
end
GlueFrameFadeOut(RealmWizardUI, LOGIN_FADE_OUT);
</OnClick>
</Scripts>
</Button>
</Frames>
<Backdrop bgFile="Interface\Glues\Common\Glue-Tooltip-Background" edgeFile="Interface\Glues\Common\Glue-Tooltip-Border" tile="true">
<BackgroundInsets>
<AbsInset left="10" right="5" top="4" bottom="9"/>
</BackgroundInsets>
<TileSize>
<AbsValue val="16"/>
</TileSize>
<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
</Backdrop>
</Frame>
</Frames>
<Scripts>
<OnShow>
GlueFrameFadeIn(self, LOGIN_FADE_IN);
</OnShow>
</Scripts>
</Frame>
<Button name="RealmWizardCancel" inherits="GlueButtonSmallTemplateBlue" text="CANCEL">
<Anchors>
<Anchor point="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-20" y="20"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
PlaySound("gsCharacterSelectionExit");
RealmWizard_Exit();
</OnClick>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnLoad>
RealmWizard_OnLoad(self);
</OnLoad>
<OnShow>
RealmWizard_OnShow(self);
</OnShow>
<OnHide>
RealmWizard_OnHide(self);
</OnHide>
<OnChar>
--RealmWizard_OnChar();
</OnChar>
<OnKeyDown>
RealmWizard_OnKeyDown(key);
</OnKeyDown>
</Scripts>
<FogColor r="0.25" g="0.06" b="0.015"/>
</ModelFFX>
</Ui>