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

XInterface.UT2Congratulations


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
class UT2Congratulations extends UT2K3GUIPage;

function SetupPage(string PageCaption, string PageMessage, string ContinueCaption, Material CongratsPic)
{
	GUITitleBar(Controls[0]).SetCaption(PageCaption);
	GUITitleBar(Controls[2]).SetCaption(PageMessage);
	GUIButton(Controls[3]).Caption = ContinueCaption; // For localization
	GUIImage(Controls[1]).Image = CongratsPic;
}

defaultproperties
{
	Begin Object Class=GUITitleBar name=CongratsHeader
		Caption="CONGRATULATIONS"
		Justification=TXTA_Center
		WinWidth=1.000000
		WinLeft=0.000000
		WinTop=0.02
		StyleName="Header"
	End Object

	Begin Object Class=GUIImage Name=CongratsPicture
		WinTop=0.1
		WinLeft=0.1
		WinWidth=0.8
		WinHeight=0.7
		ImageStyle=ISTY_Justified
		ImageAlign=IMGA_Center
	End Object

	Begin Object class=GUITitleBar name=CongratsFooter
		WinWidth=1.000000
		WinLeft=0.000000
		WinTop=0.86
		StyleName="Footer"
		Justification=TXTA_Center
	End Object

	Begin Object Class=GUIButton Name=BackButton
		Caption="Continue"
//		Hint="Cancel Changes and Return to Previous Menu"
//		OnClick=ButtonClick
		WinWidth=0.3
		WinHeight=0.04
		WinLeft=0.79
		WinTop=0.94
	End Object

	Controls(0)=GUITitleBar'CongratsHeader'
	Controls(1)=GUIImage'CongratsPicture'
	Controls(2)=GUITitleBar'CongratsFooter'
	Controls(3)=GUIButton'BackButton'

	WinWidth=0.8
	WinHeight=0.8
	WinTop=0.1
	WinLeft=0.1
}

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