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

XInterface.Tab_SPRoster

Extends
Tab_SPPanelBase

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPanel
            |   
            +-- XInterface.GUITabPanel
               |   
               +-- XInterface.UT2K3TabPanel
                  |   
                  +-- XInterface.Tab_SPPanelBase
                     |   
                     +-- XInterface.Tab_SPRoster

Constants Summary
MatesBase=8
MatesCount=4
MatesCtrls=5

Variables Summary
array<GUIButton>btnMates
array<GUIComboBox>cboMates
GUICharacterListTeamcltMyTeam
array<GUIGfxButton>imgMates
GUIImageimgPortrait
GUILabellblMatchData
array<GUILabel>lblMates
array<GUILabel>lblNA
GUIListBoxlboStats
GUIListBoxlboTeamStats
stringMessageNoInfo
array<GUIPanel>pnlMates
stringPostStatsMessage
stringPreStatsMessage
GUIScrollTextBoxstbPlayerData

Functions Summary
function BuildCharStats (out xUtil.PlayerRecord PR, GUIListBox box ))
function BuildTeamStats (GUIListBox teambox ))
functionbool CanShowPanel ()))
function ChangePortraits ()))
function CharListClick (GUIComponent Sender))
functionbool ClickLineup (GUIComponent Sender))
function Created ()))
functionbool FixLineup (GUIComponent Sender))
function InitComponent (GUIController MyController, GUIComponent MyOwner))
function OnMatchUpdated (int iLadder, int iMatch))
function OnProfileUpdated ()))
function PositionChange (GUIComponent Sender))
function ReloadPortraits ()))
function UpdateMatchInfo ()))
Inherited Functions from XInterface.Tab_SPPanelBase
GetProfile, MatchUpdated, MyTabControl, OnMatchUpdated, OnProfileUpdated, ProfileUpdated


Constants Detail

MatesBase Source code

const MatesBase = 8;

MatesCount Source code

const MatesCount = 4;

MatesCtrls Source code

const MatesCtrls = 5;


Variables Detail

btnMates Source code

var array<GUIButton> btnMates;

cboMates Source code

var array<GUIComboBox> cboMates;

cltMyTeam Source code

var GUICharacterListTeam cltMyTeam;

imgMates Source code

var array<GUIGfxButton> imgMates;

imgPortrait Source code

var GUIImage imgPortrait;

lblMatchData Source code

var GUILabel lblMatchData;

lblMates Source code

var array<GUILabel> lblMates;

lblNA Source code

var array<GUILabel> lblNA;

lboStats Source code

var GUIListBox lboStats;

lboTeamStats Source code

var GUIListBox lboTeamStats;

MessageNoInfo Source code

var localized string MessageNoInfo;

pnlMates Source code

var array<GUIPanel> pnlMates;

PostStatsMessage Source code

var localized string PostStatsMessage;

PreStatsMessage Source code

var localized string PreStatsMessage;

stbPlayerData Source code

var GUIScrollTextBox stbPlayerData;


Functions Detail

BuildCharStats Source code

function BuildCharStats ( out xUtil.PlayerRecord PR, GUIListBox box ) )

BuildTeamStats Source code

function BuildTeamStats ( GUIListBox teambox ) )

CanShowPanel Source code

function bool CanShowPanel ( ) )

ChangePortraits Source code

function ChangePortraits ( ) )

CharListClick Source code

function CharListClick ( GUIComponent Sender) )

ClickLineup Source code

function bool ClickLineup ( GUIComponent Sender) )

Created Source code

function Created ( ) )

FixLineup Source code

function bool FixLineup ( GUIComponent Sender) )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner) )

OnMatchUpdated Source code

function OnMatchUpdated ( int iLadder, int iMatch) )

OnProfileUpdated Source code

function OnProfileUpdated ( ) )

PositionChange Source code

function PositionChange ( GUIComponent Sender) )

ReloadPortraits Source code

function ReloadPortraits ( ) )

UpdateMatchInfo Source code

function UpdateMatchInfo ( ) )


Defaultproperties

