// ====================================================================
// (C) 2002, Epic Games
// ====================================================================
class BZGUI_Tab_Info extends GUITabPanel;
var GUIScrollTextBox MyScrollText;
var localized string BZTEXT;
var GUIComboBox Weapon;
function InitComponent(GUIController MyController, GUIComponent MyOwner)
{
Super.InitComponent(MyController, MyOwner);
MyScrollText = GUIScrollTextBox(Controls[0]);
MyScrollText.SetContent("Hello "$PlayerOwner().GetUrlOption("Name")@BZTEXT);
Weapon =GUIComboBox(Controls[3]);
Weapon.AddItem("uh?");
WinWidth = Controller.ActivePage.WinWidth;
WinHeight = Controller.ActivePage.WinHeight *0.7;
WinLeft = Controller.ActivePage.WinLeft;
}
function bool ButtonClicked(GUIComponent Sender)
{
Controller.CloseMenu(true);
return true;
}
defaultproperties
{
Begin Object Class=GUIScrollTextBox Name=MOTDText
WinWidth=1.000000
WinHeight=0.640625
WinLeft=0.009
WinTop=0.1
CharDelay=0.0025
EOLDelay=0
StyleName="NoBackground"
bNoTeletype=true
bNeverFocus=true
bBoundToParent=true
bScaleToParent=true
End Object
Controls(0)=GUIScrollTextBox'MOTDText'
Begin Object Class=GUIButton Name=ServerBackButton
Caption="Cancel"
StyleName="SquareMenuButton"
Hint="Back to the Game"
WinWidth=0.220000
WinHeight=0.075000
WinLeft=0.768750
WinTop=0.934167
bBoundToParent=true
bScaleToParent=true
OnClick=ButtonClicked
End Object
Controls(1)=GUIButton'ServerBackButton'
Begin Object class=GUIImage Name=ServerBK1
WinWidth=1.0//0.293437
WinHeight=0.016522
WinLeft=0.0
WinTop=0.01
Image=Material'InterfaceContent.Menu.BorderBoxD'
ImageColor=(R=255,G=255,B=255,A=255);
ImageRenderStyle=MSTY_Alpha
ImageStyle=ISTY_Stretched
bBoundToParent=true
bScaleToParent=true
End Object
Controls(2)=GUIImage'ServerBK1'
Begin Object class=GUIComboBox Name=WapenMenu
WinWidth=0.500000
WinHeight=0.060000
WinLeft=0.25
WinTop=0.047917
Hint="Select the type of game you wish to play."
bVisible=false
End Object
Controls(3)=GUIComboBox'WapenMenu'
WinWidth=1
WinHeight=0.7
BZTEXT[0]=", in this Gametype, the two teams have to eliminate every member of the other team, in order to win a round."
}