<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="RealmList.lua"/>
<Button name="RealmListTabButtonTemplate" virtual="true">
<Size>
<AbsDimension x="115" y="32"/>
</Size>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentLeftDisabled" file="Interface\PaperDollInfoFrame\UI-Character-ActiveTab">
<Size>
<AbsDimension x="20" y="35"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="3"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="0.15625" top="0" bottom="0.546875"/>
</Texture>
<Texture name="$parentMiddleDisabled" file="Interface\PaperDollInfoFrame\UI-Character-ActiveTab">
<Size>
<AbsDimension x="88" y="35"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentLeftDisabled" relativePoint="RIGHT"/>
</Anchors>
<TexCoords left="0.15625" right="0.84375" top="0" bottom="0.546875"/>
</Texture>
<Texture name="$parentRightDisabled" file="Interface\PaperDollInfoFrame\UI-Character-ActiveTab">
<Size>
<AbsDimension x="20" y="35"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentMiddleDisabled" relativePoint="RIGHT"/>
</Anchors>
<TexCoords left="0.84375" right="1.0" top="0" bottom="0.546875"/>
</Texture>
<Texture name="$parentLeft" file="Interface\PaperDollInfoFrame\UI-Character-InActiveTab">
<Size>
<AbsDimension x="20" y="32"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
<TexCoords left="0" right="0.15625" top="0" bottom="1.0"/>
</Texture>
<Texture name="$parentMiddle" file="Interface\PaperDollInfoFrame\UI-Character-InActiveTab">
<Size>
<AbsDimension x="88" y="32"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
</Anchors>
<TexCoords left="0.15625" right="0.84375" top="0" bottom="1.0"/>
</Texture>
<Texture name="$parentRight" file="Interface\PaperDollInfoFrame\UI-Character-InActiveTab">
<Size>
<AbsDimension x="20" y="32"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT"/>
</Anchors>
<TexCoords left="0.84375" right="1.0" top="0" bottom="1.0"/>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnClick>
GlueTemplates_SetTab(RealmList, self:GetID());
RealmListTab_OnClick(self);
</OnClick>
</Scripts>
<ButtonText name="$parentText">
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="2"/>
</Offset>
</Anchor>
</Anchors>
</ButtonText>
<NormalFont style="GlueFontNormalSmall"/>
<HighlightFont style="GlueFontHighlightSmall"/>
<DisabledFont style="GlueFontHighlightSmall"/>
<HighlightTexture name="$parentHighlightTexture" file="Interface\PaperDollInfoFrame\UI-Character-Tab-RealHighlight" alphaMode="ADD">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="5"/>
</Offset>
</Anchor>
<Anchor point="BOTTOMRIGHT">
<Offset>
<AbsDimension x="0" y="1"/>
</Offset>
</Anchor>
</Anchors>
</HighlightTexture>
</Button>
<Button name="RealmSortButtonTemplate" virtual="true">
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentLeft" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
<Size>
<AbsDimension x="5" y="19"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
<TexCoords left="0" right="0.078125" top="0" bottom="0.59375"/>
</Texture>
<Texture name="$parentRight" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
<Size>
<AbsDimension x="4" y="19"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT"/>
</Anchors>
<TexCoords left="0.90625" right="0.96875" top="0" bottom="0.59375"/>
</Texture>
<Texture name="$parentMiddle" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
<Size>
<AbsDimension x="10" y="19"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
<Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT"/>
</Anchors>
<TexCoords left="0.078125" right="0.90625" top="0" bottom="0.59375"/>
</Texture>
</Layer>
</Layers>
<ButtonText name="$parentText">
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="8" y="0"/>
</Offset>
</Anchor>
</Anchors>
</ButtonText>
<NormalFont style="GlueFontHighlightSmall"/>
<NormalTexture name="$parentArrow" file="Interface\Buttons\UI-SortArrow">
<Size>
<AbsDimension x="9" y="8"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentText" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="-2"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="0.5625" top="0" bottom="1.0"/>
</NormalTexture>
<HighlightTexture file="Interface\PaperDollInfoFrame\UI-Character-Tab-Highlight" alphaMode="ADD">
<Size>
<AbsDimension x="5" y="24"/>
</Size>
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
<Anchor point="RIGHT">
<Offset>
<AbsDimension x="4" y="0"/>
</Offset>
</Anchor>
</Anchors>
</HighlightTexture>
</Button>
<Button name="RealmListRealmButtonTemplate" virtual="true">
<Size>
<AbsDimension x="512" y="16"/>
</Size>
<Layers>
<Layer level="BACKGROUND">
<FontString name="$parentPVP" inherits="GlueFontRedSmall">
<Size>
<AbsDimension x="60" y="12"/>
</Size>
<Anchors>
<Anchor point="LEFT"/>
</Anchors>
</FontString>
<FontString name="$parentPlayers" inherits="GlueFontHighlightSmall">
<Size>
<AbsDimension x="32" y="12"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentPVP" relativePoint="RIGHT">
<Offset>
<AbsDimension x="40" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentLoad" inherits="GlueFontHighlightSmall">
<Size>
<AbsDimension x="110" y="12"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentPlayers" relativePoint="RIGHT">
<Offset>
<AbsDimension x="45" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
_G[self:GetName().."PVP"]:SetPoint("LEFT", self:GetName().."NormalText", "RIGHT", 10, 0);
</OnLoad>
<OnEnter>
if (self.major) then
GlueTooltip:SetOwner(self, -50, 0);
GlueTooltip:SetText(self.major.."."..self.minor.."."..self.revision.." "..self.build.." Type: "..self.type);
end
</OnEnter>
<OnLeave>
if (self.major) then
GlueTooltip:Hide();
end
</OnLeave>
<OnClick>
RealmSelectButton_OnClick(self, self:GetID());
</OnClick>
<OnDoubleClick>
RealmSelectButton_OnDoubleClick(self, self:GetID());
</OnDoubleClick>
</Scripts>
<ButtonText name="$parentNormalText">
<Size>
<AbsDimension x="220" y="12"/>
</Size>
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</ButtonText>
<NormalFont style="GlueFontNormalLeft"/>
<HighlightFont style="GlueFontHighlightLeft"/>
<DisabledFont style="GlueFontDisableLeft"/>
</Button>
<ModelFFX name="RealmListUI" toplevel="true" parent="GlueParent" setAllPoints="true" enableMouse="true" enableKeyboard="true" hidden="true" fogNear="0" fogFar="1200" glow="0.08">
<Frames>
<Frame name="RealmList" toplevel="true" setAllPoints="true" frameStrata="DIALOG">
<Layers>
<Layer level="BACKGROUND">
<Texture setAllPoints="true">
<Color a="0.75" r="0" g="0" b="0"/>
</Texture>
</Layer>
</Layers>
<Frames>
<Frame name="RealmListBackground">
<Size>
<AbsDimension x="640" y="512"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="24" y="0"/>
</Offset>
</Anchor>
</Anchors>
<HitRectInsets>
<AbsInset left="0" right="44" top="0" bottom="13"/>
</HitRectInsets>
<Layers>
<Layer level="BACKGROUND">
<Texture file="Interface\HelpFrame\HelpFrame-TopLeft">
<Size>
<AbsDimension x="256" y="256"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
</Texture>
<Texture file="Interface\HelpFrame\HelpFrame-Top">
<Size>
<AbsDimension x="256" y="256"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="256" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture file="Interface\HelpFrame\HelpFrame-TopRight">
<Size>
<AbsDimension x="128" y="256"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT"/>
</Anchors>
</Texture>
<Texture file="Interface\HelpFrame\HelpFrame-BotLeft">
<Size>
<AbsDimension x="256" y="256"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT"/>
</Anchors>
</Texture>
<Texture file="Interface\HelpFrame\HelpFrame-Bottom">
<Size>
<AbsDimension x="256" y="256"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset>
<AbsDimension x="256" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture file="Interface\HelpFrame\HelpFrame-BotRight">
<Size>
<AbsDimension x="128" y="256"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT"/>
</Anchors>
</Texture>
</Layer>
<Layer level="ARTWORK">
<Texture name="RealmListHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
<Size>
<AbsDimension x="256" y="64"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="-12" y="12"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<FontString inherits="GlueFontNormalSmall" text="SERVER_SELECTION">
<Anchors>
<Anchor point="TOP" relativeTo="RealmListHeader">
<Offset>
<AbsDimension x="0" y="-14"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="RealmNameSort" inherits="RealmSortButtonTemplate" text="REALM_NAME">
<Size>
<AbsDimension x="223" y="19"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="21" y="-50"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
SortRealms("name");
</OnClick>
<OnEnter>
GlueTooltip:SetOwner(self, -325, 0);
GlueTooltip:SetText(REALMLIST_REALMNAME_TOOLTIP);
</OnEnter>
<OnLeave>
GlueTooltip:Hide();
</OnLeave>
</Scripts>
</Button>
<Button name="RealmTypeSort" inherits="RealmSortButtonTemplate" text="REALM_TYPE">
<Size>
<AbsDimension x="80" y="19"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="RealmNameSort" relativePoint="RIGHT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
SortRealms("mode");
</OnClick>
<OnEnter>
GlueTooltip:SetOwner(self, -200, 0);
GlueTooltip:SetText(REALMLIST_TYPE_TOOLTIP);
</OnEnter>
<OnLeave>
GlueTooltip:Hide();
</OnLeave>
</Scripts>
</Button>
<Button name="RealmCharactersSort" inherits="RealmSortButtonTemplate" text="REALM_CHARACTERS">
<Size>
<AbsDimension x="100" y="19"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="RealmTypeSort" relativePoint="RIGHT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
SortRealms("characters");
</OnClick>
<OnEnter>
GlueTooltip:SetOwner(self, -165, 0);
GlueTooltip:SetText(REALMLIST_NUMCHARACTERS_TOOLTIP);
</OnEnter>
<OnLeave>
GlueTooltip:Hide();
</OnLeave>
</Scripts>
</Button>
<Button name="RealmLoadSort" inherits="RealmSortButtonTemplate" text="REALM_LOAD">
<Size>
<AbsDimension x="138" y="19"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="RealmCharactersSort" relativePoint="RIGHT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
SortRealms("load");
</OnClick>
<OnEnter>
GlueTooltip:SetOwner(self, -280, 0);
GlueTooltip:SetText(REALMLIST_POPULATION_TOOLTIP);
</OnEnter>
<OnLeave>
GlueTooltip:Hide();
</OnLeave>
</Scripts>
</Button>
<Button name="RealmListTab1" inherits="RealmListTabButtonTemplate" id="1">
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="11" y="-16"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="RealmListCloseButton" inherits="GlueCloseButton">
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="-42" y="-3"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
RealmList_OnCancel();
</OnClick>
</Scripts>
</Button>
<Frame name="RealmListHighlight" hidden="true">
<Size>
<AbsDimension x="557" y="16"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture name="RealmListHighlightTexture" file="Interface\QuestFrame\UI-QuestLogTitleHighlight" alphaMode="ADD"/>
</Layer>
</Layers>
</Frame>
<Button name="RealmListRealmButton1" inherits="RealmListRealmButtonTemplate" hidden="true" id="1">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="22" y="-56"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="RealmListRealmButton2" inherits="RealmListRealmButtonTemplate" id="2">
<Anchors>
<Anchor point="TOP" relativeTo="RealmListRealmButton1" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="RealmListRealmButton3" inherits="RealmListRealmButtonTemplate" id="3">
<Anchors>
<Anchor point="TOP" relativeTo="RealmListRealmButton2" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="RealmListRealmButton4" inherits="RealmListRealmButtonTemplate" id="4">
<Anchors>
<Anchor point="TOP" relativeTo="RealmListRealmButton3" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="RealmListRealmButton5" inherits="RealmListRealmButtonTemplate" id="5">
<Anchors>
<Anchor point="TOP" relativeTo="RealmListRealmButton4" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="RealmListRealmButton6" inherits="RealmListRealmButtonTemplate" id="6">
<Anchors>
<Anchor point="TOP" relativeTo="RealmListRealmButton5" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="RealmListRealmButton7" inherits="RealmListRealmButtonTemplate" id="7">
<Anchors>
<Anchor point="TOP" relativeTo="RealmListRealmButton6" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="RealmListRealmButton8" inherits="RealmListRealmButtonTemplate" id="8">
<Anchors>
<Anchor point="TOP" relativeTo="RealmListRealmButton7" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="RealmListRealmButton9" inherits="RealmListRealmButtonTemplate" id="9">
<Anchors>
<Anchor point="TOP" relativeTo="RealmListRealmButton8" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="RealmListRealmButton10" inherits="RealmListRealmButtonTemplate" id="10">
<Anchors>
<Anchor point="TOP" relativeTo="RealmListRealmButton9" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="RealmListRealmButton11" inherits="RealmListRealmButtonTemplate" id="11">
<Anchors>
<Anchor point="TOP" relativeTo="RealmListRealmButton10" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="RealmListRealmButton12" inherits="RealmListRealmButtonTemplate" id="12">
<Anchors>
<Anchor point="TOP" relativeTo="RealmListRealmButton11" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="RealmListRealmButton13" inherits="RealmListRealmButtonTemplate" id="13">
<Anchors>
<Anchor point="TOP" relativeTo="RealmListRealmButton12" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="RealmListRealmButton14" inherits="RealmListRealmButtonTemplate" id="14">
<Anchors>
<Anchor point="TOP" relativeTo="RealmListRealmButton13" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="RealmListRealmButton15" inherits="RealmListRealmButtonTemplate" id="15">
<Anchors>
<Anchor point="TOP" relativeTo="RealmListRealmButton14" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="RealmListRealmButton16" inherits="RealmListRealmButtonTemplate" id="16">
<Anchors>
<Anchor point="TOP" relativeTo="RealmListRealmButton15" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="RealmListRealmButton17" inherits="RealmListRealmButtonTemplate" id="17">
<Anchors>
<Anchor point="TOP" relativeTo="RealmListRealmButton16" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="RealmListRealmButton18" inherits="RealmListRealmButtonTemplate" id="18">
<Anchors>
<Anchor point="TOP" relativeTo="RealmListRealmButton17" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-4"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<ScrollFrame name="RealmListScrollFrame" inherits="GlueScrollFrameTemplate">
<Size>
<AbsDimension x="510" y="410"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="49" y="-53"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentScrollBarTop" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
<Size>
<AbsDimension x="31" y="256"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-2" y="5"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
</Texture>
<Texture name="$parentScrollBarBottom" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
<Size>
<AbsDimension x="31" y="106"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-2" y="-2"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
</Texture>
<Texture name="$parentScrollBarMiddle" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
<Size>
<AbsDimension x="31" y="60"/>
</Size>
<Anchors>
<Anchor point="TOP" relativeTo="$parentScrollBarTop" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
<Anchor point="BOTTOM" relativeTo="$parentScrollBarBottom" relativePoint="TOP">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="0.484375" top=".75" bottom="1.0"/>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnVerticalScroll>
RealmListScrollFrame_OnVerticalScroll(self, offset);
</OnVerticalScroll>
</Scripts>
<ScrollChild>
<Frame name="RealmListScrollFrameScrollChildFrame">
<Size>
<AbsDimension x="510" y="395"/>
</Size>
</Frame>
</ScrollChild>
</ScrollFrame>
<Button name="RealmListCancelButton" inherits="GlueDialogButtonTemplate" text="CANCEL">
<Size>
<AbsDimension x="125" y="35"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-46" y="13"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
PlaySound("gsLoginChangeRealmCancel");
RealmList_OnCancel();
</OnClick>
</Scripts>
</Button>
<Button name="RealmListOkButton" inherits="GlueDialogButtonTemplate" text="OKAY">
<Size>
<AbsDimension x="125" y="35"/>
</Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="RealmListCancelButton" relativePoint="LEFT">
<Offset>
<AbsDimension x="8" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
PlaySound("gsLoginChangeRealmOK");
RealmList_OnOk();
</OnClick>
</Scripts>
</Button>
</Frames>
</Frame>
</Frames>
<Scripts>
<OnLoad>
RealmList_OnLoad(self);
</OnLoad>
<OnEvent>
RealmList_OnEvent(self, event);
</OnEvent>
<OnKeyDown>
RealmList_OnKeyDown(key);
</OnKeyDown>
<OnShow>
RealmList_OnShow(self);
</OnShow>
<OnHide>
RealmList_OnHide();
</OnHide>
<OnUpdate>
RealmList_OnUpdate(self, elapsed);
</OnUpdate>
</Scripts>
</Frame>
<Frame name="RealmHelpFrame" toplevel="true" hidden="true" frameStrata="FULLSCREEN">
<Size>
<AbsDimension x="640" y="512"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<HitRectInsets>
<AbsInset left="0" right="44" top="0" bottom="13"/>
</HitRectInsets>
<Layers>
<Layer level="BACKGROUND">
<Texture file="Interface\HelpFrame\HelpFrame-TopLeft">
<Size>
<AbsDimension x="256" y="256"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
</Texture>
<Texture file="Interface\HelpFrame\HelpFrame-Top">
<Size>
<AbsDimension x="256" y="256"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="256" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture file="Interface\Glues\Login\Glues-TOS-TopRight">
<Size>
<AbsDimension x="128" y="256"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT"/>
</Anchors>
</Texture>
<Texture file="Interface\HelpFrame\HelpFrame-BotLeft">
<Size>
<AbsDimension x="256" y="256"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT"/>
</Anchors>
</Texture>
<Texture file="Interface\HelpFrame\HelpFrame-Bottom">
<Size>
<AbsDimension x="256" y="256"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset>
<AbsDimension x="256" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture file="Interface\HelpFrame\HelpFrame-BotRight">
<Size>
<AbsDimension x="128" y="256"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT"/>
</Anchors>
</Texture>
</Layer>
<Layer level="ARTWORK">
<Texture name="RealmHelpFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
<Size>
<AbsDimension x="420" y="64"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="-12" y="12"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<FontString inherits="GlueFontNormal" text="REALM_HELP_FRAME_TITLE">
<Anchors>
<Anchor point="TOP" relativeTo="RealmHelpFrameHeader">
<Offset>
<AbsDimension x="0" y="-14"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<ScrollFrame name="RealmHelpScrollFrame" inherits="GlueScrollFrameTemplate">
<Size>
<AbsDimension x="540" y="407"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="20" y="-56"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture name="RealmHelpScrollBarTop" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
<Size>
<AbsDimension x="31" y="256"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-2" y="5"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
</Texture>
<Texture name="RealmHelpScrollBarBottom" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
<Size>
<AbsDimension x="31" y="106"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-2" y="-2"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
</Texture>
<Texture name="RealmHelpScrollBarMiddle" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
<Size>
<AbsDimension x="31" y="60"/>
</Size>
<Anchors>
<Anchor point="TOP" relativeTo="RealmHelpScrollBarTop" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
<Anchor point="BOTTOM" relativeTo="RealmHelpScrollBarBottom" relativePoint="TOP">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="0.484375" top=".75" bottom="1.0"/>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnVerticalScroll>
local scrollbar = _G[self:GetName().."ScrollBar"];
scrollbar:SetValue(offset);
local min;
local max;
min, max = scrollbar:GetMinMaxValues();
if ( offset == 0 ) then
_G[scrollbar:GetName().."ScrollUpButton"]:Disable();
else
_G[scrollbar:GetName().."ScrollUpButton"]:Enable();
end
-- HACK: scrollbars do not handle max properly
-- DO NOT CHANGE - without speaking to Mikros/Barris/Thompson
if (scrollbar:GetValue() >= max - 20) then
_G[scrollbar:GetName().."ScrollDownButton"]:Disable();
else
_G[scrollbar:GetName().."ScrollDownButton"]:Enable();
end
</OnVerticalScroll>
</Scripts>
<ScrollChild>
<SimpleHTML name="RealmHelpText">
<Size>
<AbsDimension x="540" y="800"/>
</Size>
<Scripts>
<OnShow>
RealmHelpText_OnShow(self);
</OnShow>
</Scripts>
<FontString inherits="TOSFont"/>
<FontStringHeader1 inherits="GlueFontNormalLarge"/>
<FontStringHeader2 inherits="GlueFontNormal"/>
<FontStringHeader3 inherits="GlueFontNormal"/>
</SimpleHTML>
</ScrollChild>
</ScrollFrame>
<Button name="RealmHelpOkay" inherits="GlueMenuButtonTemplate" text="OKAY">
<Anchors>
<Anchor point="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-53" y="21"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
RealmHelpFrame:Hide();
</OnClick>
</Scripts>
</Button>
</Frames>
</Frame>
</Frames>
<Scripts>
<OnLoad>
SetLoginScreenModel(self);
</OnLoad>
</Scripts>
</ModelFFX>
</Ui>