// ================
// BATTLEZONE SHELL
// ================

//
// CREATE THE NAME DIALOG
//
CreateControl("BetaCredits2", "WINDOW")
{

	// inherit root window's dimensions
	Geometry("PARENTWIDTH", "PARENTHEIGHT");

	// set window style
	Style("TRANSPARENT");

	
		CreateControl("CredsTitleB", "BUTTON")
	{
		ColorGroup("MAGENTA");
		//Geometry("CENTER", "TOP");
		Position(40, 920);
		Size(110, 0);
		BorderSize(18);
		BevelSize(8);
		Style("ROLLOVER", "OUTLINE");
		Text("Rev. B");
		Font("SMALL");
		Cursor("Highlight");
		NotifyParent("Button::Press","DoSetVersion2");

	}
		OnEvent("DoSetVersion2")
		{
		FadeOut("|BetaCredits2");
		FadeIn("|BetaCredits");
		}

	CreateControl("Cpbeta2", "BUTTON")
	{
		ColorGroup("MAGENTA");
		Position(1120, 920);
		Size(110, 0);
		BorderSize(18);
		BevelSize(8);
		Font("SMALL");
		JustifyText("CENTER");
		Text("Done");
		Style("ROLLOVER", "OUTLINE");
		Cursor("Highlight");
		NotifyParent("Button::Press", "Cpbeta2");

	}	
	
	OnEvent("Cpbeta2")
	{
		FadeOut("|BetaCredits2");
		FadeIn("|ShellLogin");
	}

	//
	// handle the Cancel event
	//
	OnEvent("Login")
	{
		FadeOut("|BetaCredits2");
		FadeIn("|ShellLogin");
	}

	OnEvent("Control::Activate")
	{
		cmd("shell.background betacredits2.tga");
	}

}


