1142 lines
38 KiB
XML
1142 lines
38 KiB
XML
<!-- MoonWell -->
|
|
<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="32"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="0" y="3"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0" right="0.15625" top="0" bottom="1.0"/>
|
|
</Texture>
|
|
<Texture name="$parentMiddleDisabled" file="Interface\PaperDollInfoFrame\UI-Character-ActiveTab">
|
|
<Size>
|
|
<AbsDimension x="88" y="32"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parentLeftDisabled" relativePoint="RIGHT"/>
|
|
</Anchors>
|
|
<TexCoords left="0.15625" right="0.84375" top="0" bottom="1.0"/>
|
|
</Texture>
|
|
<Texture name="$parentRightDisabled" file="Interface\PaperDollInfoFrame\UI-Character-ActiveTab">
|
|
<Size>
|
|
<AbsDimension x="20" y="32"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parentMiddleDisabled" relativePoint="RIGHT"/>
|
|
</Anchors>
|
|
<TexCoords left="0.84375" right="1.0" top="0" bottom="1.0"/>
|
|
</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-Highlight" alphaMode="ADD">
|
|
<Anchors>
|
|
<Anchor point="LEFT">
|
|
<Offset>
|
|
<AbsDimension x="10" y="2"/>
|
|
</Offset>
|
|
</Anchor>
|
|
<Anchor point="RIGHT">
|
|
<Offset>
|
|
<AbsDimension x="-10" y="2"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</HighlightTexture>
|
|
</Button>
|
|
<Button name="RealmSortButtonTemplate" virtual="true">
|
|
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
|
<BackgroundInsets left="4" right="4" top="4" bottom="4"/>
|
|
<TileSize val="16"/>
|
|
<EdgeSize val="16"/>
|
|
<Color r="0" g="0" b="0" a="1"/>
|
|
</Backdrop>
|
|
<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>
|
|
<Scripts>
|
|
<OnEnter>
|
|
self:SetBackdropBorderColor(1, 1, 1, 1);
|
|
self:SetBackdropColor(0, 0, 0, 0.8);
|
|
GlueTooltip_SetOwner(self, nil, -50, 0);
|
|
if (self.tooltipText) then
|
|
GlueTooltip_SetText(self.tooltipText);
|
|
else
|
|
GlueTooltip_SetText(self:GetText());
|
|
end
|
|
</OnEnter>
|
|
<OnLeave>
|
|
self:SetBackdropBorderColor(0, 0, 0, 0);
|
|
self:SetBackdropColor(0, 0, 0, 0);
|
|
GlueTooltip:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
<Button name="RealmListRealmButtonTemplate" virtual="true">
|
|
<Size>
|
|
<AbsDimension x="200" y="16"/>
|
|
</Size>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<FontString name="$parentNameText" inherits="GlueFontNormalLeft" layer="ARTWORK">
|
|
<Size>
|
|
<AbsDimension x="60" y="12"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="LEFT">
|
|
<Offset>
|
|
<AbsDimension x="32" y="12"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
|
|
<!-- Estado del Reino de reino -->
|
|
<FontString name="$parentTypeLabel" inherits="GlueFontHighlightSmall" text="Тип мира" layer="ARTWORK">
|
|
<Size>
|
|
<AbsDimension x="150" y="12"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parentNameText" relativePoint="BOTTOMLEFT">
|
|
<Offset>
|
|
<AbsDimension x="-50" y="-54"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentTypeText" inherits="GlueFontHighlightSmall" layer="ARTWORK">
|
|
<Size>
|
|
<AbsDimension x="100" y="12"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parentTypeLabel" relativePoint="RIGHT">
|
|
<Offset>
|
|
<AbsDimension x="5" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
|
|
<!-- Personajes -->
|
|
<FontString name="$parentCharsLabel" inherits="GlueFontHighlightSmall" text="Персонажи" layer="ARTWORK">
|
|
<Size>
|
|
<AbsDimension x="100" y="12"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parentTypeLabel" relativePoint="BOTTOMLEFT">
|
|
<Offset>
|
|
<AbsDimension x="7" y="-20"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentCharsText" inherits="GlueFontHighlightSmall" layer="ARTWORK">
|
|
<Size>
|
|
<AbsDimension x="50" y="12"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parentCharsLabel" relativePoint="RIGHT">
|
|
<Offset>
|
|
<AbsDimension x="5" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
|
|
<!-- Población -->
|
|
<FontString name="$parentLoadLabel" inherits="GlueFontHighlightSmall" text="Население" layer="ARTWORK">
|
|
<Size>
|
|
<AbsDimension x="100" y="12"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parentCharsLabel" relativePoint="BOTTOMLEFT">
|
|
<Offset>
|
|
<AbsDimension x="-3" y="-20"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentLoadText" inherits="GlueFontHighlightSmall" layer="ARTWORK">
|
|
<Size>
|
|
<AbsDimension x="100" y="12"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parentLoadLabel" relativePoint="RIGHT">
|
|
<Offset>
|
|
<AbsDimension x="5" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
|
|
<!-- Expansión Actual -->
|
|
<FontString name="$parentExpansionLabel" inherits="GlueFontHighlightSmall" text="Дополнение" layer="ARTWORK">
|
|
<Size>
|
|
<AbsDimension x="100" y="12"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parentLoadLabel" relativePoint="BOTTOMLEFT">
|
|
<Offset>
|
|
<AbsDimension x="0" y="-20"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parentExpansionText" inherits="GlueFontHighlightSmall" layer="ARTWORK">
|
|
<Size>
|
|
<AbsDimension x="150" y="12"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parentExpansionLabel" relativePoint="RIGHT">
|
|
<Offset>
|
|
<AbsDimension x="5" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="OVERLAY">
|
|
<!-- Flecha para Tipo -->
|
|
<Texture name="$parentTypeArrow" file="Interface\Glues\Common\Arrow">
|
|
<Size>
|
|
<AbsDimension x="12" y="12"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parentTypeText" relativePoint="RIGHT">
|
|
<Offset>
|
|
<AbsDimension x="-130" y="-1"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</Texture>
|
|
|
|
<!-- Flecha para Personajes -->
|
|
<Texture name="$parentCharsArrow" file="Interface\Glues\Common\Arrow">
|
|
<Size>
|
|
<AbsDimension x="12" y="12"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parentCharsText" relativePoint="RIGHT">
|
|
<Offset>
|
|
<AbsDimension x="-73" y="-1"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</Texture>
|
|
|
|
<!-- Flecha para Población -->
|
|
<Texture name="$parentLoadArrow" file="Interface\Glues\Common\Arrow">
|
|
<Size>
|
|
<AbsDimension x="12" y="12"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parentLoadText" relativePoint="RIGHT">
|
|
<Offset>
|
|
<AbsDimension x="-125" y="-1"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</Texture>
|
|
|
|
<!-- Flecha para Expansión -->
|
|
<Texture name="$parentExpansionArrow" file="Interface\Glues\Common\Arrow">
|
|
<Size>
|
|
<AbsDimension x="12" y="12"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parentExpansionText" relativePoint="RIGHT">
|
|
<Offset>
|
|
<AbsDimension x="-165" y="-1"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<Button name="$parentAcceptButton" inherits="GlueButtonTemplateBlue" text="ACCEPT">
|
|
<Size>
|
|
<AbsDimension x="135" y="45"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativePoint="RIGHT">
|
|
<Offset>
|
|
<AbsDimension x="-35" y="-320"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
self:GetParent():Click();
|
|
RealmList_OnOk();
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
</Frames>
|
|
<Scripts>
|
|
<OnEnter>
|
|
if (self.major) then
|
|
GlueTooltip_SetOwner(self, nil, -50, 0);
|
|
GlueTooltip_SetText(string.format(
|
|
"Подробности:\nНазвание: %s\nТип: %s\nПерсонажи: %s\nНаселение: %s\nВерсия: %s.%s.%s",
|
|
self.name,
|
|
_G[self:GetName().."TypeText"]:GetText(),
|
|
_G[self:GetName().."CharsText"]:GetText(),
|
|
_G[self:GetName().."LoadText"]:GetText(),
|
|
self.major, self.minor, self.revision
|
|
));
|
|
end
|
|
</OnEnter>
|
|
<OnLeave>
|
|
GlueTooltip:Hide();
|
|
</OnLeave>
|
|
<OnClick>
|
|
RealmSelectButton_OnClick(self, self:GetID());
|
|
</OnClick>
|
|
<OnDoubleClick>
|
|
RealmSelectButton_OnDoubleClick(self, self:GetID());
|
|
</OnDoubleClick>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
<Frame name="RealmList" toplevel="true" parent="GlueParent" setAllPoints="true" enableMouse="true" enableKeyboard="true" frameStrata="DIALOG" hidden="true">
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture setAllPoints="true">
|
|
<Color a="0.95" r="0" g="0" b="0"/>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<Frame name="RealmListBackground">
|
|
<Size>
|
|
<AbsDimension x="600" 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>
|
|
<!--<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
|
<BackgroundInsets left="4" right="4" top="4" bottom="4"/>
|
|
<TileSize val="16"/>
|
|
<EdgeSize val="16"/>
|
|
<Color r="0" g="0" b="0" a="1"/>
|
|
</Backdrop>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<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" hidden="true">
|
|
<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, nil, -50, 0);
|
|
GlueTooltip_SetText(REALMLIST_REALMNAME_TOOLTIP);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
GlueTooltip:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="RealmTypeSort" inherits="RealmSortButtonTemplate" text="REALM_TYPE" hidden="true">
|
|
<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, nil, -50, 0);
|
|
GlueTooltip_SetText(REALMLIST_TYPE_TOOLTIP);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
GlueTooltip:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="RealmCharactersSort" inherits="RealmSortButtonTemplate" text="REALM_CHARACTERS" hidden="true">
|
|
<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, nil, -50, 0);
|
|
GlueTooltip_SetText(REALMLIST_NUMCHARACTERS_TOOLTIP);
|
|
</OnEnter>
|
|
<OnLeave>
|
|
GlueTooltip:Hide();
|
|
</OnLeave>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="RealmLoadSort" inherits="RealmSortButtonTemplate" text="REALM_LOAD" hidden="true">
|
|
<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, nil, -180, 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="-15"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</Button>
|
|
<Button name="RealmListTab2" inherits="RealmListTabButtonTemplate" id="2">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="RealmListTab1" relativePoint="RIGHT">
|
|
<Offset>
|
|
<AbsDimension x="-15" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</Button>
|
|
<Button name="RealmListTab3" inherits="RealmListTabButtonTemplate" id="3">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="RealmListTab2" relativePoint="RIGHT">
|
|
<Offset>
|
|
<AbsDimension x="-15" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</Button>
|
|
<Button name="RealmListTab4" inherits="RealmListTabButtonTemplate" id="4">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="RealmListTab3" relativePoint="RIGHT">
|
|
<Offset>
|
|
<AbsDimension x="-15" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</Button>
|
|
<Button name="RealmListTab5" inherits="RealmListTabButtonTemplate" id="5">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="RealmListTab4" relativePoint="RIGHT">
|
|
<Offset>
|
|
<AbsDimension x="-15" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</Button>
|
|
<Button name="RealmListTab6" inherits="RealmListTabButtonTemplate" id="6">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="RealmListTab5" relativePoint="RIGHT">
|
|
<Offset>
|
|
<AbsDimension x="-15" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</Button>
|
|
<Button name="RealmListTab7" inherits="RealmListTabButtonTemplate" id="7">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="RealmListTab6" relativePoint="RIGHT">
|
|
<Offset>
|
|
<AbsDimension x="-15" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</Button>
|
|
<Button name="RealmListTab8" inherits="RealmListTabButtonTemplate" id="8">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="RealmListTab7" relativePoint="RIGHT">
|
|
<Offset>
|
|
<AbsDimension x="-15" y="0"/>
|
|
</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:Hide();
|
|
</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="-150" y="-56"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</Button>
|
|
<Button name="RealmListRealmButton2" inherits="RealmListRealmButtonTemplate" id="2">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="RealmListRealmButton1" relativePoint="BOTTOM">
|
|
<Offset>
|
|
<AbsDimension x="650" y="16"/>
|
|
</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="GlueButtonTemplateBlue" text="CANCEL">
|
|
<Size>
|
|
<AbsDimension x="125" y="45"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT">
|
|
<Offset>
|
|
<AbsDimension x="300" y="-110"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
PlaySound("gsLoginChangeRealmCancel");
|
|
RealmList_OnCancel();
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="RealmListOkButton" inherits="GlueButtonTemplateBlue" text="OKAY">
|
|
<Size>
|
|
<AbsDimension x="136" y="36"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeTo="RealmListCancelButton" relativePoint="LEFT">
|
|
<Offset>
|
|
<AbsDimension x="-2" 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" 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 = getglobal(self:GetName().."ScrollBar");
|
|
scrollbar:SetValue(offset);
|
|
local min;
|
|
local max;
|
|
min, max = scrollbar:GetMinMaxValues();
|
|
if ( offset == 0 ) then
|
|
getglobal(scrollbar:GetName().."ScrollUpButton"):Disable();
|
|
else
|
|
getglobal(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
|
|
getglobal(scrollbar:GetName().."ScrollDownButton"):Disable();
|
|
else
|
|
getglobal(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>
|
|
</Ui>
|