UE2:UT2K4SPTab_Base (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
UT2004 Object >> GUI >> GUIComponent >> GUIMultiComponent >> GUIPanel >> GUITabPanel >> UT2K4TabPanel >> UT2K4SPTab_Base
Package:
GUI2K4
Direct subclasses:
UT2K4SPTab_DetailPhantom, UT2K4SPTab_DetailEnemies, UT2K4SPTab_DetailMatch, UT2K4SPTab_ExtraLadder, UT2K4SPTab_LadderBase, UT2K4SPTab_ProfileNew, UT2K4SPTab_Profile, UT2K4SPTab_TeamManagement, UT2K4SPTab_Tutorials

Base component for all single player tabs Mostly based upon the original Tab_SPPanelBase

Written by Michiel Hendriks (c) 2003, Epic Games, Inc. All Rights Reserved

Properties

CaptionBack

Type: string

Modifiers: localized


Default value: "BACK"

CaptionCancel

Type: string

Modifiers: localized


Default value: "CANCEL"

CaptionCreate

Type: string

Modifiers: localized


Default value: "CREATE"

CaptionDone

Type: string

Modifiers: localized


Default value: "DONE"

CaptionLoad

Type: string

Modifiers: localized


Default value: "LOAD"

CaptionPlay

Type: string

Modifiers: localized


Default value: "PLAY"

GP

Type: UT2K4GameProfile


LogPrefix

Type: name


Default value: 'SinglePlayer'

MainWindow

Type: UT2K4SP_Main


ProfileClass

Type: class<UT2K4GameProfile>


Default value: Class'XGame.UT2K4GameProfile'

Default values

Property Value
FadeInTime 0.25
WinHeight 0.72
WinTop 0.15

Functions

Events

InitComponent

event InitComponent (GUIController pMyController, GUIComponent MyOwner)

Overrides: GUIPanel.InitComponent


Other instance functions

btnPlayEnabled

function btnPlayEnabled (bool bEnabled)

Enable/disable the play button

CanClose

function bool CanClose (optional bool bCancelled)

will be called on each open tab when the main window get's a close request

GetMainWindow

function GetMainWindow ()

get the main window

getProfileName

function string getProfileName (coerce string profilename)

Return the actual profile name, without the prefix

onBackClick

function bool onBackClick ()

Will be called when the "back" button on the main page is clicked return false for the default behavior (close main menu)

onPlayClick

function bool onPlayClick ()

Will be called when the "play" button on the main page is clicked

ShowPanel

function ShowPanel (bool bShow)

Overrides: GUITabPanel.ShowPanel

make sure the main window is set