class MMRPGATMIntro extends ComputerUIWindow;

var MenuUILabelWindow        winLoginInfo;
var localized String LoginInfoText;

function CreateControls()
{
	Super.CreateControls();
	CreateLoginInfoWindow();
}

function CreateLoginInfoWindow()
{
	winLoginInfo = MenuUILabelWindow(winClient.NewChild(Class'MenuUILabelWindow'));

	winLoginInfo.SetPos(8, 66);
	winLoginInfo.SetSize(273, 31);
	winLoginInfo.SetTextAlignments(HALIGN_Center, VALIGN_Center);
	winLoginInfo.SetTextMargins(0, 0);
	winLoginInfo.SetText(LoginInfoText);

	DoRefresh1();
}

function CreateTitleWindow()
{
}

function SetTitle(String newTitle)
{
}

function CreateLeftEdgeWindow()
{
}

function CreateRightEdgeWindow()
{
}

function CreateStatusWindow()
{
}


Function DoRefresh1()
{
	local int i;
	i = AddTimer(1, False, 0, 'DoRefresh2');
	winLoginInfo.SetText("|p2Bank Loading... 5");
}
Function DoRefresh2()
{
	local int i;
	i = AddTimer(1, False, 0, 'DoRefresh3');
	winLoginInfo.SetText("|p2Bank Loading... 4");
}
Function DoRefresh3()
{
	local int i;
	i = AddTimer(1, False, 0, 'DoRefresh4');
	winLoginInfo.SetText("|p2Bank Loading... 3");
}
Function DoRefresh4()
{
	local int i;
	i = AddTimer(1, False, 0, 'DoRefresh5');
	winLoginInfo.SetText("|p2Bank Loading... 2");
}
Function DoRefresh5()
{
	local int i;
	i = AddTimer(1, False, 0, 'DoRefresh6');
	winLoginInfo.SetText("|p2Bank Loading... 1");
}
Function DoRefresh6()
{
	MMRPGATMTerminal(WinTerm).ShowScreen(Class'Contender.MMRPGATMScreen');
}


defaultproperties
{
     LoginInfoText="|p2Bank Loading..."
     ComputerNodeFunctionLabel="MainMansCityBank"
     Title=" "
     ClientWidth=303
     ClientHeight=231
     verticalOffset=30
     clientTextures(0)=None
     clientTextures(1)=None
     textureRows=1
     textureCols=2
     bAlwaysCenter=True
     statusPosY=206
}
