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
{
LeaveMPButtonText="Disconnect"
LeaveSPButtonText="Forfeit"
SpectateButtonText="Spectate"
JoinGameButtonText="Join"
OnRightClick=RightClick
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"
BuddyText="Add To Buddy List"
Begin Object Class=GUIContextMenu name=PlayerListContextMenu
OnSelect=ContextClick
OnOpen=ContextMenuOpened
End Object
ContextMenu=PlayerListContextMenu
Begin Object Class=GUIButton Name=TeamButton
Caption="Change Team"
StyleName="SquareButton"
OnClick=TeamChange
WinWidth=0.250100
WinLeft=0.372039
WinTop=0.016613
TabOrder=0
bStandardized=true
bBoundToParent=true
bScaleToParent=true
End Object
b_Team=TeamButton
Begin Object Class=GUIImage Name=JoinRedButton
WinWidth=0.439040
WinHeight=0.464040
WinLeft=0.030776
WinTop=0.150160
bBoundToParent=true
bScaleToParent=true
ImageColor=(R=255,G=100,B=100,A=90)
ImageStyle=ISTY_Scaled
TabOrder=9
OnDraw=RedDraw
End Object
i_JoinRed=JoinRedButton
Begin Object Class=GUIImage Name=JoinBlueButton
WinWidth=0.439040
WinHeight=0.464040
WinLeft=0.531779
WinTop=0.141814
bBoundToParent=true
bScaleToParent=true
ImageStyle=ISTY_Scaled
ImageColor=(R=0,G=128,B=255,A=90)
TabOrder=10
End Object
i_JoinBlue=JoinBlueButton
Begin Object Class=GUIListBox Name=RedTeamListBox
WinWidth=0.418750
WinHeight=0.400000
WinLeft=0.050000
WinTop=0.250000
bVisibleWhenEmpty=True
StyleName="ServerBrowserGrid"
SelectedStyleName="BrowserListSelection"
TabOrder=11
End Object
lb_Red=RedTeamListBox
Begin Object Class=GUIListBox Name=BlueTeamListBox
WinWidth=0.418750
WinHeight=0.400000
WinLeft=0.521250
WinTop=0.25
bVisibleWhenEmpty=True
StyleName="ServerBrowserGrid"
SelectedStyleName="BrowserListSelection"
TabOrder=12
End Object
lb_Blue=BlueTeamListBox
Begin Object Class=GUIListBox Name=FFAPlayerListBox
WinLeft=0.3250
WinTop=0.15
WinWidth=0.35
WinHeight=0.50
bVisibleWhenEmpty=True
StyleName="ServerBrowserGrid"
SelectedStyleName="BrowserListSelection"
TabOrder=13
End Object
lb_FFA=FFAPlayerListBox
Begin Object Class=GUIButton Name=SettingsButton
Caption="Settings"
StyleName="SquareButton"
OnClick=ButtonClicked
WinWidth=0.250100
WinHeight=0.053366
WinLeft=0.112345
WinTop=0.766752
TabOrder=0
bBoundToParent=true
bScaleToParent=true
End Object
b_Settings=SettingsButton
Begin Object Class=GUIButton Name=BrowserButton
Caption="Server Browser"
StyleName="SquareButton"
OnClick=ButtonClicked
WinWidth=0.20000
WinHeight=0.05000
WinLeft=0.375000
WinTop=0.675
bAutoSize=True
TabOrder=1
bBoundToParent=true
bScaleToParent=true
End Object
b_Browser=BrowserButton
Begin Object Class=GUIButton Name=LeaveMatchButton
Caption=""
StyleName="SquareButton"
OnClick=ButtonClicked
WinWidth=0.20000
WinHeight=0.05000
WinLeft=0.7250000
WinTop=0.675
bAutoSize=True
TabOrder=2
bBoundToParent=true
bScaleToParent=true
End Object
b_Leave=LeaveMatchButton
Begin Object Class=GUIButton Name=FavoritesButton
Caption="Add to Favs"
Hint="Add this server to your Favorites"
StyleName="SquareButton"
WinWidth=0.20000
WinHeight=0.05000
WinLeft=0.02500
WinTop=0.750
bBoundToParent=true
bScaleToParent=true
OnClick=ButtonClicked
bAutoSize=True
TabOrder=3
End Object
b_Favs=FavoritesButton
Begin Object Class=GUIButton Name=QuitGameButton
Caption="Exit Game"
StyleName="SquareButton"
OnClick=ButtonClicked
WinWidth=0.20000
WinHeight=0.05000
WinLeft=0.725000
WinTop=0.750
bAutoSize=True
TabOrder=4
End Object
b_Quit=QuitGameButton
Begin Object Class=GUIButton Name=MapVotingButton
Caption="Map Voting"
StyleName="SquareButton"
OnClick=ButtonClicked
WinWidth=0.20000
WinHeight=0.050000
WinLeft=0.025000
WinTop=0.825
bAutoSize=True
TabOrder=5
End Object
b_MapVote=MapVotingButton
Begin Object Class=GUIButton Name=KickVotingButton
Caption="Kick Voting"
StyleName="SquareButton"
OnClick=ButtonClicked
WinWidth=0.20000
WinHeight=0.050000
WinLeft=0.375000
WinTop=0.825
bAutoSize=True
TabOrder=6
End Object
b_KickVote=KickVotingButton
Begin Object Class=GUIButton Name=MatchSetupButton
Caption="Match Setup"
StyleName="SquareButton"
OnClick=ButtonClicked
WinWidth=0.20000
WinHeight=0.050000
WinLeft=0.725000
WinTop=0.825
bAutoSize=True
TabOrder=7
End Object
b_MatchSetup=MatchSetupButton
Begin Object Class=GUIButton Name=SpectateButton
Caption="Spectate"
StyleName="SquareButton"
OnClick=ButtonClicked
WinWidth=0.20000
WinHeight=0.050000
WinLeft=0.725000
WinTop=0.825
bAutoSize=True
TabOrder=8
End Object
b_Spec=SpectateButton
Begin Object Class=AltSectionBackground Name=SBRed
WinWidth=0.470135
WinHeight=0.644078
WinLeft=0.016600
LeftPadding=0.01
RightPadding=0.01
WinTop=0.083066
Caption="Red Team"
bFillClient=true
End Object
sb_Red=SBRed
Begin Object Class=AltSectionBackground Name=SBBlue
WinWidth=0.468850
WinHeight=0.644078
WinLeft=0.512464
WinTop=0.083066
LeftPadding=0.01
RightPadding=0.01
bFillClient=true
Caption="Blue Team"
End Object
sb_Blue=SBBlue
Begin Object Class=AltSectionBackground Name=SBFFA
WinWidth=0.919753
WinHeight=0.701886
WinLeft=0.037154
WinTop=0.024639
LeftPadding=0.01
RightPadding=0.01
bFillClient=true
Caption="Players"
End Object
sb_FFA=SBFFA
PlayerStyleName="TextLabel"
OnPreDraw=InternalOnPreDraw
PropagateVisibility=False
RedTeam="Red Team:"
BlueTeam="Blue Team:"
KickPlayer="Kick "
BanPlayer="Ban "
}
|
Creation time: Do 14.8.2014 09:58:28.059 - Created with
UnCodeX