Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <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="AccountLogin.lua"/>
- <Button name="VirtualKeyPadButtonTemplate" inherits="GlueMenuButtonTemplate" virtual="true">
- <Size x="40" y="24"/>
- <Scripts>
- <OnClick>
- VirtualKeypadButton_OnClick(self);
- </OnClick>
- </Scripts>
- </Button>
- <Button name="AccountNameButton" virtual="true">
- <Size x="250" y="20"/>
- <Layers>
- <Layer level="ARTWORK">
- <Texture name="$parentBGHighlight" file="Interface\PaperDollInfoFrame\UI-Character-Tab-Highlight" alphaMode="ADD" hidden="true">
- <Anchors>
- <Anchor point="LEFT">
- <Offset>
- <AbsDimension x="-20" y="0"/>
- </Offset>
- </Anchor>
- <Anchor point="RIGHT">
- <Offset>
- <AbsDimension x="-10" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Texture>
- </Layer>
- </Layers>
- <Scripts>
- <OnLoad>
- self.BG_Highlight = _G[self:GetName().."BGHighlight"];
- </OnLoad>
- <OnClick>
- WoWAccountSelectButton_OnClick(self);
- </OnClick>
- <OnDoubleClick>
- WoWAccountSelectButton_OnDoubleClick(self);
- </OnDoubleClick>
- </Scripts>
- <ButtonText>
- <Anchors>
- <Anchor point="LEFT">
- <Offset>
- <AbsDimension x="2" y="2"/>
- </Offset>
- </Anchor>
- </Anchors>
- </ButtonText>
- <NormalFont style="GlueFontNormalSmall"/>
- <HighlightFont style="GlueFontHighlightSmall"/>
- <DisabledFont style="GlueFontDisableSmall"/>
- <PushedTexture name="$parentPushedTexture" file="Interface\PaperDollInfoFrame\UI-Character-Tab-Highlight" alphaMode="ADD">
- <Anchors>
- <Anchor point="LEFT">
- <Offset>
- <AbsDimension x="-20" y="0"/>
- </Offset>
- </Anchor>
- <Anchor point="RIGHT">
- <Offset>
- <AbsDimension x="-10" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- </PushedTexture>
- </Button>
- <Frame name="AccountLoginUIResetFrame" toplevel="true" frameStrata="DIALOG" hidden="true">
- <Size x="1" y="1"/>
- <Anchors>
- <Anchor point="TOP"/>
- </Anchors>
- <Layers>
- <Layer level="OVERLAY">
- <FontString name="AccountLoginUIResetWarning" inherits="GlueFontRedLarge" text="RESET_WARNING">
- <Size x="400" y="48"/>
- <Anchors>
- <Anchor point="TOP">
- <Offset>
- <AbsDimension x="0" y="-32"/>
- </Offset>
- </Anchor>
- </Anchors>
- </FontString>
- </Layer>
- </Layers>
- </Frame>
- <Frame name="AccountLogin" toplevel="true" parent="GlueParent" setAllPoints="true" enableKeyboard="true" frameStrata="HIGH" hidden="true">
- <Frames>
- <Frame name="AccountLoginUI" setAllPoints="true">
- <Layers>
- <Layer level="ARTWORK">
- <Texture file="Interface\Glues\Mainmenu\Glues-BlizzardLogo" hidden="true">
- <Size>
- <AbsDimension x="100" y="100"/>
- </Size>
- <Anchors>
- <Anchor point="BOTTOM">
- <Offset>
- <AbsDimension x="0" y="8"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Texture>
- <FontString inherits="GlueFontNormalSmall" text="BLIZZ_DISCLAIMER" hidden="true">
- <Anchors>
- <Anchor point="BOTTOM">
- <Offset>
- <AbsDimension x="0" y="10"/>
- </Offset>
- </Anchor>
- </Anchors>
- </FontString>
- <FontString name="AccountLoginVersion" inherits="GlueFontDisableSmall" justifyH="LEFT">
- <Anchors>
- <Anchor point="BOTTOM">
- <Offset>
- <AbsDimension x="-170" y="20"/>
- </Offset>
- </Anchor>
- </Anchors>
- </FontString>
- <FontString name="AccountLoginRealmName" inherits="GlueFontDisableSmall" justifyH="RIGHT" hidden="false">
- <Size>
- <AbsDimension x="256" y="0"/>
- </Size>
- <Anchors>
- <Anchor point="BOTTOM">
- <Offset>
- <AbsDimension x="90" y="20"/>
- </Offset>
- </Anchor>
- </Anchors>
- </FontString>
- </Layer>
- <Layer level="OVERLAY">
- <Texture name="AccountLoginLogo" file="Interface\Glues\Common\Glues-WoW-WotLKLogo" hidden="true">
- <Size>
- <AbsDimension x="256" y="128"/>
- </Size>
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset>
- <AbsDimension x="3" y="-7"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Texture>
- <Texture name="WorldOfWarcraftRating" hidden="true">
- <Size>
- <AbsDimension x="128" y="128"/>
- </Size>
- <Anchors>
- <Anchor point="TOPRIGHT">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Texture>
- </Layer>
- </Layers>
- <Frames>
- <EditBox name="AccountLoginAccountEdit" letters="320">
- <Size x="200" y="37"/>
- <Anchors>
- <Anchor point="BOTTOM">
- <Offset>
- <AbsDimension x="0" y="170"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Layers>
- <Layer level="BACKGROUND">
- <FontString name="$parentFill" inherits="GlueFontDisableSmall" justifyH="LEFT" justifyV="MIDDLE" text="Enter your Accountname">
- <Anchors>
- <Anchor point="CENTER" relativePoint="CENTER">
- <Offset>
- <AbsDimension x="0" y="3"/>
- </Offset>
- </Anchor>
- </Anchors>
- </FontString>
- </Layer>
- </Layers>
- <Backdrop bgFile="Interface\Tooltips\UI-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>
- <OnTabPressed>
- AccountLogin_FocusPassword();
- </OnTabPressed>
- <OnEscapePressed>
- AccountLogin_Exit();
- </OnEscapePressed>
- <OnEnterPressed>
- if ( TOSFrame:IsShown() ) then
- return;
- end
- AccountLogin_Login();
- </OnEnterPressed>
- <OnEditFocusLost>
- self:HighlightText(0, 0);
- </OnEditFocusLost>
- <OnEditFocusGained>
- self:HighlightText();
- </OnEditFocusGained>
- <OnTextChanged>
- if ( self:GetText() ~= "" ) then
- AccountLoginAccountEditFill:Hide();
- else
- AccountLoginAccountEditFill:Show();
- end
- </OnTextChanged>
- </Scripts>
- <FontString inherits="GlueEditBoxFont"/>
- <TextInsets>
- <AbsInset left="12" right="5" bottom="5"/>
- </TextInsets>
- </EditBox>
- <EditBox name="AccountLoginPasswordEdit" letters="16" password="1">
- <Size x="200" y="37"/>
- <Anchors>
- <Anchor point="BOTTOM">
- <Offset>
- <AbsDimension x="0" y="130"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Layers>
- <Layer level="BACKGROUND">
- <FontString name="$parentFill" inherits="GlueFontDisableSmall" justifyH="LEFT" justifyV="MIDDLE" text="Enter your Password">
- <Anchors>
- <Anchor point="CENTER" relativePoint="CENTER">
- <Offset>
- <AbsDimension x="0" y="3"/>
- </Offset>
- </Anchor>
- </Anchors>
- </FontString>
- </Layer>
- </Layers>
- <Backdrop bgFile="Interface\Tooltips\UI-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>
- <OnTabPressed>
- if ( AccountLoginTokenEdit:IsShown() ) then
- AccountLoginTokenEdit:SetFocus();
- else
- AccountLogin_FocusAccountName();
- end
- </OnTabPressed>
- <OnEscapePressed>
- AccountLogin_Exit();
- </OnEscapePressed>
- <OnEnterPressed>
- if ( TOSFrame:IsShown() ) then
- return;
- end
- AccountLogin_Login();
- </OnEnterPressed>
- <OnEditFocusLost>
- self:HighlightText(0, 0);
- </OnEditFocusLost>
- <OnEditFocusGained>
- self:HighlightText();
- </OnEditFocusGained>
- <OnTextChanged>
- if ( self:GetText() ~= "" ) then
- AccountLoginPasswordEditFill:Hide();
- else
- AccountLoginPasswordEditFill:Show();
- end
- </OnTextChanged>
- </Scripts>
- <FontString inherits="GlueEditBoxFont"/>
- <TextInsets>
- <AbsInset left="12" right="5" bottom="5"/>
- </TextInsets>
- </EditBox>
- <EditBox name="AccountLoginTokenEdit" letters="320" hidden="true">
- <Size x="200" y="37"/>
- <Anchors>
- <Anchor point="TOP" relativeTo="AccountLoginPasswordEdit" relativePoint="BOTTOM">
- <Offset>
- <AbsDimension x="0" y="-15"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Layers>
- <Layer level="BACKGROUND">
- <FontString name="$parentLabel" inherits="GlueFontNormal" justifyH="CENTER" text="AUTHENTICATOR">
- <Size>
- <AbsDimension x="600" y="64"/>
- </Size>
- <Anchors>
- <Anchor point="BOTTOM" relativePoint="TOP">
- <Offset>
- <AbsDimension x="0" y="-23"/>
- </Offset>
- </Anchor>
- </Anchors>
- </FontString>
- </Layer>
- </Layers>
- <Backdrop bgFile="Interface\Tooltips\UI-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>
- <OnTabPressed>
- AccountLogin_FocusAccountName();
- </OnTabPressed>
- <OnEscapePressed>
- AccountLogin_Exit();
- </OnEscapePressed>
- <OnEnterPressed>
- if ( TOSFrame:IsShown() ) then
- return;
- end
- AccountLogin_Login();
- </OnEnterPressed>
- <OnEditFocusLost>
- self:HighlightText(0, 0);
- </OnEditFocusLost>
- <OnEditFocusGained>
- self:HighlightText();
- </OnEditFocusGained>
- </Scripts>
- <FontString inherits="GlueEditBoxFont"/>
- <TextInsets>
- <AbsInset left="12" right="5" bottom="5"/>
- </TextInsets>
- </EditBox>
- <Frame name="AccountLoginDropDown" inherits="GlueDropDownMenuTemplate" hidden="true">
- <Anchors>
- <Anchor point="TOP" relativeTo="AccountLoginAccountEdit" relativePoint="BOTTOM">
- <Offset>
- <AbsDimension x="2" y="5"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnLoad>
- GlueDropDownMenu_SetWidth(174, self);
- GlueDropDownMenu_SetSelectedValue(self, 1);
- GlueDropDownMenu_Initialize(self, AccountLoginDropDown_Initialize);
- AccountLoginDropDownText:SetJustifyH("LEFT");
- </OnLoad>
- </Scripts>
- </Frame>
- <Button name="AccountLoginLoginButton" inherits="GlueButtonTemplateBlue" text="LOGIN">
- <Size x="200" y="55"/>
- <Anchors>
- <Anchor point="BOTTOM">
- <Offset>
- <AbsDimension x="0" y="80"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnClick>
- AccountLogin_Login();
- </OnClick>
- </Scripts>
- </Button>
- <Button name="AccountLoginExitButton" inherits="GlueButtonSmallTemplateBlue" text="QUIT">
- <Anchors>
- <Anchor point="TOPLEFT" relativeTo="AccountLoginLoginButton" relativePoint="BOTTOMRIGHT">
- <Offset>
- <AbsDimension x="-5" y="5"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnClick>
- AccountLogin_Exit();
- </OnClick>
- </Scripts>
- </Button>
- <Button name="AccountLoginTOSButton" inherits="GlueButtonSmallTemplateBlue" text="TOS_FRAME_TITLE" hidden="true">
- <Anchors>
- <Anchor point="BOTTOM" relativeTo="AccountLoginExitButton" relativePoint="TOP">
- <Offset>
- <AbsDimension x="0" y="80"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnClick>
- AccountLogin_TOS();
- </OnClick>
- </Scripts>
- </Button>
- <Button name="AccountLoginCreditsButton" inherits="GlueButtonSmallTemplateBlue" text="CREDITS" hidden="true">
- <Anchors>
- <Anchor point="BOTTOM" relativeTo="AccountLoginTOSButton" relativePoint="TOP">
- <Offset>
- <AbsDimension x="0" y="-2"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnClick>
- AccountLogin_Credits();
- </OnClick>
- </Scripts>
- </Button>
- <Button name="AccountLoginCinematicsButton" inherits="GlueButtonSmallTemplateBlue" text="CINEMATICS" hidden="true">
- <Anchors>
- <Anchor point="BOTTOM" relativeTo="AccountLoginCreditsButton" relativePoint="TOP">
- <Offset>
- <AbsDimension x="0" y="-2"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnClick>
- PlaySound("gsTitleOptions");
- AccountLogin_Cinematics();
- </OnClick>
- </Scripts>
- </Button>
- <Button name="OptionsButton" inherits="GlueButtonSmallTemplateBlue" text="OPTIONS">
- <Anchors>
- <Anchor point="BOTTOMRIGHT">
- <Offset>
- <AbsDimension x="-5" y="5"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnClick>
- PlaySound("gsTitleOptions");
- OptionsSelectFrame:Show();
- </OnClick>
- </Scripts>
- </Button>
- <Button name="AccountLoginCommunityButton" inherits="GlueButtonSmallTemplateBlue" text="COMMUNITY_SITE">
- <Anchors>
- <Anchor point="BOTTOMLEFT">
- <Offset>
- <AbsDimension x="5" y="5"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnClick>
- AccountLogin_LaunchCommunitySite();
- </OnClick>
- </Scripts>
- </Button>
- <Button name="AccountLoginManageAccountButton" inherits="GlueButtonSmallTemplateBlue" text="MANAGE_ACCOUNT">
- <Anchors>
- <Anchor point="TOPRIGHT" relativeTo="AccountLoginLoginButton" relativePoint="BOTTOMLEFT">
- <Offset>
- <AbsDimension x="5" y="5"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnClick>
- AccountLogin_ManageAccount();
- </OnClick>
- </Scripts>
- </Button>
- <Button name="AccountLoginUpgradeAccountButton" inherits="GlueButtonTemplateBlue" text="UPGRADE_ACCOUNT" hidden="true">
- <Size x="320" y="60"/>
- <Anchors>
- <Anchor point="TOP" x="0" y="0"/>
- </Anchors>
- <Scripts>
- <OnClick>
- UpgradeAccount();
- </OnClick>
- </Scripts>
- </Button>
- <Frame>
- <Layers>
- <Layer level="ARTWORK">
- <FontString name="AccountLoginSaveAccountNameText" inherits="GlueFontNormalSmall" text="SAVE_ACCOUNT_NAME">
- <Anchors>
- <Anchor point="TOP" relativeTo="AccountLoginLoginButton" relativePoint="BOTTOM">
- <Offset>
- <AbsDimension x="10" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- <FontHeight>
- <AbsValue val="10"/>
- </FontHeight>
- <Shadow>
- <Offset>
- <AbsDimension x="1" y="-1"/>
- </Offset>
- <Color r="0" g="0" b="0"/>
- </Shadow>
- <Color r="1.0" g="0.78" b="0"/>
- </FontString>
- </Layer>
- </Layers>
- </Frame>
- <CheckButton name="AccountLoginSaveAccountName">
- <Size>
- <AbsDimension x="20" y="20"/>
- </Size>
- <Anchors>
- <Anchor point="RIGHT" relativeTo="AccountLoginSaveAccountNameText" relativePoint="LEFT">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnLoad>
- if ( GetSavedAccountName() ~= "" ) then
- self:SetChecked(1);
- else
- self:SetChecked(0);
- end
- </OnLoad>
- <OnClick>
- if ( self:GetChecked() ) then
- PlaySound("igMainMenuOptionCheckBoxOff");
- AccountLoginSavePasswordText:Show();
- AccountLoginSavePassword:Show();
- else
- PlaySound("igMainMenuOptionCheckBoxOn");
- AccountLoginSavePasswordText:Hide();
- AccountLoginSavePassword:Hide();
- AccountLoginSavePassword:SetChecked(0);
- end
- </OnClick>
- </Scripts>
- <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>
- <Frame>
- <Layers>
- <Layer level="ARTWORK">
- <FontString name="AccountLoginSavePasswordText" inherits="GlueFontNormalSmall" text="Remember Password">
- <Anchors>
- <Anchor point="TOP" relativeTo="AccountLoginSaveAccountNameText" relativePoint="BOTTOM">
- <Offset>
- <AbsDimension x="-16" y="-8"/>
- </Offset>
- </Anchor>
- </Anchors>
- <FontHeight>
- <AbsValue val="10"/>
- </FontHeight>
- <Shadow>
- <Offset>
- <AbsDimension x="1" y="-1"/>
- </Offset>
- <Color r="0" g="0" b="0"/>
- </Shadow>
- <Color r="1.0" g="0.78" b="0"/>
- </FontString>
- </Layer>
- </Layers>
- </Frame>
- <CheckButton name="AccountLoginSavePassword">
- <Size>
- <AbsDimension x="20" y="20"/>
- </Size>
- <Anchors>
- <Anchor point="RIGHT" relativeTo="AccountLoginSavePasswordText" relativePoint="LEFT">
- <Offset>
- <AbsDimension x="-1" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnLoad>
- if ( string.find(GetSavedAccountName(),"|") ) then
- self:SetChecked(1);
- else
- self:SetChecked(0);
- end
- if ( GetSavedAccountName() ~= "" ) then
- AccountLoginSavePasswordText:Show();
- AccountLoginSavePassword:Show();
- else
- AccountLoginSavePasswordText:Hide();
- AccountLoginSavePassword:Hide();
- self:SetChecked(0);
- end
- </OnLoad>
- <OnClick>
- if ( self:GetChecked() and AccountLoginSaveAccountName:GetChecked() ) then
- PlaySound("igMainMenuOptionCheckBoxOff");
- GlueDialog_Show("REMEMBER_PASSWORD");
- elseif ( AccountLoginSaveAccountName:GetChecked() ) then
- PlaySound("igMainMenuOptionCheckBoxOn");
- else
- self:SetChecked(0);
- end
- </OnClick>
- </Scripts>
- <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="AccountLoginShowLauncher" hidden="true">
- <Size>
- <AbsDimension x="20" y="20"/>
- </Size>
- <Anchors>
- <Anchor point="TOPLEFT" relativeTo="AccountLoginCommunityButton" relativePoint="BOTTOMLEFT">
- <Offset>
- <AbsDimension x="7" y="-5"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Layers>
- <Layer level="ARTWORK">
- <FontString inherits="GlueFontNormalSmall" text="SHOW_LAUNCHER">
- <Anchors>
- <Anchor point="LEFT">
- <Offset>
- <AbsDimension x="24" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- <FontHeight>
- <AbsValue val="10"/>
- </FontHeight>
- <Shadow>
- <Offset>
- <AbsDimension x="1" y="-1"/>
- </Offset>
- <Color r="0" g="0" b="0"/>
- </Shadow>
- <Color r="1.0" g="0.78" b="0"/>
- </FontString>
- </Layer>
- </Layers>
- <Scripts>
- <OnLoad>
- self:SetChecked(0);
- </OnLoad>
- </Scripts>
- <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>
- <Frame name="ServerAlertFrame" hidden="true">
- <Size>
- <AbsDimension x="352" y="400"/>
- </Size>
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset>
- <AbsDimension x="10" y="-130"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
- <BackgroundInsets>
- <AbsInset left="11" right="11" top="11" bottom="11"/>
- </BackgroundInsets>
- <TileSize>
- <AbsValue val="32"/>
- </TileSize>
- <EdgeSize>
- <AbsValue val="32"/>
- </EdgeSize>
- </Backdrop>
- <Layers>
- <Layer level="ARTWORK">
- <FontString name="ServerAlertTitle" inherits="GlueFontNormalLarge" text="SERVER_ALERT_TITLE">
- <Anchors>
- <Anchor point="TOP">
- <Offset>
- <AbsDimension x="0" y="-20"/>
- </Offset>
- </Anchor>
- </Anchors>
- </FontString>
- </Layer>
- </Layers>
- <Frames>
- <ScrollFrame name="ServerAlertScrollFrame" inherits="GlueScrollFrameTemplate">
- <Size>
- <AbsDimension x="300" y="340"/>
- </Size>
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset>
- <AbsDimension x="15" y="-46"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnLoad>
- self.scrollBarHideable = 1;
- GlueScrollFrame_OnScrollRangeChanged(self);
- </OnLoad>
- <OnScrollRangeChanged>
- GlueScrollFrame_OnScrollRangeChanged(self, yrange);
- if (floor(ServerAlertScrollFrame:GetVerticalScrollRange()) > 0) then
- self.updated = 1;
- end
- </OnScrollRangeChanged>
- </Scripts>
- <ScrollChild>
- <SimpleHTML name="ServerAlertText" hyperlinkFormat="|cff06ff07|H%s|h[%s]|h|r">
- <Size>
- <AbsDimension x="300" y="400"/>
- </Size>
- <Scripts>
- <OnHyperlinkClick>
- LaunchURL(link);
- </OnHyperlinkClick>
- </Scripts>
- <FontString inherits="GlueFontHighlightSmall" spacing="2"/>
- <FontStringHeader1 inherits="GlueFontNormalLarge" spacing="4"/>
- <FontStringHeader2 inherits="GlueFontHighlight" spacing="4"/>
- </SimpleHTML>
- </ScrollChild>
- </ScrollFrame>
- </Frames>
- </Frame>
- <Frame name="VirtualKeypadFrame" hidden="true" frameStrata="DIALOG" enableMouse="true">
- <Size>
- <AbsDimension x="155" y="175"/>
- </Size>
- <Anchors>
- <Anchor point="TOPLEFT" relativeTo="AccountLoginAccountEdit" relativePoint="TOPRIGHT">
- <Offset>
- <AbsDimension x="15" y="-2"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Layers>
- <Layer level="ARTWORK">
- <FontString inherits="GlueFontNormalSmall" text="ENTER_PIN_NUMBER">
- <Anchors>
- <Anchor point="TOP">
- <Offset>
- <AbsDimension x="-8" y="-5"/>
- </Offset>
- </Anchor>
- </Anchors>
- </FontString>
- </Layer>
- </Layers>
- <Backdrop bgFile="Interface\TutorialFrame\TutorialFrameBackground" edgeFile="Interface\TutorialFrame\TutorialFrameBorder" tile="true">
- <EdgeSize>
- <AbsValue val="32"/>
- </EdgeSize>
- <TileSize>
- <AbsValue val="32"/>
- </TileSize>
- <BackgroundInsets>
- <AbsInset left="6" right="2" top="4" bottom="5"/>
- </BackgroundInsets>
- </Backdrop>
- <Frames>
- <Frame name="VirtualKeypadPINFrame">
- <Size x="130" y="20"/>
- <Anchors>
- <Anchor point="TOP">
- <Offset>
- <AbsDimension x="7" y="-31"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Layers>
- <Layer level="BACKGROUND">
- <Texture name="$parentLeft" file="Interface\Common\Common-Input-Border">
- <Size>
- <AbsDimension x="8" y="20"/>
- </Size>
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset>
- <AbsDimension x="-5" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- <TexCoords left="0" right="0.0625" top="0" bottom="0.625"/>
- </Texture>
- <Texture name="$parentRight" file="Interface\Common\Common-Input-Border">
- <Size>
- <AbsDimension x="8" y="20"/>
- </Size>
- <Anchors>
- <Anchor point="RIGHT">
- <Offset>
- <AbsDimension x="-10" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- <TexCoords left="0.9375" right="1.0" top="0" bottom="0.625"/>
- </Texture>
- <Texture name="$parentMiddle" file="Interface\Common\Common-Input-Border">
- <Size>
- <AbsDimension x="10" y="20"/>
- </Size>
- <Anchors>
- <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
- <Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT"/>
- </Anchors>
- <TexCoords left="0.0625" right="0.9375" top="0" bottom="0.625"/>
- </Texture>
- </Layer>
- <Layer level="ARTWORK">
- <FontString name="VirtualKeypadText" inherits="GlueFontHighlight" justifyH="LEFT">
- <Anchors>
- <Anchor point="LEFT">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Size x="120" y="12"/>
- </FontString>
- </Layer>
- </Layers>
- </Frame>
- <Button name="VirtualKeypadButton1" inherits="VirtualKeyPadButtonTemplate" id="0">
- <Anchors>
- <Anchor point="TOPLEFT" relativeTo="VirtualKeypadPINFrame" relativePoint="BOTTOMLEFT">
- <Offset>
- <AbsDimension x="-6" y="-6"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="VirtualKeypadButton2" inherits="VirtualKeyPadButtonTemplate" id="1">
- <Anchors>
- <Anchor point="LEFT" relativeTo="VirtualKeypadButton1" relativePoint="RIGHT">
- <Offset>
- <AbsDimension x="3" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="VirtualKeypadButton3" inherits="VirtualKeyPadButtonTemplate" id="2">
- <Anchors>
- <Anchor point="LEFT" relativeTo="VirtualKeypadButton2" relativePoint="RIGHT">
- <Offset>
- <AbsDimension x="3" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="VirtualKeypadButton4" inherits="VirtualKeyPadButtonTemplate" id="3">
- <Anchors>
- <Anchor point="TOPLEFT" relativeTo="VirtualKeypadButton1" relativePoint="BOTTOMLEFT">
- <Offset>
- <AbsDimension x="0" y="-2"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="VirtualKeypadButton5" inherits="VirtualKeyPadButtonTemplate" id="4">
- <Anchors>
- <Anchor point="LEFT" relativeTo="VirtualKeypadButton4" relativePoint="RIGHT">
- <Offset>
- <AbsDimension x="3" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="VirtualKeypadButton6" inherits="VirtualKeyPadButtonTemplate" id="5">
- <Anchors>
- <Anchor point="LEFT" relativeTo="VirtualKeypadButton5" relativePoint="RIGHT">
- <Offset>
- <AbsDimension x="3" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="VirtualKeypadButton7" inherits="VirtualKeyPadButtonTemplate" id="6">
- <Anchors>
- <Anchor point="TOPLEFT" relativeTo="VirtualKeypadButton4" relativePoint="BOTTOMLEFT">
- <Offset>
- <AbsDimension x="0" y="-2"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="VirtualKeypadButton8" inherits="VirtualKeyPadButtonTemplate" id="7">
- <Anchors>
- <Anchor point="LEFT" relativeTo="VirtualKeypadButton7" relativePoint="RIGHT">
- <Offset>
- <AbsDimension x="3" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="VirtualKeypadButton9" inherits="VirtualKeyPadButtonTemplate" id="8">
- <Anchors>
- <Anchor point="LEFT" relativeTo="VirtualKeypadButton8" relativePoint="RIGHT">
- <Offset>
- <AbsDimension x="3" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="VirtualKeypadButton10" inherits="VirtualKeyPadButtonTemplate" id="9">
- <Anchors>
- <Anchor point="TOP" relativeTo="VirtualKeypadButton8" relativePoint="BOTTOM">
- <Offset>
- <AbsDimension x="0" y="-2"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="VirtualKeypadBackButton" inherits="VirtualKeyPadButtonTemplate">
- <Anchors>
- <Anchor point="RIGHT" relativeTo="VirtualKeypadButton10" relativePoint="LEFT">
- <Offset>
- <AbsDimension x="-3" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Layers>
- <Layer level="OVERLAY">
- <Texture file="Interface\Glues\Login\UI-BackArrow">
- <Size>
- <AbsDimension x="16" y="16"/>
- </Size>
- <Anchors>
- <Anchor point="CENTER">
- <Offset>
- <AbsDimension x="0" y="-1"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Texture>
- </Layer>
- </Layers>
- <Scripts>
- <OnClick>
- local numNumbers = strlen(VirtualKeypadText:GetText());
- VirtualKeypadText:SetText(strsub(VirtualKeypadText:GetText(), 1, numNumbers-1));
- VirtualKeypadFrame.PIN = strsub(VirtualKeypadFrame.PIN, 1, numNumbers-1);
- VirtualKeypad_UpdateButtons();
- </OnClick>
- </Scripts>
- </Button>
- <Button name="VirtualKeypadOkayButton" text="VIRTUAL_KEYPAD_OKAY">
- <Size x="40" y="24"/>
- <Anchors>
- <Anchor point="LEFT" relativeTo="VirtualKeypadButton10" relativePoint="RIGHT">
- <Offset>
- <AbsDimension x="3" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnClick>
- VirtualKeypadOkayButton_OnClick();
- </OnClick>
- </Scripts>
- <NormalTexture inherits="DialogButtonNormalTexture"/>
- <PushedTexture inherits="DialogButtonPushedTexture"/>
- <DisabledTexture inherits="DialogButtonDisabledTexture"/>
- <HighlightTexture inherits="DialogButtonHighlightTexture"/>
- <NormalFont style="GlueFontNormalSmall"/>
- <HighlightFont style="GlueFontHighlightSmall"/>
- <DisabledFont style="GlueFontDisableSmall"/>
- </Button>
- <Button name="VirtualKeypadCloseButton" inherits="GlueCloseButton">
- <Anchors>
- <Anchor point="TOPRIGHT">
- <Offset>
- <AbsDimension x="3" y="4"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnClick>
- self:GetParent():Hide();
- CancelLogin();
- </OnClick>
- </Scripts>
- </Button>
- </Frames>
- <Scripts>
- <OnLoad>
- self:RegisterEvent("PLAYER_ENTER_PIN");
- self.PIN = "";
- VirtualKeypadText:SetText("");
- </OnLoad>
- <OnEvent>
- VirtualKeypadFrame_OnEvent(event, ...);
- </OnEvent>
- <OnHide>
- VirtualKeypadText:SetText("");
- self.PIN = "";
- </OnHide>
- </Scripts>
- </Frame>
- <Frame name="ChangedOptionsDialog" toplevel="true" setAllPoints="true" enableMouse="true" enableKeyboard="true" frameStrata="DIALOG">
- <Scripts>
- <OnShow>
- ChangedOptionsDialog_OnShow(self);
- </OnShow>
- <OnKeyDown>
- ChangedOptionsDialog_OnKeyDown(self,key);
- </OnKeyDown>
- </Scripts>
- <Frames>
- <Frame name="ChangedOptionsDialogBackground">
- <Size>
- <AbsDimension x="512" y="256"/>
- </Size>
- <Anchors>
- <Anchor point="CENTER">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
- <BackgroundInsets>
- <AbsInset left="11" right="12" top="12" bottom="11"/>
- </BackgroundInsets>
- <TileSize>
- <AbsValue val="32"/>
- </TileSize>
- <EdgeSize>
- <AbsValue val="32"/>
- </EdgeSize>
- </Backdrop>
- <Layers>
- <Layer level="ARTWORK">
- <FontString name="ChangedOptionsDialogTitle" inherits="GlueFontNormal" text="CHANGED_OPTIONS_WARNING_TITLE">
- <Anchors>
- <Anchor point="TOP">
- <Offset>
- <AbsDimension x="0" y="-26"/>
- </Offset>
- </Anchor>
- </Anchors>
- </FontString>
- <FontString name="ChangedOptionsDialogText" inherits="TOSFont">
- <Size>
- <AbsDimension x="440" y="0"/>
- </Size>
- <Anchors>
- <Anchor point="TOP" relativeTo="ChangedOptionsDialogTitle" relativePoint="BOTTOM">
- <Offset>
- <AbsDimension x="0" y="-16"/>
- </Offset>
- </Anchor>
- </Anchors>
- </FontString>
- </Layer>
- </Layers>
- <Frames>
- <Button name="ChangedOptionsDialogOkayButton" inherits="GlueButtonTemplateBlue" text="OKAY">
- <Anchors>
- <Anchor point="BOTTOM" relativePoint="BOTTOM">
- <Offset>
- <AbsDimension x="0" y="16"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnClick>
- ChangedOptionsDialog:Hide();
- AcceptChangedOptionWarnings();
- </OnClick>
- </Scripts>
- </Button>
- </Frames>
- </Frame>
- </Frames>
- </Frame>
- <Frame name="TokenEnterDialog" toplevel="true" setAllPoints="true" hidden="true" enableMouse="true" enableKeyboard="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="$parentBackground">
- <Size>
- <AbsDimension x="372" y="200"/>
- </Size>
- <Anchors>
- <Anchor point="CENTER">
- <Offset>
- <AbsDimension x="0" y="-20"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
- <BackgroundInsets>
- <AbsInset left="11" right="12" top="12" bottom="11"/>
- </BackgroundInsets>
- <TileSize>
- <AbsValue val="32"/>
- </TileSize>
- <EdgeSize>
- <AbsValue val="32"/>
- </EdgeSize>
- </Backdrop>
- <Layers>
- <Layer level="ARTWORK">
- <FontString name="$parentTitle" inherits="GlueFontNormal" text="ENTER_AUTHCODE_TITLE">
- <Anchors>
- <Anchor point="TOP">
- <Offset>
- <AbsDimension x="0" y="-26"/>
- </Offset>
- </Anchor>
- </Anchors>
- </FontString>
- <FontString name="$parentText" inherits="TOSFont" text="ENTER_AUTHCODE_INFO">
- <Anchors>
- <Anchor point="TOP" relativeTo="TokenEnterDialogBackgroundTitle" relativePoint="BOTTOM">
- <Offset>
- <AbsDimension x="0" y="-16"/>
- </Offset>
- </Anchor>
- </Anchors>
- </FontString>
- </Layer>
- </Layers>
- <Frames>
- <EditBox name="$parentEdit" letters="16">
- <Size>
- <AbsDimension x="160" y="37"/>
- </Size>
- <Anchors>
- <Anchor point="CENTER">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Layers>
- <Layer level="BACKGROUND">
- <FontString inherits="GlueFontNormal">
- <Size>
- <AbsDimension x="256" y="64"/>
- </Size>
- <Anchors>
- <Anchor point="BOTTOM" relativePoint="TOP">
- <Offset>
- <AbsDimension x="0" y="-23"/>
- </Offset>
- </Anchor>
- </Anchors>
- </FontString>
- </Layer>
- </Layers>
- <Backdrop bgFile="Interface\Tooltips\UI-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>
- <OnEscapePressed>
- TokenEntry_Cancel(self:GetParent());
- </OnEscapePressed>
- <OnEnterPressed>
- TokenEntry_Okay(self:GetParent());
- </OnEnterPressed>
- <OnEditFocusLost>
- self:HighlightText(0, 0);
- </OnEditFocusLost>
- <OnEditFocusGained>
- self:HighlightText();
- </OnEditFocusGained>
- </Scripts>
- <FontString inherits="GlueEditBoxFont"/>
- <TextInsets>
- <AbsInset left="15" bottom="5"/>
- </TextInsets>
- </EditBox>
- <Button name="$parentOkayButton" inherits="GlueButtonTemplateBlue" text="OKAY">
- <Anchors>
- <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT">
- <Offset>
- <AbsDimension x="20" y="16"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnClick>
- TokenEntry_Okay(self:GetParent());
- </OnClick>
- </Scripts>
- </Button>
- <Button name="$parentCancelButton" inherits="GlueButtonTemplateBlue" text="CANCEL">
- <Anchors>
- <Anchor point="LEFT" relativeTo="$parentOkayButton" relativePoint="RIGHT">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnClick>
- TokenEntry_Cancel(self:GetParent());
- </OnClick>
- </Scripts>
- </Button>
- </Frames>
- </Frame>
- </Frames>
- <Scripts>
- <OnLoad>
- TokenEntryOkayButton_OnLoad(self);
- </OnLoad>
- <OnEvent>
- TokenEntryOkayButton_OnEvent(self, event);
- </OnEvent>
- <OnShow>
- TokenEntryOkayButton_OnShow();
- </OnShow>
- <OnKeyDown>
- TokenEntryOkayButton_OnKeyDown(self, key);
- </OnKeyDown>
- </Scripts>
- </Frame>
- <Frame name="WoWAccountSelectDialog" toplevel="true" setAllPoints="true" hidden="true" enableMouse="true" enableKeyboard="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="$parentBackground">
- <Size>
- <AbsDimension x="275" y="265"/>
- </Size>
- <Anchors>
- <Anchor point="CENTER">
- <Offset>
- <AbsDimension x="0" y="-20"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
- <BackgroundInsets>
- <AbsInset left="11" right="12" top="12" bottom="11"/>
- </BackgroundInsets>
- <TileSize>
- <AbsValue val="32"/>
- </TileSize>
- <EdgeSize>
- <AbsValue val="32"/>
- </EdgeSize>
- </Backdrop>
- <Layers>
- <Layer level="ARTWORK">
- <FontString name="$parentTitle" inherits="GlueFontNormal" text="WOW_ACCOUNTS">
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset>
- <AbsDimension x="20" y="-20"/>
- </Offset>
- </Anchor>
- </Anchors>
- </FontString>
- <FontString name="$parentText" inherits="TOSFont" text="SELECT_ACCOUNT">
- <Anchors>
- <Anchor point="TOPLEFT" relativeTo="$parentTitle" relativePoint="BOTTOMLEFT">
- <Offset>
- <AbsDimension x="5" y="-4"/>
- </Offset>
- </Anchor>
- </Anchors>
- </FontString>
- </Layer>
- </Layers>
- <Frames>
- <Frame name="$parentContainer">
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset x="12" y="-52"/>
- </Anchor>
- <Anchor point="BOTTOMRIGHT">
- <Offset x="-16" y="36"/>
- </Anchor>
- </Anchors>
- <Backdrop 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>
- <Frames>
- <Button name="$parentButton1" inherits="AccountNameButton">
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset x="12" y="-6"/>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="$parentButton2" inherits="AccountNameButton">
- <Anchors>
- <Anchor point="TOPLEFT" relativeTo="$parentButton1" relativePoint="BOTTOMLEFT">
- <Offset x="0" y="0"/>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="$parentButton3" inherits="AccountNameButton">
- <Anchors>
- <Anchor point="TOPLEFT" relativeTo="$parentButton2" relativePoint="BOTTOMLEFT">
- <Offset x="0" y="0"/>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="$parentButton4" inherits="AccountNameButton">
- <Anchors>
- <Anchor point="TOPLEFT" relativeTo="$parentButton3" relativePoint="BOTTOMLEFT">
- <Offset x="0" y="0"/>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="$parentButton5" inherits="AccountNameButton">
- <Anchors>
- <Anchor point="TOPLEFT" relativeTo="$parentButton4" relativePoint="BOTTOMLEFT">
- <Offset x="0" y="0"/>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="$parentButton6" inherits="AccountNameButton">
- <Anchors>
- <Anchor point="TOPLEFT" relativeTo="$parentButton5" relativePoint="BOTTOMLEFT">
- <Offset x="0" y="0"/>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="$parentButton7" inherits="AccountNameButton">
- <Anchors>
- <Anchor point="TOPLEFT" relativeTo="$parentButton6" relativePoint="BOTTOMLEFT">
- <Offset x="0" y="0"/>
- </Anchor>
- </Anchors>
- </Button>
- <Button name="$parentButton8" inherits="AccountNameButton">
- <Anchors>
- <Anchor point="TOPLEFT" relativeTo="$parentButton7" relativePoint="BOTTOMLEFT">
- <Offset x="0" y="0"/>
- </Anchor>
- </Anchors>
- </Button>
- <ScrollFrame name="$parentScrollFrame" inherits="GlueScrollFrameTemplate">
- <Size>
- <AbsDimension x="219" y="162"/>
- </Size>
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset x="0" y="-6"/>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnVerticalScroll>
- WoWAccountSelect_OnVerticalScroll(self, offset);
- </OnVerticalScroll>
- </Scripts>
- <ScrollChild>
- <Frame name="$parentScrollChildFrame">
- <Size>
- <AbsDimension x="510" y="395"/>
- </Size>
- </Frame>
- </ScrollChild>
- </ScrollFrame>
- </Frames>
- </Frame>
- <Button name="$parentAcceptButton" inherits="GlueButtonTemplateBlue" text="ACCEPT">
- <Size>
- <AbsDimension x="125" y="37"/>
- </Size>
- <Anchors>
- <Anchor point="BOTTOMLEFT">
- <Offset>
- <AbsDimension x="8" y="6"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnClick>
- PlaySound("gsLoginChangeRealmOK");
- WoWAccountSelect_Accept();
- </OnClick>
- </Scripts>
- </Button>
- <Button name="$parentCancelButton" inherits="GlueButtonTemplateBlue" text="CANCEL">
- <Size>
- <AbsDimension x="125" y="37"/>
- </Size>
- <Anchors>
- <Anchor point="BOTTOMRIGHT">
- <Offset>
- <AbsDimension x="-8" y="6"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnClick>
- PlaySound("gsLoginChangeRealmCancel");
- WoWAccountSelect_OnCancel(WoWAccountSelectDialog);
- </OnClick>
- </Scripts>
- </Button>
- </Frames>
- </Frame>
- </Frames>
- <Scripts>
- <OnLoad>
- WoWAccountSelect_OnLoad(self);
- </OnLoad>
- <OnEvent>
- WoWAccountSelect_OnEvent(self, event, ...);
- </OnEvent>
- <OnKeyDown>
- WoWAccountSelect_OnKeyDown(self, key);
- </OnKeyDown>
- <OnShow>
- WoWAccountSelect_OnShow(self)
- </OnShow>
- </Scripts>
- </Frame>
- <Frame name="KoreanRatings" hidden="true">
- <Size x="288" y="224"/>
- <Anchors>
- <Anchor point="TOPRIGHT"/>
- </Anchors>
- <Layers>
- <Layer level="ARTWORK">
- <FontString name="KoreanRatingsText" inherits="GlueFontHighlightExtraSmall" justifyH="RIGHT" text="RATINGS_TEXT">
- <Anchors>
- <Anchor point="TOPRIGHT" x="-10" y="-15"/>
- </Anchors>
- </FontString>
- <Texture name="KoreanRatingsDrugs" file="Interface\Glues\Login\Glues-KoreanRating-Drugs.tga">
- <Size x="99" y="117"/>
- <Anchors>
- <Anchor point="TOPRIGHT" relativeTo="KoreanRatingsText" relativePoint="BOTTOMRIGHT" x="0" y="-5"/>
- </Anchors>
- <TexCoords left="0.094" right="0.896" top="0.023" bottom="0.966"/>
- </Texture>
- <Texture name="KoreanRatingsViolence" file="Interface\Glues\Login\Glues-KoreanRating-Violence.tga">
- <Size x="99" y="117"/>
- <Anchors>
- <Anchor point="RIGHT" relativeTo="KoreanRatingsDrugs" relativePoint="LEFT" x="-10" y="0"/>
- </Anchors>
- <TexCoords left="0.094" right="0.896" top="0.023" bottom="0.966"/>
- </Texture>
- <Texture name="KoreanRatingsAge" file="Interface\Glues\Login\Glues-KoreanRating-Age.tga">
- <Size x="99" y="117"/>
- <Anchors>
- <Anchor point="RIGHT" relativeTo="KoreanRatingsViolence" relativePoint="LEFT" x="-10" y="0"/>
- </Anchors>
- <TexCoords left="0.109" right="0.88" top="0.039" bottom="0.951"/>
- </Texture>
- </Layer>
- </Layers>
- </Frame>
- </Frames>
- <Scripts>
- <OnShow>
- GlueFrameFadeIn(self, LOGIN_FADE_IN);
- if ( GetSavedAccountName() == "" ) then
- AccountLogin_FocusAccountName();
- else
- AccountLogin_FocusPassword();
- end
- if ( not IsSystemSupported() ) then
- GlueDialog_Show("SYSTEM_INCOMPATIBLE_SSE");
- end
- </OnShow>
- </Scripts>
- </Frame>
- <Frame name="TOSFrame" hidden="true">
- <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="TOSFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
- <Size>
- <AbsDimension x="300" y="38"/>
- </Size>
- <Anchors>
- <Anchor point="TOP" relativeTo="TOSFrame">
- <Offset>
- <AbsDimension x="-12" y="12"/>
- </Offset>
- </Anchor>
- </Anchors>
- <TexCoords left="0.3" right="0.7" top="0.015625" bottom="0.609375"/>
- </Texture>
- <Texture file="Interface\DialogFrame\UI-DialogBox-Header">
- <Size>
- <AbsDimension x="15" y="38"/>
- </Size>
- <Anchors>
- <Anchor point="RIGHT" relativeTo="TOSFrameHeader" relativePoint="LEFT">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- <TexCoords left="0.23046875" right="0.28515625" top="0.015625" bottom="0.609375"/>
- </Texture>
- <Texture file="Interface\DialogFrame\UI-DialogBox-Header">
- <Size>
- <AbsDimension x="15" y="38"/>
- </Size>
- <Anchors>
- <Anchor point="LEFT" relativeTo="TOSFrameHeader" relativePoint="RIGHT">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- <TexCoords left="0.7109375" right="0.76953125" top="0.015625" bottom="0.609375"/>
- </Texture>
- <FontString name="TOSFrameTitle" inherits="GlueFontNormal" text="TOS_FRAME_TITLE">
- <Anchors>
- <Anchor point="TOP" relativeTo="TOSFrameHeader">
- <Offset>
- <AbsDimension x="0" y="-12"/>
- </Offset>
- </Anchor>
- </Anchors>
- </FontString>
- <FontString name="TOSNotice" inherits="GlueFontHighlight" text="TOS_NOTICE" hidden="true">
- <Size>
- <AbsDimension x="550" y="0"/>
- </Size>
- <Anchors>
- <Anchor point="TOP">
- <Offset>
- <AbsDimension x="0" y="75"/>
- </Offset>
- </Anchor>
- </Anchors>
- </FontString>
- </Layer>
- </Layers>
- <Frames>
- <ScrollFrame name="TOSScrollFrame" 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="TOSScrollBarTop" 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="TOSScrollBarBottom" 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="TOSScrollBarMiddle" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
- <Size>
- <AbsDimension x="31" y="60"/>
- </Size>
- <Anchors>
- <Anchor point="TOP" relativeTo="TOSScrollBarTop" relativePoint="BOTTOM">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- <Anchor point="BOTTOM" relativeTo="TOSScrollBarBottom" 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>
- <OnShow>
- AccountLogin_UpdateAcceptButton(self, TOSAccepted, "TOS");
- </OnShow>
- <OnScrollRangeChanged>
- GlueScrollFrame_OnScrollRangeChanged(self, yrange);
- if ( not TOSScrollFrame.loaded ) then
- TOSAccept:Disable();
- TOSScrollFrame.loaded = true;
- end
- AccountLogin_UpdateAcceptButton(self, TOSAccepted, "TOS");
- </OnScrollRangeChanged>
- <OnVerticalScroll>
- GlueScrollFrame_OnVerticalScroll(self, offset);
- AccountLogin_UpdateAcceptButton(self, TOSAccepted, "TOS");
- </OnVerticalScroll>
- </Scripts>
- <ScrollChild>
- <SimpleHTML name="TOSText" file="tos.html">
- <Size>
- <AbsDimension x="530" y="407"/>
- </Size>
- <FontString inherits="TOSFont"/>
- <FontStringHeader1 inherits="GlueFontNormal"/>
- <FontStringHeader2 inherits="GlueFontNormalSmall"/>
- </SimpleHTML>
- </ScrollChild>
- </ScrollFrame>
- <ScrollFrame name="EULAScrollFrame" 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="EULAScrollBarTop" 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="EULAScrollBarBottom" 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="EULAScrollBarMiddle" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
- <Size>
- <AbsDimension x="31" y="60"/>
- </Size>
- <Anchors>
- <Anchor point="TOP" relativeTo="EULAScrollBarTop" relativePoint="BOTTOM">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- <Anchor point="BOTTOM" relativeTo="EULAScrollBarBottom" 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>
- <OnShow>
- AccountLogin_UpdateAcceptButton(self, EULAAccepted, "EULA");
- </OnShow>
- <OnScrollRangeChanged>
- GlueScrollFrame_OnScrollRangeChanged(self, yrange);
- AccountLogin_UpdateAcceptButton(self, EULAAccepted, "EULA");
- </OnScrollRangeChanged>
- <OnVerticalScroll>
- GlueScrollFrame_OnVerticalScroll(self, offset);
- AccountLogin_UpdateAcceptButton(self, EULAAccepted, "EULA");
- </OnVerticalScroll>
- </Scripts>
- <ScrollChild>
- <SimpleHTML name="EULAText" file="eula.html">
- <Size>
- <AbsDimension x="530" y="407"/>
- </Size>
- <FontString inherits="TOSFont"/>
- <FontStringHeader1 inherits="GlueFontNormal"/>
- <FontStringHeader2 inherits="GlueFontNormalSmall"/>
- </SimpleHTML>
- </ScrollChild>
- </ScrollFrame>
- <ScrollFrame name="TerminationScrollFrame" 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="TerminationScrollBarTop" 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="TerminationScrollBarBottom" 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="TerminationScrollBarMiddle" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
- <Size>
- <AbsDimension x="31" y="60"/>
- </Size>
- <Anchors>
- <Anchor point="TOP" relativeTo="TerminationScrollBarTop" relativePoint="BOTTOM">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- <Anchor point="BOTTOM" relativeTo="TerminationScrollBarBottom" 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>
- <OnShow>
- AccountLogin_UpdateAcceptButton(self, TerminationWithoutNoticeAccepted, "TERMINATION");
- </OnShow>
- <OnScrollRangeChanged>
- GlueScrollFrame_OnScrollRangeChanged(self, yrange);
- AccountLogin_UpdateAcceptButton(self, TerminationWithoutNoticeAccepted, "TERMINATION");
- </OnScrollRangeChanged>
- <OnVerticalScroll>
- GlueScrollFrame_OnVerticalScroll(self, offset);
- AccountLogin_UpdateAcceptButton(self, TerminationWithoutNoticeAccepted, "TERMINATION");
- </OnVerticalScroll>
- </Scripts>
- <ScrollChild>
- <SimpleHTML name="TerminationText" file="termination.html">
- <Size>
- <AbsDimension x="530" y="407"/>
- </Size>
- <FontString inherits="TOSFont"/>
- <FontStringHeader1 inherits="GlueFontNormal"/>
- <FontStringHeader2 inherits="GlueFontNormalSmall"/>
- </SimpleHTML>
- </ScrollChild>
- </ScrollFrame>
- <ScrollFrame name="ScanningScrollFrame" 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="ScanningScrollBarTop" 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="ScanningScrollBarBottom" 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="ScanningScrollBarMiddle" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
- <Size>
- <AbsDimension x="31" y="60"/>
- </Size>
- <Anchors>
- <Anchor point="TOP" relativeTo="ScanningScrollBarTop" relativePoint="BOTTOM">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- <Anchor point="BOTTOM" relativeTo="ScanningScrollBarBottom" 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>
- <OnShow>
- AccountLogin_UpdateAcceptButton(self, ScanningAccepted, "SCAN");
- </OnShow>
- <OnScrollRangeChanged>
- GlueScrollFrame_OnScrollRangeChanged(self, yrange);
- AccountLogin_UpdateAcceptButton(self, ScanningAccepted, "SCAN");
- </OnScrollRangeChanged>
- <OnVerticalScroll>
- GlueScrollFrame_OnVerticalScroll(self, offset);
- AccountLogin_UpdateAcceptButton(self, ScanningAccepted, "SCAN");
- </OnVerticalScroll>
- </Scripts>
- <ScrollChild>
- <SimpleHTML name="ScanningText" file="scan.html">
- <Size>
- <AbsDimension x="530" y="407"/>
- </Size>
- <FontString inherits="TOSFont"/>
- <FontStringHeader1 inherits="GlueFontNormal"/>
- <FontStringHeader2 inherits="GlueFontNormalSmall"/>
- </SimpleHTML>
- </ScrollChild>
- </ScrollFrame>
- <ScrollFrame name="ContestScrollFrame" 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="ContestScrollBarTop" 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="ContestScrollBarBottom" 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="ContestScrollBarMiddle" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
- <Size>
- <AbsDimension x="31" y="60"/>
- </Size>
- <Anchors>
- <Anchor point="TOP" relativeTo="ContestScrollBarTop" relativePoint="BOTTOM">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- <Anchor point="BOTTOM" relativeTo="ContestScrollBarBottom" 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>
- <OnShow>
- AccountLogin_UpdateAcceptButton(self, ContestAccepted, "CONTEST");
- </OnShow>
- <OnScrollRangeChanged>
- GlueScrollFrame_OnScrollRangeChanged(self, yrange);
- AccountLogin_UpdateAcceptButton(self, ContestAccepted, "CONTEST");
- </OnScrollRangeChanged>
- <OnVerticalScroll>
- GlueScrollFrame_OnVerticalScroll(self, offset);
- AccountLogin_UpdateAcceptButton(self, ContestAccepted, "CONTEST");
- </OnVerticalScroll>
- </Scripts>
- <ScrollChild>
- <SimpleHTML name="ContestText" file="contest.html">
- <Size>
- <AbsDimension x="530" y="407"/>
- </Size>
- <FontString inherits="TOSFont"/>
- <FontStringHeader1 inherits="GlueFontNormal"/>
- <FontStringHeader2 inherits="GlueFontNormalSmall"/>
- </SimpleHTML>
- </ScrollChild>
- </ScrollFrame>
- <Button name="TOSDecline" inherits="GlueButtonTemplateBlue" text="DECLINE">
- <Size>
- <AbsDimension x="128" y="34"/>
- </Size>
- <Anchors>
- <Anchor point="BOTTOMRIGHT">
- <Offset>
- <AbsDimension x="-53" y="13"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnClick>
- AccountLogin_Exit();
- </OnClick>
- </Scripts>
- </Button>
- <Button name="TOSAccept" inherits="GlueButtonTemplateBlue" text="TOS_ACCEPT">
- <Size>
- <AbsDimension x="128" y="34"/>
- </Size>
- <Anchors>
- <Anchor point="RIGHT" relativeTo="TOSDecline" relativePoint="LEFT">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnLoad>
- self:Disable();
- </OnLoad>
- <OnClick>
- if ( TOSFrame.noticeType == "TOS" ) then
- AcceptTOS();
- elseif ( TOSFrame.noticeType == "EULA" ) then
- AcceptEULA();
- elseif ( TOSFrame.noticeType == "TERMINATION" ) then
- AcceptTerminationWithoutNotice();
- elseif ( TOSFrame.noticeType == "SCAN" ) then
- AcceptScanning();
- elseif ( TOSFrame.noticeType == "CONTEST" ) then
- AcceptContest();
- end
- self:GetParent():Hide();
- TOSNotice:Hide();
- TOSAccept:Disable();
- AccountLogin_ShowUserAgreements();
- </OnClick>
- </Scripts>
- </Button>
- </Frames>
- <Scripts>
- <OnShow>
- PlaySound("igMainMenuOpen");
- </OnShow>
- <OnHide>
- PlaySound("igMainMenuClose");
- </OnHide>
- </Scripts>
- </Frame>
- <!-- SURVEY NOTIFICATION FRAME BEGIN -->
- <Frame name="SurveyNotificationFrame" hidden="true">
- <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="SurveyNotificationFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
- <Size>
- <AbsDimension x="620" y="64"/>
- </Size>
- <Anchors>
- <Anchor point="TOP">
- <Offset>
- <AbsDimension x="-12" y="12"/>
- </Offset>
- </Anchor>
- </Anchors>
- </Texture>
- <FontString name="SurveyNotificationFrameTitle" inherits="GlueFontNormal" text="HARDWARE_SURVEY_TITLE">
- <Anchors>
- <Anchor point="TOP" relativeTo="SurveyNotificationFrameHeader">
- <Offset>
- <AbsDimension x="0" y="-14"/>
- </Offset>
- </Anchor>
- </Anchors>
- </FontString>
- </Layer>
- </Layers>
- <Frames>
- <ScrollFrame name="SurveyScrollFrame" inherits="GlueScrollFrameTemplate">
- <Size>
- <AbsDimension x="540" y="407"/>
- </Size>
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset>
- <AbsDimension x="30" y="-56"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnLoad>
- self.scrollBarHideable = 1;
- GlueScrollFrame_OnScrollRangeChanged(self);
- </OnLoad>
- </Scripts>
- <ScrollChild>
- <SimpleHTML name="SurveyText" file="survey.html">
- <Size>
- <AbsDimension x="530" y="407"/>
- </Size>
- <FontString inherits="GlueFontHighlight"/>
- <FontStringHeader1 inherits="GlueFontNormal"/>
- <FontStringHeader2 inherits="GlueFontNormalSmall"/>
- </SimpleHTML>
- </ScrollChild>
- </ScrollFrame>
- <Button name="SurveyNotificationDecline" inherits="GlueMenuButtonTemplate" text="HARDWARE_SURVEY_DISAGREE">
- <Anchors>
- <Anchor point="BOTTOMRIGHT">
- <Offset>
- <AbsDimension x="-53" y="21"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnClick>
- AccountLogin_SurveyNotificationDone(0);
- self:GetParent():Hide();
- </OnClick>
- <OnLoad>
- self:SetWidth(200);
- </OnLoad>
- </Scripts>
- </Button>
- <Button name="SurveyNotificationAccept" inherits="GlueMenuButtonTemplate" text="HARDWARE_SURVEY_AGREE">
- <Anchors>
- <Anchor point="RIGHT" relativeTo="SurveyNotificationDecline" relativePoint="LEFT">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnLoad>
- self:SetWidth(200);
- </OnLoad>
- <OnClick>
- AccountLogin_SurveyNotificationDone(1);
- self:GetParent():Hide();
- </OnClick>
- </Scripts>
- </Button>
- </Frames>
- </Frame>
- <!-- SURVEY NOTIFICATION FRAME END -->
- <Frame name="ConnectionHelpFrame" hidden="true">
- <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="ConnectionHelpFrameHeader" 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="CONNECTION_HELP_FRAME_TITLE">
- <Anchors>
- <Anchor point="TOP" relativeTo="ConnectionHelpFrameHeader">
- <Offset>
- <AbsDimension x="0" y="-14"/>
- </Offset>
- </Anchor>
- </Anchors>
- </FontString>
- </Layer>
- </Layers>
- <Frames>
- <ScrollFrame name="ConnectionHelpScrollFrame" 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="ConnectionHelpScrollBarTop" 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="ConnectionHelpScrollBarBottom" 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="ConnectionHelpScrollBarMiddle" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
- <Size>
- <AbsDimension x="31" y="60"/>
- </Size>
- <Anchors>
- <Anchor point="TOP" relativeTo="ConnectionHelpScrollBarTop" relativePoint="BOTTOM">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- <Anchor point="BOTTOM" relativeTo="ConnectionHelpScrollBarBottom" 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="ConnectionHelpText" file="connection-help.html">
- <Size>
- <AbsDimension x="540" y="800"/>
- </Size>
- <FontString inherits="TOSFont"/>
- <FontStringHeader1 inherits="GlueFontNormalLarge"/>
- <FontStringHeader2 inherits="GlueFontNormal"/>
- <FontStringHeader3 inherits="GlueFontNormal"/>
- </SimpleHTML>
- </ScrollChild>
- </ScrollFrame>
- <Button name="ConnectionHelpOkay" inherits="GlueMenuButtonTemplate" text="OKAY">
- <Anchors>
- <Anchor point="BOTTOMRIGHT">
- <Offset>
- <AbsDimension x="-53" y="21"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnClick>
- ConnectionHelpFrame:Hide();
- AccountLoginUI:Show();
- </OnClick>
- </Scripts>
- </Button>
- </Frames>
- </Frame>
- </Frames>
- <Scripts>
- <OnLoad>
- AccountLogin_OnLoad(self);
- </OnLoad>
- <OnShow>
- AccountLogin_OnShow(self);
- </OnShow>
- <OnHide>
- AccountLogin_OnHide(self);
- </OnHide>
- <OnKeyDown>
- AccountLogin_OnKeyDown(key);
- </OnKeyDown>
- <OnEvent>
- AccountLogin_OnEvent(event, ...);
- </OnEvent>
- <OnUpdate>
- LoginScreen_OnUpdate(self, elapsed);
- </OnUpdate>
- </Scripts>
- </Frame>
- <Frame name="CinematicsFrame" toplevel="true" parent="GlueParent" setAllPoints="true" enableMouse="true" enableKeyboard="true" frameStrata="DIALOG" hidden="true">
- <Frames>
- <Frame name="CinematicsBackground">
- <Size>
- <AbsDimension x="272" y="256"/>
- </Size>
- <Anchors>
- <Anchor point="CENTER">
- <Offset>
- <AbsDimension x="0" y="0"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
- <BackgroundInsets>
- <AbsInset left="11" right="12" top="12" bottom="11"/>
- </BackgroundInsets>
- <TileSize>
- <AbsValue val="32"/>
- </TileSize>
- <EdgeSize>
- <AbsValue val="32"/>
- </EdgeSize>
- </Backdrop>
- <Layers>
- <Layer level="ARTWORK">
- <FontString inherits="GlueFontNormalLarge" text="CINEMATICS">
- <Size>
- <AbsDimension x="450" y="0"/>
- </Size>
- <Anchors>
- <Anchor point="TOP">
- <Offset>
- <AbsDimension x="0" y="-16"/>
- </Offset>
- </Anchor>
- </Anchors>
- </FontString>
- </Layer>
- </Layers>
- <Frames>
- <Button name="CinematicsButton1" inherits="GlueButtonTemplateBlue" text="WORLD_OF_WARCRAFT" hidden="true" id="1">
- <Size>
- <AbsDimension x="240" y="45"/>
- </Size>
- <Anchors>
- <Anchor point="TOP">
- <Offset>
- <AbsDimension x="0" y="-50"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnClick function="Cinematics_PlayMovie"/>
- </Scripts>
- </Button>
- <Button name="CinematicsButton2" inherits="GlueButtonTemplateBlue" text="BURNING_CRUSADE" hidden="true" id="2">
- <Size>
- <AbsDimension x="240" y="45"/>
- </Size>
- <Anchors>
- <Anchor point="TOP" relativeTo="CinematicsButton1" relativePoint="BOTTOM">
- <Offset>
- <AbsDimension x="0" y="5"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnClick function="Cinematics_PlayMovie"/>
- </Scripts>
- </Button>
- <Button name="CinematicsButton3" inherits="GlueButtonTemplateBlue" text="WRATH_OF_THE_LICH_KING" hidden="true" id="3">
- <Size>
- <AbsDimension x="240" y="45"/>
- </Size>
- <Anchors>
- <Anchor point="TOP" relativeTo="CinematicsButton2" relativePoint="BOTTOM">
- <Offset>
- <AbsDimension x="0" y="5"/>
- </Offset>
- </Anchor>
- </Anchors>
- <Scripts>
- <OnClick function="Cinematics_PlayMovie"/>
- </Scripts>
- </Button>
- </Frames>
- </Frame>
- </Frames>
- <Scripts>
- <OnLoad>
- CinematicsFrame_OnLoad(self);
- </OnLoad>
- <OnShow>
- self:Raise();
- </OnShow>
- <OnKeyDown>
- CinematicsFrame_OnKeyDown(key);
- </OnKeyDown>
- </Scripts>
- </Frame>
- <Script file="LoginScene.lua"/>
- <Script file="LSTool.lua"/>
- </Ui>
Advertisement
Add Comment
Please, Sign In to add comment