AccountLogin_FocusPassword();
AccountLogin_Exit();
AccountLogin_Login();
this:HighlightText(0, 0);
this:HighlightText();
local accountName = GetSavedAccountName();
if ( accountName ~= "" and accountName ~= this:GetText() ) then
SetSavedAccountName("");
AccountLoginSaveAccountName:SetChecked(0);
end
AccountLogin_FocusAccountName();
AccountLogin_Exit();
AccountLogin_Login();
this:HighlightText(0, 0);
this:HighlightText();
if ( GetSavedAccountName() ~= "" ) then
this:SetChecked(1);
else
this:SetChecked(0);
end
if ( this:GetChecked() ) then
PlaySound("igMainMenuOptionCheckBoxOff");
else
PlaySound("igMainMenuOptionCheckBoxOn");
end
this.scrollBarHideable = 1;
GlueScrollFrame_OnScrollRangeChanged();
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
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
LaunchURL(arg1);
VirtualKeypadText:SetFocus();
this:GetParent():Hide();
StatusDialogClick();
VirtualKeypadOkayButton_OnClick();
this:HighlightText(0, 0);
this:HighlightText();
this:RegisterEvent("PLAYER_ENTER_PIN");
this.PIN = "";
VirtualKeypadText:SetText("");
VirtualKeypadFrame_OnEvent(event);
VirtualKeypadText:SetText("");
this.PIN = "";
GlueFrameFadeIn(this, LOGIN_FADE_IN);
this.scrollBarHideable = 1;
GlueScrollFrame_OnScrollRangeChanged();
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
AccountLogin_OnLoad();
AccountLogin_OnShow();
AccountLogin_OnChar();
AccountLogin_OnKeyDown();
AccountLogin_OnEvent(event);