Files
GlueXML/AccountLogin.xml
T
paste e504f88167 Add account manager, character reordering, and glue Lua console
Three features layered onto the Turtle WoW baseline:

- Account manager (AccountLogin.lua / .xml): saved-account list backed
  by Windows Credential Manager via ClassicAPI. Pass-through to
  LoginWithSavedAccount; per-account 'last used' timestamp; password
  field hides itself when the typed name matches a saved entry and a
  'Change password' button reveals it on demand.
- Character reordering (CharacterSelect.lua / .xml): drag-to-reorder
  the character list, persisted via ClassicAPI's
  GetSavedCharacterOrder / SetSavedCharacterOrder.
- Glue Lua console (GlueConsole.lua / .xml, new files): in-glue RunScript
  console reachable from the title and char-select screens.

Currently no key opens the console — the backtick binding was removed
pending a ClassicAPI EditBox arrow/key script handler (see TODO.md section 96).
2026-06-22 23:40:37 -05:00

1914 lines
58 KiB
XML

<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"/>
<Include file="GlueConsole.xml"/>
<Button name="AutologinAccountButtonTemplate" virtual="true">
<Size>
<AbsDimension x="256" y="70"/>
</Size>
<HitRectInsets>
<AbsInset left="0" right="0" top="0" bottom="15"/>
</HitRectInsets>
<Frames>
<Frame name="$parentButtonText" setAllPoints="true">
<Layers>
<Layer level="BORDER">
<FontString name="$parentName" inherits="GlueFontNormal" justifyH="LEFT">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="-5"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentPassword" inherits="GlueFontHighlightSmall" justifyH="LEFT">
<Size>
<AbsDimension x="217" y="12"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentName" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-1"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentCharacter" inherits="GlueFontDisableSmall" justifyH="LEFT">
<Size>
<AbsDimension x="217" y="16"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentPassword" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-1"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
</Frames>
<Scripts>
<OnClick>
AutologinAccountButton_OnClick();
</OnClick>
<OnDoubleClick>
AutologinAccountButton_OnDoubleClick();
</OnDoubleClick>
</Scripts>
<HighlightTexture file="Interface\Glues\CharacterSelect\Glue-CharacterSelect-Highlight" alphaMode="ADD">
<Size>
<AbsDimension x="256" y="74"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="-20" y="8"/>
</Offset>
</Anchor>
</Anchors>
</HighlightTexture>
<NormalFont inherits="GlueFontNormal"/>
<HighlightFont inherits="GlueFontHighlight"/>
</Button>
<Button name="VirtualKeyPadButtonTemplate" inherits="GlueMenuButtonTemplate" virtual="true">
<Size x="40" y="24"/>
<Scripts>
<OnClick>
VirtualKeypadButton_OnClick();
</OnClick>
</Scripts>
</Button>
<ModelFFX name="AccountLogin" setAllPoints="true" file="Interface\Glues\Models\UI_MainMenu\UI_MainMenu.mdx" hidden="true" parent="GlueParent" enableKeyboard="true" fogNear="0" fogFar="1200">
<Frames>
<Frame name="AccountLoginUI" setAllPoints="true">
<Layers>
<Layer level="ARTWORK">
<Texture file="Interface\Glues\Mainmenu\Glues-BlizzardLogo">
<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">
<Anchors>
<Anchor point="BOTTOM">
<Offset>
<AbsDimension x="0" y="10"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="AccountLoginVersion" inherits="GlueFontNormalSmall" justifyH="LEFT">
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="10"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
<Layer level="OVERLAY">
<Texture name="AccountLoginLogo" file="Interface\Glues\Common\Glues-WoW-Logo">
<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>
<Frame name="AutologinAccountsFrame">
<Size>
<AbsDimension x="260" y="330"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="-5" y="-15"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<FontString text="Select account" inherits="GlueFontDisableLarge">
<Size>
<AbsDimension x="256" y="13"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="-10"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="AutologinSizeWarning" inherits="GlueFontRedSmall" text="WARNING: Too many accounts. Changes won't be saved correctly.">
<Size>
<AbsDimension x="220" y="28"/>
</Size>
<Anchors>
<Anchor point="TOP" relativeTo="AutologinAccountsFrame" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="4"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="AutologinAccountButton1" inherits="AutologinAccountButtonTemplate" id="1">
<Anchors>
<Anchor point="TOP" relativeTo="AutologinAccountsFrame" relativePoint="TOP">
<Offset>
<AbsDimension x="22" y="-30"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="AutologinAccountButton2" inherits="AutologinAccountButtonTemplate" id="2">
<Anchors>
<Anchor point="TOP" relativeTo="AutologinAccountButton1" relativePoint="BOTTOM">
<Offset>
<AbsDimension y="13"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="AutologinAccountButton3" inherits="AutologinAccountButtonTemplate" id="3">
<Anchors>
<Anchor point="TOP" relativeTo="AutologinAccountButton2" relativePoint="BOTTOM">
<Offset>
<AbsDimension y="13"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="AutologinAccountButton4" inherits="AutologinAccountButtonTemplate" id="4">
<Anchors>
<Anchor point="TOP" relativeTo="AutologinAccountButton3" relativePoint="BOTTOM">
<Offset>
<AbsDimension y="13"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="AutologinRemoveAccountButton" inherits="GlueButtonSmallTemplate" text="Remove account">
<Anchors>
<Anchor point="BOTTOM" relativeTo="AutologinAccountsFrame" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="5"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
Autologin_RemoveAccount();
</OnClick>
</Scripts>
</Button>
<Button name="AutologinChangePasswordButton" inherits="GlueButtonSmallTemplate" text="Change password" hidden="true">
<Anchors>
<Anchor point="BOTTOM" relativeTo="AutologinRemoveAccountButton" relativePoint="TOP">
<Offset>
<AbsDimension x="0" y="-10"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
Autologin_ChangePassword();
</OnClick>
</Scripts>
</Button>
<Button name="AutologinNextPage">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT" relativeTo="AutologinAccountsFrame" relativePoint="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-5" y="10"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
Autologin_NextPage();
</OnClick>
</Scripts>
<NormalTexture file="Interface\Glues\Common\Glue-RightArrow-Button-Up"/>
<PushedTexture file="Interface\Glues\Common\Glue-RightArrow-Button-Down"/>
<HighlightTexture file="Interface\Glues\Common\Glue-RightArrow-Button-Highlight" alphaMode="ADD"/>
</Button>
<Button name="AutologinPrevPage">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="AutologinAccountsFrame" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="10" y="10"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
Autologin_PrevPage();
</OnClick>
</Scripts>
<NormalTexture file="Interface\Glues\Common\Glue-LeftArrow-Button-Up"/>
<PushedTexture file="Interface\Glues\Common\Glue-LeftArrow-Button-Down"/>
<HighlightTexture file="Interface\Glues\Common\Glue-LeftArrow-Button-Highlight" alphaMode="ADD"/>
</Button>
</Frames>
<Backdrop bgFile="Interface\Glues\Common\Glue-Tooltip-Background" edgeFile="Interface\Glues\Common\Glue-Tooltip-Border" tile="true">
<BackgroundInsets>
<AbsInset left="10" right="5" top="4" bottom="9"/>
</BackgroundInsets>
<TileSize>
<AbsValue val="16"/>
</TileSize>
<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
</Backdrop>
</Frame>
<EditBox name="AccountLoginAccountEdit" letters="16">
<Size>
<AbsDimension x="160" y="37"/>
</Size>
<Anchors>
<Anchor point="BOTTOM">
<Offset>
<AbsDimension x="8" y="345"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<FontString inherits="GlueFontNormal" text="ACCOUNT_NAME">
<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>
<OnTabPressed>
AccountLogin_FocusPassword();
</OnTabPressed>
<OnEscapePressed>
AccountLogin_Exit();
</OnEscapePressed>
<OnEnterPressed>
if ( TOSFrame:IsVisible() ) then
return;
end
AccountLogin_Login();
</OnEnterPressed>
<OnEditFocusLost>
this:HighlightText(0, 0);
</OnEditFocusLost>
<OnEditFocusGained>
this:HighlightText();
</OnEditFocusGained>
<OnTextChanged>
Autologin_OnNameUpdate(this:GetText());
</OnTextChanged>
</Scripts>
<FontString inherits="GlueEditBoxFont"/>
<TextInsets>
<AbsInset left="15" bottom="5"/>
</TextInsets>
</EditBox>
<EditBox name="AccountLoginPasswordEdit" letters="16" password="1">
<Size>
<AbsDimension x="160" y="37"/>
</Size>
<Anchors>
<Anchor point="BOTTOM">
<Offset>
<AbsDimension x="8" y="270"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<FontString inherits="GlueFontNormal" text="PASSWORD">
<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>
<OnTabPressed>
AccountLogin_FocusAccountName();
</OnTabPressed>
<OnEscapePressed>
AccountLogin_Exit();
</OnEscapePressed>
<OnEnterPressed>
if ( TOSFrame:IsVisible() ) then
return;
end
AccountLogin_Login();
</OnEnterPressed>
<OnEditFocusLost>
this:HighlightText(0, 0);
</OnEditFocusLost>
<OnEditFocusGained>
this:HighlightText();
</OnEditFocusGained>
</Scripts>
<FontString inherits="GlueEditBoxFont"/>
<TextInsets>
<AbsInset left="15" bottom="5"/>
</TextInsets>
</EditBox>
<Button name="AccountLoginLoginButton" inherits="GlueButtonTemplate" text="LOGIN">
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="8" y="-519"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
AccountLogin_Login();
</OnClick>
</Scripts>
</Button>
<Button name="AccountLoginExitButton" inherits="GlueButtonSmallTemplate" text="QUIT">
<Anchors>
<Anchor point="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-5" y="29"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
AccountLogin_Exit();
</OnClick>
</Scripts>
</Button>
<Button name="AccountLoginTOSButton" inherits="GlueButtonSmallTemplate" text="TOS_FRAME_TITLE">
<Anchors>
<Anchor point="BOTTOM" relativeTo="AccountLoginExitButton" relativePoint="TOP">
<Offset>
<AbsDimension x="0" y="80"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<FontString name="AccountLoginRealmName" inherits="GlueFontDisableSmall" justifyH="RIGHT">
<Size>
<AbsDimension x="256" y="0"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-8" y="-10"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnClick>
if ( not GlueDialog:IsVisible() ) then
AccountLoginUI:Hide();
TOSFrame:Show();
TOSScrollFrame:Show();
TOSScrollFrameScrollBar:SetValue(0);
TOSFrameTitle:SetText(TOS_FRAME_TITLE);
TOSText:Show();
end
</OnClick>
</Scripts>
</Button>
<Button name="AccountLoginCreditsButton" inherits="GlueButtonSmallTemplate" text="CREDITS">
<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="GlueButtonSmallTemplate" text="CINEMATICS">
<Anchors>
<Anchor point="BOTTOM" relativeTo="AccountLoginCreditsButton" relativePoint="TOP">
<Offset>
<AbsDimension x="0" y="-2"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
AccountLogin_Cinematics();
</OnClick>
</Scripts>
</Button>
<Button name="AccountLoginCommunityButton" inherits="GlueButtonSmallTemplate" text="COMMUNITY_SITE">
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset>
<AbsDimension x="10" y="120"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
AccountLogin_LaunchCommunitySite();
</OnClick>
</Scripts>
</Button>
<Button name="AccountLoginManageAccountButton" inherits="GlueButtonSmallTemplate" text="MANAGE_ACCOUNT">
<Anchors>
<Anchor point="BOTTOM" relativeTo="AccountLoginCommunityButton" relativePoint="TOP">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
AccountLogin_ManageAccount();
</OnClick>
</Scripts>
</Button>
<CheckButton name="AccountLoginSaveAccountName">
<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="SAVE_ACCOUNT_NAME">
<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>
if ( GetSavedAccountName() ~= "" ) then
this:SetChecked(1);
else
this:SetChecked(0);
end
</OnLoad>
<OnClick>
if ( this:GetChecked() ) then
PlaySound("igMainMenuOptionCheckBoxOff");
else
PlaySound("igMainMenuOptionCheckBoxOn");
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 name="ServerAlertFrame" hidden="true">
<Size>
<AbsDimension x="350" y="470"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="10" y="-110"/>
</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="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="320" y="410"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="15" y="-46"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.scrollBarHideable = 1;
GlueScrollFrame_OnScrollRangeChanged();
</OnLoad>
<OnVerticalScroll>
local scrollbar = getglobal(this:GetName().."ScrollBar");
scrollbar:SetValue(arg1);
local min;
local max;
min, max = scrollbar:GetMinMaxValues();
if ( arg1 == 0 ) then
getglobal(scrollbar:GetName().."ScrollUpButton"):Disable();
else
getglobal(scrollbar:GetName().."ScrollUpButton"):Enable();
end
if (scrollbar:GetValue() >= max - 20) then
getglobal(scrollbar:GetName().."ScrollDownButton"):Disable();
else
getglobal(scrollbar:GetName().."ScrollDownButton"):Enable();
end
</OnVerticalScroll>
<OnScrollRangeChanged>
GlueScrollFrame_OnScrollRangeChanged(arg2);
if (floor(ServerAlertScrollFrame:GetVerticalScrollRange()) > 0) then
ServerAlertScrollFrame:SetWidth(298);
ServerAlertText:SetWidth(298);
this.updated = 1;
else
ServerAlertScrollFrame:SetWidth(320);
ServerAlertText:SetWidth(320);
end
</OnScrollRangeChanged>
</Scripts>
<ScrollChild>
<SimpleHTML name="ServerAlertText" hyperlinkFormat="|cff2f68ff|H%s|h[%s]|h|r">
<Size>
<AbsDimension x="295" y="410"/>
</Size>
<Scripts>
<OnHyperlinkClick>
LaunchURL(arg1);
</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="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 inherits="GlueFontNormalSmall"/>
<HighlightFont inherits="GlueFontHighlightSmall"/>
<DisabledFont inherits="GlueFontDisableSmall"/>
</Button>
<Button name="VirtualKeypadCloseButton" inherits="GlueCloseButton">
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="3" y="4"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
this:GetParent():Hide();
StatusDialogClick();
</OnClick>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnLoad>
this:RegisterEvent("PLAYER_ENTER_PIN");
this.PIN = "";
VirtualKeypadText:SetText("");
</OnLoad>
<OnEvent>
VirtualKeypadFrame_OnEvent(event);
</OnEvent>
<OnHide>
VirtualKeypadText:SetText("");
this.PIN = "";
</OnHide>
</Scripts>
</Frame>
</Frames>
<Scripts>
<OnShow>
GlueFrameFadeIn(this, LOGIN_FADE_IN);
</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="420" y="64"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="-12" y="12"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<FontString name="TOSFrameTitle" inherits="GlueFontNormal" text="TOS_FRAME_TITLE">
<Anchors>
<Anchor point="TOP" relativeTo="TOSFrameHeader">
<Offset>
<AbsDimension x="0" y="-14"/>
</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>
<OnVerticalScroll>
local scrollbar = getglobal(this:GetName().."ScrollBar");
scrollbar:SetValue(arg1);
local min;
local max;
min, max = scrollbar:GetMinMaxValues();
if ( arg1 == 0 ) then
getglobal(scrollbar:GetName().."ScrollUpButton"):Disable();
else
getglobal(scrollbar:GetName().."ScrollUpButton"):Enable();
end
if (scrollbar:GetValue() >= max - 20) then
getglobal(scrollbar:GetName().."ScrollDownButton"):Disable();
TOSAccept:Enable();
else
getglobal(scrollbar:GetName().."ScrollDownButton"):Enable();
if ( not TOSAccepted() and TOSFrame.noticeType == "TOS" ) then
TOSAccept:Disable();
end
end
</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>
<OnVerticalScroll>
local scrollbar = getglobal(this:GetName().."ScrollBar");
scrollbar:SetValue(arg1);
local min;
local max;
min, max = scrollbar:GetMinMaxValues();
if ( arg1 == 0 ) then
getglobal(scrollbar:GetName().."ScrollUpButton"):Disable();
else
getglobal(scrollbar:GetName().."ScrollUpButton"):Enable();
end
if (scrollbar:GetValue() >= max - 20) then
getglobal(scrollbar:GetName().."ScrollDownButton"):Disable();
TOSAccept:Enable();
else
getglobal(scrollbar:GetName().."ScrollDownButton"):Enable();
if ( not EULAAccepted() and TOSFrame.noticeType == "EULA" ) then
TOSAccept:Disable();
end
end
</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="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>
<OnVerticalScroll>
local scrollbar = getglobal(this:GetName().."ScrollBar");
scrollbar:SetValue(arg1);
local min;
local max;
min, max = scrollbar:GetMinMaxValues();
if ( arg1 == 0 ) then
getglobal(scrollbar:GetName().."ScrollUpButton"):Disable();
else
getglobal(scrollbar:GetName().."ScrollUpButton"):Enable();
end
if ((scrollbar:GetValue() >= max - 20)) then
getglobal(scrollbar:GetName().."ScrollDownButton"):Disable();
TOSAccept:Enable();
else
getglobal(scrollbar:GetName().."ScrollDownButton"):Enable();
if ( not ScanningAccepted() and TOSFrame.noticeType == "SCAN" ) then
TOSAccept:Disable();
end
end
</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>
<OnVerticalScroll>
local scrollbar = getglobal(this:GetName().."ScrollBar");
scrollbar:SetValue(arg1);
local min;
local max;
min, max = scrollbar:GetMinMaxValues();
if ( arg1 == 0 ) then
getglobal(scrollbar:GetName().."ScrollUpButton"):Disable();
else
getglobal(scrollbar:GetName().."ScrollUpButton"):Enable();
end
if ((scrollbar:GetValue() >= max - 20)) then
getglobal(scrollbar:GetName().."ScrollDownButton"):Disable();
TOSAccept:Enable();
else
getglobal(scrollbar:GetName().."ScrollDownButton"):Enable();
if ( not ContestAccepted() and TOSFrame.noticeType == "CONTEST" ) then
TOSAccept:Disable();
end
end
</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="GlueMenuButtonTemplate" text="DECLINE">
<Anchors>
<Anchor point="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-53" y="21"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
AccountLogin_Exit();
</OnClick>
</Scripts>
</Button>
<Button name="TOSAccept" inherits="GlueMenuButtonTemplate" text="TOS_ACCEPT">
<Anchors>
<Anchor point="RIGHT" relativeTo="TOSDecline" relativePoint="LEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this:Disable();
</OnLoad>
<OnClick>
if ( TOSFrame.noticeType == "TOS" ) then
AcceptTOS();
elseif ( TOSFrame.noticeType == "EULA" ) then
AcceptEULA();
elseif ( TOSFrame.noticeType == "SCAN" ) then
AcceptScanning();
elseif (TOSFrame.noticeType == "CONTEST" ) then
AcceptContest();
end
this:GetParent():Hide();
TOSNotice:Hide();
TOSAccept:Disable();
AccountLogin_ShowUserAgreements();
</OnClick>
</Scripts>
</Button>
</Frames>
</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>
this.scrollBarHideable = 1;
GlueScrollFrame_OnScrollRangeChanged();
</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);
this:GetParent():Hide();
</OnClick>
<OnLoad>
this: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>
this:SetWidth(200);
</OnLoad>
<OnClick>
AccountLogin_SurveyNotificationDone(1);
this: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 = getglobal(this:GetName().."ScrollBar");
scrollbar:SetValue(arg1);
local min;
local max;
min, max = scrollbar:GetMinMaxValues();
if ( arg1 == 0 ) then
getglobal(scrollbar:GetName().."ScrollUpButton"):Disable();
else
getglobal(scrollbar:GetName().."ScrollUpButton"):Enable();
end
if (scrollbar:GetValue() >= max - 20) then
getglobal(scrollbar:GetName().."ScrollDownButton"):Disable();
else
getglobal(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();
</OnLoad>
<OnShow>
AccountLogin_OnShow();
</OnShow>
<OnChar>
AccountLogin_OnChar();
</OnChar>
<OnKeyDown>
AccountLogin_OnKeyDown();
</OnKeyDown>
<OnEvent>
AccountLogin_OnEvent(event);
</OnEvent>
</Scripts>
<FogColor r="0.25" g="0.06" b="0.015"/>
</ModelFFX>
</Ui>