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
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"
         StyleName="Header"
         WinTop=0.020000
     End Object
     Controls(0)=GUITitleBar'XInterface.UT2Congratulations.CongratsHeader'

     Begin Object Class=GUIImage Name=CongratsPicture
         ImageStyle=ISTY_Justified
         ImageAlign=IMGA_Center
         WinTop=0.100000
         WinLeft=0.100000
         WinWidth=0.800000
         WinHeight=0.700000
     End Object
     Controls(1)=GUIImage'XInterface.UT2Congratulations.CongratsPicture'

     Begin Object Class=GUITitleBar Name=CongratsFooter
         StyleName="Footer"
         WinTop=0.860000
     End Object
     Controls(2)=GUITitleBar'XInterface.UT2Congratulations.CongratsFooter'

     Begin Object Class=GUIButton Name=BackButton
         Caption="Continue"
         WinTop=0.940000
         WinLeft=0.790000
         WinWidth=0.300000
         OnKeyEvent=BackButton.InternalOnKeyEvent
     End Object
     Controls(3)=GUIButton'XInterface.UT2Congratulations.BackButton'

     WinTop=0.100000
     WinLeft=0.100000
     WinWidth=0.800000
     WinHeight=0.800000
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Mon 23/10/2006 20:30:40.000 - Creation time: Wed 7/2/2007 19:16:55.531 - Created with UnCodeX