13d77d77c9
Pristine baseline for the four Glue files we'll customize: - AccountLogin.lua / .xml - CharacterSelect.lua / .xml Source: c:/WoW/Octo/BlizzardInterfaceCode/GlueXML (Turtle WoW). Other files in BlizzardInterfaceCode/GlueXML are not tracked here since we don't override them on top of the MPQ-provided copies.
1054 lines
31 KiB
XML
1054 lines
31 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"/>
|
|
<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="20"/>
|
|
</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\turtlewow_expansion_logo">
|
|
<Size>
|
|
<AbsDimension x="236" y="118"/>
|
|
</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="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>
|
|
AccountLogin_Login();
|
|
</OnEnterPressed>
|
|
<OnEditFocusLost>
|
|
this:HighlightText(0, 0);
|
|
</OnEditFocusLost>
|
|
<OnEditFocusGained>
|
|
this:HighlightText();
|
|
</OnEditFocusGained>
|
|
<OnTextChanged>
|
|
local accountName = GetSavedAccountName();
|
|
if ( accountName ~= "" and accountName ~= this:GetText() ) then
|
|
SetSavedAccountName("");
|
|
AccountLoginSaveAccountName:SetChecked(0);
|
|
end
|
|
</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>
|
|
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">
|
|
<Size>
|
|
<AbsDimension x="173" y="45"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOP">
|
|
<Offset>
|
|
<AbsDimension x="11" 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="AccountLoginCreditsButton" inherits="GlueButtonSmallTemplate" text="CREDITS">
|
|
<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>
|
|
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="AccountLoginTurtleReddit" inherits="GlueButtonSmallTemplate" text="TURTLE_REDDIT">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeTo="AccountLoginCinematicsButton" relativePoint="TOP" >
|
|
<Offset>
|
|
<AbsDimension x="0" y="-2"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
AccountLogin_Turtle_Reddit();
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="AccountLoginTurtleDiscord" inherits="GlueButtonSmallTemplate" text="TURTLE_DISCORD">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeTo="AccountLoginTurtleReddit" relativePoint="TOP" >
|
|
<Offset>
|
|
<AbsDimension x="0" y="-2"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
AccountLogin_Turtle_Discord();
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="AccountLoginTurtleCommunityForum" inherits="GlueButtonSmallTemplate" text="TURTLE_COMMUNITY_FORUM">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeTo="AccountLoginTurtleDiscord" relativePoint="TOP" >
|
|
<Offset>
|
|
<AbsDimension x="0" y="-2"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
AccountLogin_Turtle_Community_Forum();
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="AccountLoginTurtleKnowledgeDatabase" inherits="GlueButtonSmallTemplate" text="TURTLE_KNOWLEDGE_DATABASE">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeTo="AccountLoginTurtleCommunityForum" relativePoint="TOP" >
|
|
<Offset>
|
|
<AbsDimension x="0" y="-2"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
AccountLogin_Turtle_Knowledge_Database();
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="AccountLoginTurtleArmory" inherits="GlueButtonSmallTemplate" text="TURTLE_ARMORY">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeTo="AccountLoginTurtleKnowledgeDatabase" relativePoint="TOP" >
|
|
<Offset>
|
|
<AbsDimension x="0" y="-2"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
AccountLogin_Turtle_Armory_Website();
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="AccountLoginTurtleWebsite" inherits="GlueButtonSmallTemplate" text="COMMUNITY_SITE">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeTo="AccountLoginTurtleArmory" relativePoint="TOP">
|
|
<Offset>
|
|
<AbsDimension x="0" y="-2"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
AccountLogin_Turtle_Website();
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
<CheckButton name="AccountLoginSaveAccountName">
|
|
<Size>
|
|
<AbsDimension x="20" y="20"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" relativeTo="AccountLoginLoginButton">
|
|
<Offset>
|
|
<AbsDimension x="-15" y="-15"/>
|
|
</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="520"/>
|
|
</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 = _G[this:GetName().."ScrollBar"];
|
|
scrollbar:SetValue(arg1);
|
|
local min;
|
|
local max;
|
|
min, max = scrollbar:GetMinMaxValues();
|
|
if ( arg1 == 0 ) then
|
|
_G[scrollbar:GetName().."ScrollUpButton"]:Disable();
|
|
else
|
|
_G[scrollbar:GetName().."ScrollUpButton"]:Enable();
|
|
end
|
|
if (scrollbar:GetValue() >= max - 20) then
|
|
_G[scrollbar:GetName().."ScrollDownButton"]:Disable();
|
|
else
|
|
_G[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="156" y="70"/>
|
|
</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="8" right="4" top="0" bottom="6"/>
|
|
</BackgroundInsets>
|
|
</Backdrop>
|
|
<Frames>
|
|
<EditBox name="VirtualKeypadText" numeric="true" letters="6">
|
|
<Size>
|
|
<AbsDimension x="80" y="37"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="8" y="-26"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<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>
|
|
<OnShow>
|
|
VirtualKeypadText:SetFocus();
|
|
</OnShow>
|
|
<OnEscapePressed>
|
|
this:GetParent():Hide();
|
|
StatusDialogClick();
|
|
</OnEscapePressed>
|
|
<OnEnterPressed>
|
|
VirtualKeypadOkayButton_OnClick();
|
|
</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="VirtualKeypadOkayButton" text="OKAY">
|
|
<Size x="52" y="24"/>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="VirtualKeypadText" relativePoint="RIGHT">
|
|
<Offset>
|
|
<AbsDimension x="4" y="2"/>
|
|
</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>
|
|
|
|
|
|
<!-- 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 = _G[this:GetName().."ScrollBar"];
|
|
scrollbar:SetValue(arg1);
|
|
local min;
|
|
local max;
|
|
min, max = scrollbar:GetMinMaxValues();
|
|
if ( arg1 == 0 ) then
|
|
_G[scrollbar:GetName().."ScrollUpButton"]:Disable();
|
|
else
|
|
_G[scrollbar:GetName().."ScrollUpButton"]:Enable();
|
|
end
|
|
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();
|
|
</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>
|