GUI2K4.UT2K4Tab_PlayerLoginControls
- Extends
- MidGamePanel
Core.Object
|
+-- XInterface.GUI
|
+-- XInterface.GUIComponent
|
+-- XInterface.GUIMultiComponent
|
+-- XInterface.GUIPanel
|
+-- XInterface.GUITabPanel
|
+-- XInterface.UT2K4TabPanel
|
+-- GUI2K4.MidGamePanel
|
+-- GUI2K4.UT2K4Tab_PlayerLoginControls
Direct Known Subclasses:
UT2K4Tab_PlayerLoginControlsInvasion, UT2K4Tab_PlayerLoginControlsOnslaught, UT2K4Tab_SinglePlayerLoginControls
Functions Summary |
| | AddPlayer (GameReplicationInfo GRI, int Index, GUIList List)
|
| bool | ButtonClicked (GUIComponent Sender)
|
| | Closed (GUIComponent Sender, bool bCancelled)
|
| | ContextClick (GUIContextMenu Menu, int ClickIndex)
|
| bool | ContextMenuOpened (GUIContextMenu Menu)
|
| bool | CurrentServerIsInFavorites ()
|
| | DrawPlayerItem (PlayerReplicationInfo PRI, Canvas Canvas, float X, float Y, float W, float H, bool bSelected, bool bPending)
|
| GameReplicationInfo | GetGRI ()
|
| string | GetSizingCaption ()
|
| | InitComponent (GUIController MyController, GUIComponent MyOwner)
|
| | InitGRI ()
|
| | InitializePlayerLists ()
|
| | InitLists ()
|
| bool | InternalOnPreDraw (Canvas C)
|
| float | ItemHeight (Canvas C)
|
| | ListChange (GUIComponent Sender)
|
| | OnDrawBluePlayer (Canvas Canvas, int i, float X, float Y, float W, float H, bool bSelected, bool bPending)
|
| | OnDrawFFAPlayer (Canvas Canvas, int i, float X, float Y, float W, float H, bool bSelected, bool bPending)
|
| | OnDrawRedPlayer (Canvas Canvas, int i, float X, float Y, float W, float H, bool bSelected, bool bPending)
|
| bool | RedDraw (Canvas C)
|
| bool | RightClick (GUIComponent Sender)
|
| | SetButtonPositions (Canvas C)
|
| | SetupGroups ()
|
| | ShowPanel (bool bShow)
|
| bool | TeamChange (GUIComponent Sender)
|
| | UpdatePlayerLists ()
|
| | ValidatePlayer (string PlayerID, GUIList List, int Index)
|
var localized string BanPlayer;
var localized string BlueTeam;
var localized string BuddyText;
var localized array<string> ContextItems;
var localized array<string> DefaultItems;
var localized string JoinGameButtonText;
var localized string KickPlayer;
var localized string LeaveMPButtonText;
var localized string LeaveSPButtonText;
var string PlayerStyleName;
var localized string RedTeam;
var localized string SpectateButtonText;
UT2K4Tab_PlayerLoginControls
CurrentServerIsInFavorites Source code
function bool CurrentServerIsInFavorites ( )
function string GetSizingCaption ( )
function InitGRI ( )
function InitializePlayerLists ( )
function InitLists ( )
function bool InternalOnPreDraw (
Canvas C )
function float ItemHeight (
Canvas C )
function OnDrawBluePlayer (
Canvas Canvas,
int i,
float X,
float Y,
float W,
float H,
bool bSelected,
bool bPending )
function OnDrawFFAPlayer (
Canvas Canvas,
int i,
float X,
float Y,
float W,
float H,
bool bSelected,
bool bPending )
function OnDrawRedPlayer (
Canvas Canvas,
int i,
float X,
float Y,
float W,
float H,
bool bSelected,
bool bPending )
function bool RedDraw (
Canvas C )
function SetButtonPositions (
Canvas C )
function SetupGroups ( )
function ShowPanel ( bool bShow )
protected function UpdatePlayerLists ( )
function ValidatePlayer (
string PlayerID,
GUIList List,
int Index )
defaultproperties
{
Begin Object Class=AltSectionBackground Name=SBRed
bFillClient=True
Caption="Red Team"
LeftPadding=0.010000
RightPadding=0.010000
WinTop=0.083066
WinLeft=0.016600
WinWidth=0.470135
WinHeight=0.644078
OnPreDraw=SBRed.InternalPreDraw
End Object
sb_Red=AltSectionBackground'GUI2K4.UT2K4Tab_PlayerLoginControls.SBRed'
Begin Object Class=AltSectionBackground Name=SBBlue
bFillClient=True
Caption="Blue Team"
LeftPadding=0.010000
RightPadding=0.010000
WinTop=0.083066
WinLeft=0.512464
WinWidth=0.468850
WinHeight=0.644078
OnPreDraw=SBBlue.InternalPreDraw
End Object
sb_Blue=AltSectionBackground'GUI2K4.UT2K4Tab_PlayerLoginControls.SBBlue'
Begin Object Class=AltSectionBackground Name=SBFFA
bFillClient=True
Caption="Players"
LeftPadding=0.010000
RightPadding=0.010000
WinTop=0.024639
WinLeft=0.037154
WinWidth=0.919753
WinHeight=0.701886
OnPreDraw=SBFFA.InternalPreDraw
End Object
sb_FFA=AltSectionBackground'GUI2K4.UT2K4Tab_PlayerLoginControls.SBFFA'
Begin Object Class=GUIImage Name=JoinRedButton
ImageColor=(B=100,G=100,A=90)
ImageStyle=ISTY_Scaled
WinTop=0.150160
WinLeft=0.030776
WinWidth=0.439040
WinHeight=0.464040
TabOrder=9
bBoundToParent=True
bScaleToParent=True
OnDraw=UT2K4Tab_PlayerLoginControls.RedDraw
End Object
i_JoinRed=GUIImage'GUI2K4.UT2K4Tab_PlayerLoginControls.JoinRedButton'
Begin Object Class=GUIImage Name=JoinBlueButton
ImageColor=(G=128,R=0,A=90)
ImageStyle=ISTY_Scaled
WinTop=0.141814
WinLeft=0.531779
WinWidth=0.439040
WinHeight=0.464040
TabOrder=10
bBoundToParent=True
bScaleToParent=True
End Object
i_JoinBlue=GUIImage'GUI2K4.UT2K4Tab_PlayerLoginControls.JoinBlueButton'
Begin Object Class=GUIListBox Name=RedTeamListBox
SelectedStyleName="BrowserListSelection"
bVisibleWhenEmpty=True
OnCreateComponent=RedTeamListBox.InternalOnCreateComponent
StyleName="ServerBrowserGrid"
WinTop=0.250000
WinLeft=0.050000
WinWidth=0.418750
WinHeight=0.400000
TabOrder=11
End Object
lb_Red=GUIListBox'GUI2K4.UT2K4Tab_PlayerLoginControls.RedTeamListBox'
Begin Object Class=GUIListBox Name=BlueTeamListBox
SelectedStyleName="BrowserListSelection"
bVisibleWhenEmpty=True
OnCreateComponent=BlueTeamListBox.InternalOnCreateComponent
StyleName="ServerBrowserGrid"
WinTop=0.250000
WinLeft=0.521250
WinWidth=0.418750
WinHeight=0.400000
TabOrder=12
End Object
lb_Blue=GUIListBox'GUI2K4.UT2K4Tab_PlayerLoginControls.BlueTeamListBox'
Begin Object Class=GUIListBox Name=FFAPlayerListBox
SelectedStyleName="BrowserListSelection"
bVisibleWhenEmpty=True
OnCreateComponent=FFAPlayerListBox.InternalOnCreateComponent
StyleName="ServerBrowserGrid"
WinTop=0.150000
WinLeft=0.325000
WinWidth=0.350000
WinHeight=0.500000
TabOrder=13
End Object
lb_FFA=GUIListBox'GUI2K4.UT2K4Tab_PlayerLoginControls.FFAPlayerListBox'
Begin Object Class=GUIButton Name=TeamButton
Caption="Change Team"
WinTop=0.016613
WinLeft=0.372039
WinWidth=0.250100
TabOrder=0
bBoundToParent=True
bScaleToParent=True
bStandardized=True
OnClick=UT2K4Tab_PlayerLoginControls.TeamChange
OnKeyEvent=TeamButton.InternalOnKeyEvent
End Object
b_Team=GUIButton'GUI2K4.UT2K4Tab_PlayerLoginControls.TeamButton'
Begin Object Class=GUIButton Name=SettingsButton
Caption="Settings"
WinTop=0.766752
WinLeft=0.112345
WinWidth=0.250100
WinHeight=0.053366
TabOrder=0
bBoundToParent=True
bScaleToParent=True
OnClick=UT2K4Tab_PlayerLoginControls.ButtonClicked
OnKeyEvent=SettingsButton.InternalOnKeyEvent
End Object
b_Settings=GUIButton'GUI2K4.UT2K4Tab_PlayerLoginControls.SettingsButton'
Begin Object Class=GUIButton Name=BrowserButton
Caption="Server Browser"
bAutoSize=True
WinTop=0.675000
WinLeft=0.375000
WinWidth=0.200000
WinHeight=0.050000
TabOrder=1
bBoundToParent=True
bScaleToParent=True
OnClick=UT2K4Tab_PlayerLoginControls.ButtonClicked
OnKeyEvent=BrowserButton.InternalOnKeyEvent
End Object
b_Browser=GUIButton'GUI2K4.UT2K4Tab_PlayerLoginControls.BrowserButton'
Begin Object Class=GUIButton Name=QuitGameButton
Caption="Exit Game"
bAutoSize=True
WinTop=0.750000
WinLeft=0.725000
WinWidth=0.200000
WinHeight=0.050000
TabOrder=4
OnClick=UT2K4Tab_PlayerLoginControls.ButtonClicked
OnKeyEvent=QuitGameButton.InternalOnKeyEvent
End Object
b_Quit=GUIButton'GUI2K4.UT2K4Tab_PlayerLoginControls.QuitGameButton'
Begin Object Class=GUIButton Name=FavoritesButton
Caption="Add to Favs"
bAutoSize=True
Hint="Add this server to your Favorites"
WinTop=0.750000
WinLeft=0.025000
WinWidth=0.200000
WinHeight=0.050000
TabOrder=3
bBoundToParent=True
bScaleToParent=True
OnClick=UT2K4Tab_PlayerLoginControls.ButtonClicked
OnKeyEvent=FavoritesButton.InternalOnKeyEvent
End Object
b_Favs=GUIButton'GUI2K4.UT2K4Tab_PlayerLoginControls.FavoritesButton'
Begin Object Class=GUIButton Name=LeaveMatchButton
bAutoSize=True
WinTop=0.675000
WinLeft=0.725000
WinWidth=0.200000
WinHeight=0.050000
TabOrder=2
bBoundToParent=True
bScaleToParent=True
OnClick=UT2K4Tab_PlayerLoginControls.ButtonClicked
OnKeyEvent=LeaveMatchButton.InternalOnKeyEvent
End Object
b_Leave=GUIButton'GUI2K4.UT2K4Tab_PlayerLoginControls.LeaveMatchButton'
Begin Object Class=GUIButton Name=MapVotingButton
Caption="Map Voting"
bAutoSize=True
WinTop=0.825000
WinLeft=0.025000
WinWidth=0.200000
WinHeight=0.050000
TabOrder=5
OnClick=UT2K4Tab_PlayerLoginControls.ButtonClicked
OnKeyEvent=MapVotingButton.InternalOnKeyEvent
End Object
b_MapVote=GUIButton'GUI2K4.UT2K4Tab_PlayerLoginControls.MapVotingButton'
Begin Object Class=GUIButton Name=KickVotingButton
Caption="Kick Voting"
bAutoSize=True
WinTop=0.825000
WinLeft=0.375000
WinWidth=0.200000
WinHeight=0.050000
TabOrder=6
OnClick=UT2K4Tab_PlayerLoginControls.ButtonClicked
OnKeyEvent=KickVotingButton.InternalOnKeyEvent
End Object
b_KickVote=GUIButton'GUI2K4.UT2K4Tab_PlayerLoginControls.KickVotingButton'
Begin Object Class=GUIButton Name=MatchSetupButton
Caption="Match Setup"
bAutoSize=True
WinTop=0.825000
WinLeft=0.725000
WinWidth=0.200000
WinHeight=0.050000
TabOrder=7
OnClick=UT2K4Tab_PlayerLoginControls.ButtonClicked
OnKeyEvent=MatchSetupButton.InternalOnKeyEvent
End Object
b_MatchSetup=GUIButton'GUI2K4.UT2K4Tab_PlayerLoginControls.MatchSetupButton'
Begin Object Class=GUIButton Name=SpectateButton
Caption="Spectate"
bAutoSize=True
WinTop=0.825000
WinLeft=0.725000
WinWidth=0.200000
WinHeight=0.050000
TabOrder=8
OnClick=UT2K4Tab_PlayerLoginControls.ButtonClicked
OnKeyEvent=SpectateButton.InternalOnKeyEvent
End Object
b_Spec=GUIButton'GUI2K4.UT2K4Tab_PlayerLoginControls.SpectateButton'
LeaveMPButtonText="Disconnect"
LeaveSPButtonText="Forfeit"
SpectateButtonText="Spectate"
JoinGameButtonText="Join"
ContextItems(0)="Unignore text"
ContextItems(1)="Unignore speech"
ContextItems(2)="Unignore voice chat"
ContextItems(3)="Unban from voice chat"
DefaultItems(0)="Ignore text"
DefaultItems(1)="Ignore speech"
DefaultItems(2)="Ignore voice chat"
DefaultItems(3)="Ban from voice chat"
KickPlayer="Kick "
BanPlayer="Ban "
BuddyText="Add To Buddy List"
RedTeam="Red Team:"
BlueTeam="Blue Team:"
PlayerStyleName="TextLabel"
PropagateVisibility=False
Begin Object Class=GUIContextMenu Name=PlayerListContextMenu
OnOpen=UT2K4Tab_PlayerLoginControls.ContextMenuOpened
OnSelect=UT2K4Tab_PlayerLoginControls.ContextClick
End Object
ContextMenu=GUIContextMenu'GUI2K4.UT2K4Tab_PlayerLoginControls.PlayerListContextMenu'
OnPreDraw=UT2K4Tab_PlayerLoginControls.InternalOnPreDraw
OnRightClick=UT2K4Tab_PlayerLoginControls.RightClick
}
|
Creation time: Wed 7/2/2007 19:16:24.140 - Created with
UnCodeX