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

GUI2K4.UT2K4GameTabBase


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
//==============================================================================
//  Created on: 12/11/2003
//  Base class for Instant Action & Host Multiplayer tab panels
//
//  Written by Ron Prestenback
//  © 2003, Epic Games, Inc. All Rights Reserved
//==============================================================================

class UT2K4GameTabBase extends UT2K4TabPanel;

var UT2K4GamePageBase p_Anchor; // Reference to the page that owns this tab

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

    if (UT2K4GamePageBase(Controller.ActivePage) != None)
        p_Anchor = UT2K4GamePageBase(Controller.ActivePage);
}

function string Play()
{
    return "";
}

function SetFooterCaption( string NewCaption, optional float SecondsToFade )
{
    if ( p_Anchor != None && p_Anchor.t_Footer != None )
    {
        p_Anchor.t_Footer.SetCaption(NewCaption);
        if ( NewCaption != "" && SecondsToFade > 0.0 )
            p_Anchor.t_Footer.SetTimer(SecondsToFade);
    }
}

defaultproperties
{
     FadeInTime=0.250000
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Tue 24/10/2006 17:13:16.000 - Creation time: Wed 7/2/2007 19:16:56.265 - Created with UnCodeX