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
{
     MessageNoInfo="No information available."
     PostStatsMessage="Stats"
     bFillHeight=True
     Begin Object Class=GUIImage Name=SPRosterBK0
         Image=Texture'InterfaceContent.Menu.BorderBoxD'
         ImageColor=(A=160)
         ImageStyle=ISTY_Stretched
         WinTop=0.015000
         WinLeft=0.007187
         WinWidth=0.565117
         WinHeight=0.700000
     End Object
     Controls(0)=GUIImage'XInterface.Tab_SPRoster.SPRosterBK0'


     Begin Object Class=GUIImage Name=SPRosterPortrait
         Image=Texture'InterfaceContent.Menu.BorderBoxD'
         ImageStyle=ISTY_Scaled
         ImageRenderStyle=MSTY_Normal
         WinTop=0.031077
         WinLeft=0.016562
         WinWidth=0.130957
         WinHeight=0.395000
     End Object
     Controls(1)=GUIImage'XInterface.Tab_SPRoster.SPRosterPortrait'


     Begin Object Class=GUIImage Name=SPRosterPortraitBorder
         Image=Texture'InterfaceContent.Menu.BorderBoxA1'
         ImageStyle=ISTY_Stretched
         ImageRenderStyle=MSTY_Normal
         WinTop=0.030000
         WinLeft=0.015000
         WinWidth=0.133300
         WinHeight=0.400000
     End Object
     Controls(2)=GUIImage'XInterface.Tab_SPRoster.SPRosterPortraitBorder'


     Begin Object Class=GUILabel Name=SPMatchData
         Caption="No Game Profile => No MatchData"
         TextAlign=TXTA_Center
         TextColor=(B=255,G=255,R=255)
         TextFont="UT2LargeFont"
         WinTop=-0.120000
         WinLeft=0.100000
         WinWidth=0.800000
         WinHeight=0.100000
         bVisible=False
     End Object
     Controls(3)=GUILabel'XInterface.Tab_SPRoster.SPMatchData'


     Begin Object Class=GUIScrollTextBox Name=SPCharData
         CharDelay=0.040000
         EOLDelay=0.250000
         OnCreateComponent=SPCharData.InternalOnCreateComponent
         Hint="Team members profile"
         WinTop=0.030000
         WinLeft=0.150000
         WinWidth=0.412500
         WinHeight=0.400000
         bNeverFocus=True
     End Object
     Controls(4)=GUIScrollTextBox'XInterface.Tab_SPRoster.SPCharData'


     Begin Object Class=GUIListBox Name=SPCharStats
         OnCreateComponent=SPCharStats.InternalOnCreateComponent
         WinTop=0.440000
         WinLeft=0.015000
         WinWidth=0.510000
         WinHeight=0.267500
         bAcceptsInput=False
         bNeverFocus=True
     End Object
     Controls(5)=GUIListBox'XInterface.Tab_SPRoster.SPCharStats'


     Begin Object Class=GUICharacterListTeam Name=SPRosterCharList
         bLocked=True
         DefaultPortrait=TexPanner'InterfaceContent.Menu.pEmptySlot'
         bFillBounds=True
         bAllowSelectEmpty=False
         FixedItemsPerPage=7
         StyleName="CharButton"
         Hint="Choose a teammate to play in the next match"
         WinTop=0.730000
         WinLeft=0.004688
         WinWidth=0.670315
         WinHeight=0.170000
         OnClick=SPRosterCharList.InternalOnClick
         OnRightClick=SPRosterCharList.InternalOnRightClick
         OnMousePressed=SPRosterCharList.InternalOnMousePressed
         OnMouseRelease=SPRosterCharList.InternalOnMouseRelease
         OnChange=Tab_SPRoster.CharListClick
         OnKeyEvent=SPRosterCharList.InternalOnKeyEvent
         OnBeginDrag=SPRosterCharList.InternalOnBeginDrag
         OnEndDrag=SPRosterCharList.InternalOnEndDrag
         OnDragDrop=SPRosterCharList.InternalOnDragDrop
         OnDragEnter=SPRosterCharList.InternalOnDragEnter
         OnDragLeave=SPRosterCharList.InternalOnDragLeave
         OnDragOver=SPRosterCharList.InternalOnDragOver
     End Object
     Controls(6)=GUICharacterListTeam'XInterface.Tab_SPRoster.SPRosterCharList'


     Begin Object Class=GUIImage Name=SPCharListBox
         Image=Texture'InterfaceContent.Menu.BorderBoxD'
         ImageColor=(A=160)
         ImageStyle=ISTY_Stretched
         WinTop=0.722000
         WinLeft=0.006836
         WinWidth=0.622268
         WinHeight=0.186797
     End Object
     Controls(7)=GUIImage'XInterface.Tab_SPRoster.SPCharListBox'


     Begin Object Class=GUIPanel Name=pnlMates1
         Begin Object Class=GUIImage Name=Mate1Back
             Image=Texture'InterfaceContent.Menu.BorderBoxD'
             ImageColor=(A=160)
             ImageStyle=ISTY_Stretched
             WinHeight=1.000000
             Tag=0
         End Object
         Controls(0)=GUIImage'XInterface.Tab_SPRoster.Mate1Back'


         Begin Object Class=GUIGFXButton Name=imgMate1
             Graphic=Texture'InterfaceContent.Menu.BorderBoxD'
             Position=ICP_Scaled
             WinTop=0.052442
             WinLeft=0.018244
             WinWidth=0.140000
             WinHeight=0.896118
             OnKeyEvent=imgMate1.InternalOnKeyEvent
         End Object
         Controls(1)=GUIGFXButton'XInterface.Tab_SPRoster.imgMate1'


         Begin Object Class=GUILabel Name=lblMate1
             Caption="Name"
             TextAlign=TXTA_Center
             TextColor=(B=255,G=255,R=255)
             TextFont="UT2SmallFont"
             WinTop=0.249487
             WinLeft=0.174012
             WinWidth=0.797917
             WinHeight=0.213511
         End Object
         Controls(2)=GUILabel'XInterface.Tab_SPRoster.lblMate1'


         Begin Object Class=GUIComboBox Name=cboMate1
             Hint="Set starting position - change with voice menu during match"
             WinTop=0.567351
             WinLeft=0.323564
             WinWidth=0.554010
             WinHeight=0.234660
             OnChange=Tab_SPRoster.PositionChange
             OnKeyEvent=cboMate1.InternalOnKeyEvent
         End Object
         Controls(3)=GUIComboBox'XInterface.Tab_SPRoster.cboMate1'


         Begin Object Class=GUIGFXButton Name=btnMate1
             Graphic=Texture'InterfaceContent.SPMenu.YellowArrowVBand'
             Position=ICP_Scaled
             bClientBound=True
             StyleName="RosterButton"
             Hint="Assign the selected team member to this roster"
             WinTop=0.046398
             WinLeft=0.012050
             WinWidth=0.058350
             WinHeight=0.901195
             Tag=0
             OnClick=Tab_SPRoster.FixLineup
             OnKeyEvent=btnMate1.InternalOnKeyEvent
         End Object
         Controls(4)=GUIGFXButton'XInterface.Tab_SPRoster.btnMate1'


         Begin Object Class=GUILabel Name=lblNA1
             Caption="SLOT NOT AVAILABLE"
             TextAlign=TXTA_Center
             TextColor=(B=255,G=255,R=255)
             TextFont="UT2SmallFont"
             WinTop=0.420000
             WinHeight=0.210000
         End Object
         Controls(5)=GUILabel'XInterface.Tab_SPRoster.lblNA1'


         StyleName="NoBackground"
         WinTop=0.015000
         WinLeft=0.590000
         WinWidth=0.400000
         WinHeight=0.175000
     End Object
     Controls(8)=GUIPanel'XInterface.Tab_SPRoster.pnlMates1'


     Begin Object Class=GUIPanel Name=pnlMates2
         Begin Object Class=GUIImage Name=Mate2Back
             Image=Texture'InterfaceContent.Menu.BorderBoxD'
             ImageColor=(A=160)
             ImageStyle=ISTY_Stretched
             WinHeight=1.000000
             Tag=1
         End Object
         Controls(0)=GUIImage'XInterface.Tab_SPRoster.Mate2Back'


         Begin Object Class=GUIGFXButton Name=imgMate2
             Graphic=Texture'InterfaceContent.Menu.BorderBoxD'
             Position=ICP_Scaled
             WinTop=0.052442
             WinLeft=0.018244
             WinWidth=0.140000
             WinHeight=0.896118
             OnKeyEvent=imgMate2.InternalOnKeyEvent
         End Object
         Controls(1)=GUIGFXButton'XInterface.Tab_SPRoster.imgMate2'


         Begin Object Class=GUILabel Name=lblMate2
             Caption="Name"
             TextAlign=TXTA_Center
             TextColor=(B=255,G=255,R=255)
             TextFont="UT2SmallFont"
             WinTop=0.249487
             WinLeft=0.174012
             WinWidth=0.797917
             WinHeight=0.213511
         End Object
         Controls(2)=GUILabel'XInterface.Tab_SPRoster.lblMate2'


         Begin Object Class=GUIComboBox Name=cboMate2
             Hint="Set starting position - change with voice menu during match"
             WinTop=0.567351
             WinLeft=0.323564
             WinWidth=0.554010
             WinHeight=0.234660
             OnChange=Tab_SPRoster.PositionChange
             OnKeyEvent=cboMate2.InternalOnKeyEvent
         End Object
         Controls(3)=GUIComboBox'XInterface.Tab_SPRoster.cboMate2'


         Begin Object Class=GUIGFXButton Name=btnMate2
             Graphic=Texture'InterfaceContent.SPMenu.YellowArrowVBand'
             Position=ICP_Scaled
             bClientBound=True
             StyleName="RosterButton"
             Hint="Assign the selected team member to this roster"
             WinTop=0.046398
             WinLeft=0.012050
             WinWidth=0.058350
             WinHeight=0.901195
             Tag=1
             OnClick=Tab_SPRoster.FixLineup
             OnKeyEvent=btnMate2.InternalOnKeyEvent
         End Object
         Controls(4)=GUIGFXButton'XInterface.Tab_SPRoster.btnMate2'


         Begin Object Class=GUILabel Name=lblNA2
             Caption="SLOT NOT AVAILABLE"
             TextAlign=TXTA_Center
             TextColor=(B=255,G=255,R=255)
             TextFont="UT2SmallFont"
             WinTop=0.420000
             WinHeight=0.210000
         End Object
         Controls(5)=GUILabel'XInterface.Tab_SPRoster.lblNA2'


         StyleName="NoBackground"
         WinTop=0.190000
         WinLeft=0.590000
         WinWidth=0.400000
         WinHeight=0.175000
     End Object
     Controls(9)=GUIPanel'XInterface.Tab_SPRoster.pnlMates2'


     Begin Object Class=GUIPanel Name=pnlMates3
         Begin Object Class=GUIImage Name=Mate3Back
             Image=Texture'InterfaceContent.Menu.BorderBoxD'
             ImageColor=(A=160)
             ImageStyle=ISTY_Stretched
             WinHeight=1.000000
         End Object
         Controls(0)=GUIImage'XInterface.Tab_SPRoster.Mate3Back'


         Begin Object Class=GUIGFXButton Name=imgMate3
             Graphic=Texture'InterfaceContent.Menu.BorderBoxD'
             Position=ICP_Scaled
             WinTop=0.052442
             WinLeft=0.018244
             WinWidth=0.140000
             WinHeight=0.896118
             OnKeyEvent=imgMate3.InternalOnKeyEvent
         End Object
         Controls(1)=GUIGFXButton'XInterface.Tab_SPRoster.imgMate3'


         Begin Object Class=GUILabel Name=lblMate3
             Caption="Name"
             TextAlign=TXTA_Center
             TextColor=(B=255,G=255,R=255)
             TextFont="UT2SmallFont"
             WinTop=0.249487
             WinLeft=0.174012
             WinWidth=0.797917
             WinHeight=0.213511
         End Object
         Controls(2)=GUILabel'XInterface.Tab_SPRoster.lblMate3'


         Begin Object Class=GUIComboBox Name=cboMate3
             Hint="Set starting position - change with voice menu during match"
             WinTop=0.567351
             WinLeft=0.323564
             WinWidth=0.554010
             WinHeight=0.234660
             OnChange=Tab_SPRoster.PositionChange
             OnKeyEvent=cboMate3.InternalOnKeyEvent
         End Object
         Controls(3)=GUIComboBox'XInterface.Tab_SPRoster.cboMate3'


         Begin Object Class=GUIGFXButton Name=btnMate3
             Graphic=Texture'InterfaceContent.SPMenu.YellowArrowVBand'
             Position=ICP_Scaled
             bClientBound=True
             StyleName="RosterButton"
             Hint="Assign the selected team member to this roster"
             WinTop=0.046398
             WinLeft=0.012050
             WinWidth=0.058350
             WinHeight=0.901195
             Tag=2
             OnClick=Tab_SPRoster.FixLineup
             OnKeyEvent=btnMate3.InternalOnKeyEvent
         End Object
         Controls(4)=GUIGFXButton'XInterface.Tab_SPRoster.btnMate3'


         Begin Object Class=GUILabel Name=lblNA3
             Caption="SLOT NOT AVAILABLE"
             TextAlign=TXTA_Center
             TextColor=(B=255,G=255,R=255)
             TextFont="UT2SmallFont"
             WinTop=0.420000
             WinHeight=0.210000
         End Object
         Controls(5)=GUILabel'XInterface.Tab_SPRoster.lblNA3'


         StyleName="NoBackground"
         WinTop=0.365000
         WinLeft=0.590000
         WinWidth=0.400000
         WinHeight=0.175000
     End Object
     Controls(10)=GUIPanel'XInterface.Tab_SPRoster.pnlMates3'


     Begin Object Class=GUIPanel Name=pnlMates4
         Begin Object Class=GUIImage Name=Mate4Back
             Image=Texture'InterfaceContent.Menu.BorderBoxD'
             ImageColor=(A=160)
             ImageStyle=ISTY_Stretched
             WinHeight=1.000000
             Tag=3
         End Object
         Controls(0)=GUIImage'XInterface.Tab_SPRoster.Mate4Back'


         Begin Object Class=GUIGFXButton Name=imgMate4
             Graphic=Texture'InterfaceContent.Menu.BorderBoxD'
             Position=ICP_Scaled
             WinTop=0.052442
             WinLeft=0.018244
             WinWidth=0.140000
             WinHeight=0.896118
             OnKeyEvent=imgMate4.InternalOnKeyEvent
         End Object
         Controls(1)=GUIGFXButton'XInterface.Tab_SPRoster.imgMate4'


         Begin Object Class=GUILabel Name=lblMate4
             Caption="Name"
             TextAlign=TXTA_Center
             TextColor=(B=255,G=255,R=255)
             TextFont="UT2SmallFont"
             WinTop=0.249487
             WinLeft=0.174012
             WinWidth=0.797917
             WinHeight=0.213511
         End Object
         Controls(2)=GUILabel'XInterface.Tab_SPRoster.lblMate4'


         Begin Object Class=GUIComboBox Name=cboMate4
             Hint="Set starting position - change with voice menu during match"
             WinTop=0.567351
             WinLeft=0.323564
             WinWidth=0.554010
             WinHeight=0.234660
             OnChange=Tab_SPRoster.PositionChange
             OnKeyEvent=cboMate4.InternalOnKeyEvent
         End Object
         Controls(3)=GUIComboBox'XInterface.Tab_SPRoster.cboMate4'


         Begin Object Class=GUIGFXButton Name=btnMate4
             Graphic=Texture'InterfaceContent.SPMenu.YellowArrowVBand'
             Position=ICP_Scaled
             bClientBound=True
             StyleName="RosterButton"
             Hint="Assign the selected team member to this roster"
             WinTop=0.046398
             WinLeft=0.012050
             WinWidth=0.058350
             WinHeight=0.901195
             Tag=3
             OnClick=Tab_SPRoster.FixLineup
             OnKeyEvent=btnMate4.InternalOnKeyEvent
         End Object
         Controls(4)=GUIGFXButton'XInterface.Tab_SPRoster.btnMate4'


         Begin Object Class=GUILabel Name=lblNA4
             Caption="SLOT NOT AVAILABLE"
             TextAlign=TXTA_Center
             TextColor=(B=255,G=255,R=255)
             TextFont="UT2SmallFont"
             WinTop=0.420000
             WinHeight=0.210000
         End Object
         Controls(5)=GUILabel'XInterface.Tab_SPRoster.lblNA4'


         StyleName="NoBackground"
         WinTop=0.540000
         WinLeft=0.590000
         WinWidth=0.400000
         WinHeight=0.175000
     End Object
     Controls(11)=GUIPanel'XInterface.Tab_SPRoster.pnlMates4'


     Begin Object Class=GUIListBox Name=SPRTeamStats
         OnCreateComponent=SPRTeamStats.InternalOnCreateComponent
         WinTop=0.722000
         WinLeft=0.654063
         WinWidth=0.338750
         WinHeight=0.186797
         bAcceptsInput=False
         bNeverFocus=True
     End Object
     Controls(12)=GUIListBox'XInterface.Tab_SPRoster.SPRTeamStats'


     WinTop=0.150000
     WinHeight=0.770000
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 18-3-2018 09:49:53.642 - Created with UnCodeX