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

GUI2K4.UT2K4GameFooter


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
//==============================================================================
//  Created on: 12/14/2003
//  This footer goes on Instant Action & Host Multiplayer pages
//
//  Written by Ron Prestenback
//  © 2003, Epic Games, Inc. All Rights Reserved
//==============================================================================

class UT2K4GameFooter extends ButtonFooter;

var automated GUIButton b_Primary, b_Secondary, b_Back;
var() localized string PrimaryCaption, PrimaryHint, SecondaryCaption, SecondaryHint;

var UT2K4GamePageBase Owner;

function InitComponent(GUIController InController, GUIComponent InOwner)
{
    Super.InitComponent(InController, InOwner);

    Owner = UT2K4GamePageBase(MenuOwner);
    b_Primary.OnClick = Owner.InternalOnClick;
    b_Secondary.OnClick = Owner.InternalOnClick;
    b_Back.OnClick = Owner.InternalOnClick;
}

function SetupButtons( optional string bPerButtonSizes )
{
    b_Primary.Caption = PrimaryCaption;
    b_Primary.SetHint( PrimaryHint );

    b_Secondary.Caption = SecondaryCaption;
    b_Secondary.SetHint( SecondaryHint );

    Super.SetupButtons(bPerButtonSizes);
}

defaultproperties
{
     Begin Object Class=GUIButton Name=GamePrimaryButton
         StyleName="FooterButton"
         WinTop=0.966146
         WinLeft=0.880000
         WinWidth=0.120000
         WinHeight=0.033203
         TabOrder=0
         bBoundToParent=Wahr
         OnKeyEvent=GamePrimaryButton.InternalOnKeyEvent
     End Object
     b_Primary=GUIButton'GUI2K4.UT2K4GameFooter.GamePrimaryButton'

     Begin Object Class=GUIButton Name=GameSecondaryButton
         StyleName="FooterButton"
         WinTop=0.966146
         WinLeft=0.758125
         WinWidth=0.120000
         WinHeight=0.033203
         TabOrder=1
         bBoundToParent=Wahr
         OnKeyEvent=GameSecondaryButton.InternalOnKeyEvent
     End Object
     b_Secondary=GUIButton'GUI2K4.UT2K4GameFooter.GameSecondaryButton'

     Begin Object Class=GUIButton Name=GameBackButton
         Caption="BACK"
         StyleName="FooterButton"
         Hint="Return to Previous Menu"
         WinTop=0.966146
         WinWidth=0.120000
         WinHeight=0.033203
         TabOrder=2
         bBoundToParent=Wahr
         OnKeyEvent=GameBackButton.InternalOnKeyEvent
     End Object
     b_Back=GUIButton'GUI2K4.UT2K4GameFooter.GameBackButton'

}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Fr 30.3.2007 08:44:00.000 - Creation time: Mo 16.4.2007 11:20:55.828 - Created with UnCodeX