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"
        WinWidth=0.12
        WinHeight=0.033203
        WinTop=0.966146
        WinLeft=0.88
        TabOrder=0
        bBoundToParent=True
        MenuState=MSAT_Disabled
    End Object
    b_Primary=GamePrimaryButton

    Begin Object Class=GUIButton Name=GameSecondaryButton
        StyleName="FooterButton"
        WinWidth=0.120000
        WinHeight=0.033203
        WinTop=0.966146
        WinLeft=0.758125
        TabOrder=1
        bBoundToParent=True
        MenuState=MSAT_Disabled
    End Object
    b_Secondary=GameSecondaryButton

    Begin Object Class=GUIButton Name=GameBackButton
        Caption="BACK"
        Hint="Return to Previous Menu"
        StyleName="FooterButton"
        WinWidth=0.12
        WinHeight=0.033203
        WinTop=0.966146
        WinLeft=0
        TabOrder=2
        bBoundToParent=True
    End Object
    b_Back=GameBackButton

}

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:53.317 - Created with UnCodeX