Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

GUI2K4.UT2K4TryAMod


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
//-----------------------------------------------------------
//
//-----------------------------------------------------------
class UT2K4TryAMod extends LockedFloatingWindow;

var automated GUIScrollTextBox sb_Info;
var automated GUIImage i_bk;
var localized string InfoText, InfoCaption;

function InitComponent(GUIController MyController, GUIComponent MyOwner)
{
	local eFontScale fs;
	Super.InitComponent(MyController, MyOwner);

	t_WindowTitle.Style = Controller.GetStyle("NoBackground",fs);
	i_FrameBG.SetVisibility(false);

	sb_Main.bBoundToParent = true;
	sb_Main.bScaleToParent = true;
	sb_Main.Caption = InfoCaption;
	sb_Main.SetPosition(0,0,1,1);
	sb_Main.ManageComponent(sb_Info);
	sb_Info.SetContent(InfoText);
	sb_Main.TopPadding=0.1;
	sb_Main.LeftPadding=0;
	sb_Main.RightPadding=0;
	b_Cancel.SetVisibility(false);

	b_Ok.SetPosition(0.38,0.811524,0.2,b_Ok.WinHeight);
}


defaultproperties
{
	Begin Object Class=GUIScrollTextBox Name=sbInfo
		bNoTeletype=true
		TextAlign=TXTA_Center
	    TabOrder=0
	    WinWidth=1
	    WinHeight=1
	    WinLeft=0
	    WinTop=0
	End Object
	sb_Info=sbInfo

	Begin Object Class=GUIImage Name=imgBack
		Image=material'2K4Menus.NewControls.NewFooter'
		ImageStyle=ISTY_Stretched
		ImageRenderStyle=MSTY_Alpha
		bBoundToParent=true
		bScaleToParent=true
		WinWidth=0.978125
		WinHeight=0.900000
		WinLeft=0.010937
		WinTop=0.050000
		RenderWeight=0.00001
		ImageColor=(R=255,G=255,B=255,A=180)
	End Object
	i_bk=imgBack;

	WinWidth=0.800000
	WinHeight=0.556250
	WinLeft=0.100000
	WinTop=0.195833

	DefaultWidth=0.800000
	DefaultHeight=0.556250
	DefaultLeft=0.100000
	DefaultTop=0.195833

	InfoText="At the bottom of the server browser, there is a checkbox marked [Show Standard Servers Only], which is checked by default.  If you uncheck this box, the server browser will display servers running gameplay modifications which may radically alter gameplay.  If you are looking for something different, try unchecking that box."
	InfoCaption="Special Message..."

	DesiredFade=150
	CurFade=200
	FadeTime=0.35


}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Di 5.9.2006 22:28:52.000 - Creation time: Do 14.8.2014 09:58:54.564 - Created with UnCodeX