UE2:UT2K4SPTab_Base (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
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
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
Overrides: GUIPanel.InitComponent
Other instance functions
btnPlayEnabled
Enable/disable the play button
CanClose
will be called on each open tab when the main window get's a close request
GetMainWindow
get the main window
getProfileName
Return the actual profile name, without the prefix
onBackClick
Will be called when the "back" button on the main page is clicked return false for the default behavior (close main menu)
onPlayClick
Will be called when the "play" button on the main page is clicked
ShowPanel
Overrides: GUITabPanel.ShowPanel
make sure the main window is set