defaultproperties
{	
	
	Begin Object class=GUIImage Name=SPRosterBK0
		WinWidth=0.565117
		WinHeight=0.70
		WinLeft=0.007187
		WinTop=0.015
		Image=Material'InterfaceContent.Menu.BorderBoxD'
		ImageColor=(R=255,G=255,B=255,A=160);
		ImageRenderStyle=MSTY_Alpha
		ImageStyle=ISTY_Stretched
	End Object
	
	
	Begin Object class=GUIImage Name=SPRosterPortrait
		WinWidth=0.130957
		WinHeight=0.395000
		WinLeft=0.016562
		WinTop=0.031077
		Image=Material'InterfaceContent.Menu.BorderBoxD'
		ImageColor=(R=255,G=255,B=255,A=255);
		ImageRenderStyle=MSTY_Normal
		ImageStyle=ISTY_Scaled
	End Object


	
	Begin Object class=GUIImage Name=SPRosterPortraitBorder
		WinWidth=0.1333
		WinHeight=0.40
		WinLeft=0.015
		WinTop=0.03
		Image=Material'InterfaceContent.Menu.BorderBoxA1'
		ImageColor=(R=255,G=255,B=255,A=255);
		ImageRenderStyle=MSTY_Normal
		ImageStyle=ISTY_Stretched
	End Object


	
	Begin Object class=GUICharacterListTeam Name=SPRosterCharList
		Hint="Choose a teammate to play in the next match"
		WinWidth=0.670315
		WinHeight=0.170000
		WinLeft=0.004688
		WinTop=0.73
		StyleName="CharButton"
		OnChange=CharListClick
		bFillBounds=true
		FixedItemsPerPage=7
		bLocked=true
		bIgnoreBackClick=true
		bAllowSelectEmpty=false
		DefaultPortrait=Material'InterfaceContent.pEmptySlot'
	End Object


	
	Begin Object class=GUILabel Name=SPMatchData
		Caption="No Game Profile => No MatchData"
		TextALign=TXTA_Center
		TextFont="UT2LargeFont"
		TextColor=(R=255,G=255,B=255,A=255)
		WinWidth=0.800000
		WinHeight=0.100000
		WinLeft=0.10
		WinTop=-0.12
		bVisible=false
	End Object


	
	Begin Object class=GUIScrollTextBox Name=SPCharData
		Hint="Team members profile"
		TextAlign=TXTA_Left
		WinWidth=0.412500
		WinHeight=0.40
		WinLeft=0.15
		WinTop=0.03
		CharDelay=0.04
		EOLDelay=0.25
		bNeverFocus=true
	End Object


	
	Begin Object class=GUIListBox Name=SPCharStats
		
		
		WinWidth=0.51
		WinHeight=0.267500
		WinLeft=0.015
		WinTop=0.44
		bNeverFocus=true
		bAcceptsInput=false
	End Object


	
	Begin Object class=GUIImage Name=SPCharListBox
		WinWidth=0.622268
		WinHeight=0.186797
		WinLeft=0.006836
		WinTop=0.722
		Image=Material'InterfaceContent.Menu.BorderBoxD'
		ImageColor=(R=255,G=255,B=255,A=160);
		ImageRenderStyle=MSTY_Alpha
		ImageStyle=ISTY_Stretched
	End Object







	Begin Object class=GUIImage Name=Mate1Back
		WinWidth=1.0
		WinHeight=1.0
		WinLeft=0
		WinTop=0
		Image=Material'InterfaceContent.Menu.BorderBoxD'
		ImageColor=(R=255,G=255,B=255,A=160);
		ImageRenderStyle=MSTY_Alpha
		ImageStyle=ISTY_Stretched
		Tag=0
	End Object
	
	Begin Object class=GUIGfxButton Name=imgMate1
		WinWidth=0.14
		WinHeight=0.896118
		WinLeft=0.018244
		WinTop=0.052442
	    Position=ICP_Scaled
		Graphic=Material'InterfaceContent.Menu.BorderBoxD'
	End Object
	
	Begin Object class=GUILabel Name=lblMate1
		Caption="Name"
		TextALign=TXTA_Center
		TextFont="UT2SmallFont"
		TextColor=(R=255,G=255,B=255,A=255)
		WinWidth=0.797917
		WinHeight=0.213511
		WinLeft=0.174012
		WinTop=0.249487
	End Object

	Begin Object class=GUIComboBox Name=cboMate1
		Hint="Set starting position - change with voice menu during match"
		WinHeight=0.234660
		WinTop=0.567351
		WinWidth=0.554010
		WinLeft=0.323564
		OnChange=PositionChange
	End Object


	Begin Object class=GUIGFXButton Name=btnMate1
		Graphic=Material'InterfaceContent.Menu.YellowArrowVBand'
		Hint="Assign the selected team member to this roster"
		Position=ICP_Scaled
		bClientBound=true
		WinWidth=0.058350
		WinHeight=0.901195
		WinLeft=0.012050
		WinTop=0.046398
		StyleName="RosterButton"
		OnClick=FixLineup
		Tag=0
	End Object


	Begin Object class=GUILabel Name=lblNA1
		Caption="SLOT NOT AVAILABLE"
		TextALign=TXTA_Center
		TextFont="UT2SmallFont"
		TextColor=(R=255,G=255,B=255,A=255)
		WinWidth=1.0
		WinHeight=0.21
		WinLeft=0.0
		WinTop=0.42
	End Object


	Begin Object class=GUIPanel Name=pnlMates1
		WinWidth=0.40
		WinHeight=0.175
		WinLeft=0.59
		WinTop=0.015
		StyleName="NoBackground"
		Controls(0)=Mate1Back
		Controls(1)=imgMate1
		Controls(2)=lblMate1
		Controls(3)=cboMate1
		Controls(4)=btnMate1
		Controls(5)=lblNA1
	End Object







	
	Begin Object class=GUIImage Name=Mate2Back
		WinWidth=1.0
		WinHeight=1.0
		WinLeft=0
		WinTop=0
		Image=Material'InterfaceContent.Menu.BorderBoxD'
		ImageColor=(R=255,G=255,B=255,A=160);
		ImageRenderStyle=MSTY_Alpha
		ImageStyle=ISTY_Stretched
		Tag=1
	End Object
	
	Begin Object class=GUIGfxButton Name=imgMate2
		WinWidth=0.14
		WinHeight=0.896118
		WinLeft=0.018244
		WinTop=0.052442
	    Position=ICP_Scaled
		Graphic=Material'InterfaceContent.Menu.BorderBoxD'
	End Object
	Begin Object class=GUILabel Name=lblMate2
		Caption="Name"
		TextALign=TXTA_Center
		TextFont="UT2SmallFont"
		TextColor=(R=255,G=255,B=255,A=255)
		WinWidth=0.797917
		WinHeight=0.213511
		WinLeft=0.174012
		WinTop=0.249487
	End Object


	Begin Object class=GUIComboBox Name=cboMate2
		Hint="Set starting position - change with voice menu during match"
		WinHeight=0.234660
		WinTop=0.567351
		WinWidth=0.554010
		WinLeft=0.323564
		OnChange=PositionChange
	End Object


	Begin Object class=GUIGFXButton Name=btnMate2
		Graphic=Material'InterfaceContent.Menu.YellowArrowVBand'
		Hint="Assign the selected team member to this roster"
		Position=ICP_Scaled
		bClientBound=true
		WinWidth=0.058350
		WinHeight=0.901195
		WinLeft=0.012050
		WinTop=0.046398
		StyleName="RosterButton"
		OnClick=FixLineup
		Tag=1
	End Object


	Begin Object class=GUILabel Name=lblNA2
		Caption="SLOT NOT AVAILABLE"
		TextALign=TXTA_Center
		TextFont="UT2SmallFont"
		TextColor=(R=255,G=255,B=255,A=255)
		WinWidth=1.0
		WinHeight=0.21
		WinLeft=0.0
		WinTop=0.42
	End Object


	Begin Object class=GUIPanel Name=pnlMates2
		WinWidth=0.40
		WinHeight=0.175
		WinLeft=0.59
		WinTop=0.19
		StyleName="NoBackground"
		Controls(0)=Mate2Back
		Controls(1)=imgMate2
		Controls(2)=lblMate2
		Controls(3)=cboMate2
		Controls(4)=btnMate2
		Controls(5)=lblNA2
	End Object







	Begin Object class=GUIImage Name=Mate3Back
		WinWidth=1.0
		WinHeight=1.0
		WinLeft=0
		WinTop=0
		Image=Material'InterfaceContent.Menu.BorderBoxD'
		ImageColor=(R=255,G=255,B=255,A=160);
		ImageRenderStyle=MSTY_Alpha
		ImageStyle=ISTY_Stretched
	End Object
	
	Begin Object class=GUIGfxButton Name=imgMate3
		WinWidth=0.14
		WinHeight=0.896118
		WinLeft=0.018244
		WinTop=0.052442
	    Position=ICP_Scaled
		Graphic=Material'InterfaceContent.Menu.BorderBoxD'
	End Object
	
	Begin Object class=GUILabel Name=lblMate3
		Caption="Name"
		TextALign=TXTA_Center
		TextFont="UT2SmallFont"
		TextColor=(R=255,G=255,B=255,A=255)
		WinWidth=0.797917
		WinHeight=0.213511
		WinLeft=0.174012
		WinTop=0.249487
	End Object


	Begin Object class=GUIComboBox Name=cboMate3
		Hint="Set starting position - change with voice menu during match"
		WinHeight=0.234660
		WinTop=0.567351
		WinWidth=0.554010
		WinLeft=0.323564
		OnChange=PositionChange
	End Object


	Begin Object class=GUIGFXButton Name=btnMate3
		Graphic=Material'InterfaceContent.Menu.YellowArrowVBand'
		Hint="Assign the selected team member to this roster"
		Position=ICP_Scaled
		bClientBound=true
		WinWidth=0.058350
		WinHeight=0.901195
		WinLeft=0.012050
		WinTop=0.046398
		StyleName="RosterButton"
		OnClick=FixLineup
		Tag=2
	End Object


	Begin Object class=GUILabel Name=lblNA3
		Caption="SLOT NOT AVAILABLE"
		TextALign=TXTA_Center
		TextFont="UT2SmallFont"
		TextColor=(R=255,G=255,B=255,A=255)
		WinWidth=1.0
		WinHeight=0.21
		WinLeft=0.0
		WinTop=0.42
	End Object


	Begin Object class=GUIPanel Name=pnlMates3
		WinWidth=0.40
		WinHeight=0.175
		WinLeft=0.59
		WinTop=0.365
		StyleName="NoBackground"
		Controls(0)=Mate3Back
		Controls(1)=imgMate3
		Controls(2)=lblMate3
		Controls(3)=cboMate3
		Controls(4)=btnMate3
		Controls(5)=lblNA3
	End Object







	
	Begin Object class=GUIImage Name=Mate4Back
		WinWidth=1.0
		WinHeight=1.0
		WinLeft=0
		WinTop=0
		Image=Material'InterfaceContent.Menu.BorderBoxD'
		ImageColor=(R=255,G=255,B=255,A=160);
		ImageRenderStyle=MSTY_Alpha
		ImageStyle=ISTY_Stretched
		Tag=3
	End Object
	
	Begin Object class=GUIGfxButton Name=imgMate4
		WinWidth=0.14
		WinHeight=0.896118
		WinLeft=0.018244
		WinTop=0.052442
		Graphic=Material'InterfaceContent.Menu.BorderBoxD'
	    Position=ICP_Scaled
	End Object


	
	Begin Object class=GUILabel Name=lblMate4
		Caption="Name"
		TextALign=TXTA_Center
		TextFont="UT2SmallFont"
		TextColor=(R=255,G=255,B=255,A=255)
		WinWidth=0.797917
		WinHeight=0.213511
		WinLeft=0.174012
		WinTop=0.249487
	End Object


	Begin Object class=GUIComboBox Name=cboMate4
		Hint="Set starting position - change with voice menu during match"
		WinWidth=0.554010
		WinHeight=0.234660
		WinLeft=0.323564
		WinTop=0.567351
		OnChange=PositionChange
	End Object


	Begin Object class=GUIGFXButton Name=btnMate4
		Graphic=Material'InterfaceContent.Menu.YellowArrowVBand'
		Hint="Assign the selected team member to this roster"
		Position=ICP_Scaled
		bClientBound=true
		WinWidth=0.058350
		WinHeight=0.901195
		WinLeft=0.012050
		WinTop=0.046398
		StyleName="RosterButton"
		OnClick=FixLineup
		Tag=3
	End Object


	Begin Object class=GUILabel Name=lblNA4
		Caption="SLOT NOT AVAILABLE"
		TextALign=TXTA_Center
		TextFont="UT2SmallFont"
		TextColor=(R=255,G=255,B=255,A=255)
		WinWidth=1.0
		WinHeight=0.21
		WinLeft=0.0
		WinTop=0.42
	End Object


	Begin Object class=GUIPanel Name=pnlMates4
		WinWidth=0.40
		WinHeight=0.175
		WinLeft=0.59
		WinTop=0.54
		StyleName="NoBackground"
		Controls(0)=Mate4Back
		Controls(1)=imgMate4
		Controls(2)=lblMate4
		Controls(3)=cboMate4
		Controls(4)=btnMate4
		Controls(5)=lblNA4
	End Object


	
	Begin Object class=GUIListBox Name=SPRTeamStats
		WinWidth=0.338750
		WinHeight=0.186797
		WinLeft=0.654063
		WinTop=0.722
		bNeverFocus=true
		bAcceptsInput=false
	End Object


	Controls(0)=SPRosterBK0
	Controls(1)=SPRosterPortrait
	Controls(2)=SPRosterPortraitBorder
	Controls(3)=SPMatchData
	Controls(4)=SPCharData
	Controls(5)=SPCharStats
	Controls(6)=SPRosterCharList
	Controls(7)=SPCharListBox


	Controls(8)=pnlMates1
	Controls(9)=pnlMates2
	Controls(10)=pnlMates3
	Controls(11)=pnlMates4


	Controls(12)=SPRTeamStats


	WinTop=0.15
	WinLeft=0
	WinWidth=1
	WinHeight=0.77
	bAcceptsInput=false		
	bFillHeight=true		

	MessageNoInfo="No information available."
	PreStatsMessage=""
	PostStatsMessage="Stats"
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Do 14.8.2014 09:58:24.356 - Created with UnCodeX