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

GUI2K4.UT2K4SP_TeamRoles

Extends
LargeWindow

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPage
            |   
            +-- XInterface.UT2K4GUIPage
               |   
               +-- GUI2K4.PopupPageBase
                  |   
                  +-- GUI2K4.FloatingWindow
                     |   
                     +-- GUI2K4.LargeWindow
                        |   
                        +-- GUI2K4.UT2K4SP_TeamRoles

Variables Summary
stringAccuracyCaption
stringAggressionCaption
stringAgilityCaption
intAssignedRoles
boolbNoBalanceCheck
GUIButtonbtnCancel
GUIButtonbtnOk
array<GUIComboBox>cbRoles
intCurrentFee
UT2K4GameProfileGP
array<GUIImage>imgFaces
stringInactiveMsg
stringInjuredCaption
GUILabellblBalance
GUILabellblInfo
GUILabellblNoMoney
GUILabellblTitle
intMaxTeamMates
stringMinimalFeeCaption
materialPortraitBGMat
GUIScrollTextBoxsbCharInfo
stringTacticsCaption
array<int>TeamFee
Inherited Variables from GUI2K4.FloatingWindow
BLSizing, bMoveAllowed, bMoving, bResizeHeightAllowed, bResizeWidthAllowed, bResizing, BRSizing, BtSizing, b_ExitButton, DefaultHeight, DefaultLeft, DefaultTop, DefaultWidth, HeaderMouseCursorIndex, LSizing, MaxPageHeight, MaxPageWidth, MinPageHeight, MinPageWidth, RSizing, TLSizing, TRSizing, TSizing, t_WindowTitle, WindowName

Delegates Summary
delegate OnOkClick ()

Functions Summary
function drawButtons ()
event HandleParameters (string Param1, string Param2)
function InitComponent (GUIController MyController, GUIComponent MyOwner)
functionbool InternalOnClick (GUIComponent Sender)
function onRoleChange (GUIComponent Sender)
function setOkButtonState ()
functionbool ShowPlayerDetails (GUIComponent Sender)
Inherited Functions from GUI2K4.FloatingWindow
AddSystemMenu, AlignFrame, CheckBounds, FloatingHover, FloatingMousePressed, FloatingMouseRelease, FloatingPreDraw, FloatingRendered, HoveringBottomBorder, HoveringBottomLeft, HoveringLeftBorder, HoveringRightBorder, HoveringTopBorder, HoveringTopLeft, InitComponent, InternalOnCreateComponent, ResizeAllowed, ResizedBoth, ResizedHeight, ResizedWidth, ResolutionChanged, SaveCurrentPosition, SetDefaultPosition, SetFocus, SetMouseCursorIndex, SetPanelPosition, SystemMenuPreDraw, XButtonClicked


Variables Detail

AccuracyCaption Source code

var localized string AccuracyCaption;

AggressionCaption Source code

var localized string AggressionCaption;

AgilityCaption Source code

var localized string AgilityCaption;

AssignedRoles Source code

var int AssignedRoles;
Currently assigned roles

bNoBalanceCheck Source code

var bool bNoBalanceCheck;
if true no balance check is done

btnCancel Source code

var automated GUIButton btnCancel;

btnOk Source code

var automated GUIButton btnOk;

cbRoles Source code

var array<GUIComboBox> cbRoles;

CurrentFee Source code

var int CurrentFee;
the fee for the currently selected team

GP Source code

var UT2K4GameProfile GP;

imgFaces Source code

var array<GUIImage> imgFaces;

InactiveMsg Source code

var localized string InactiveMsg;

InjuredCaption Source code

var localized string InjuredCaption;

lblBalance Source code

var automated GUILabel lblBalance;

lblInfo Source code

var automated GUILabel lblInfo;

lblNoMoney Source code

var automated GUILabel lblNoMoney;

lblTitle Source code

var automated GUILabel lblTitle;

MaxTeamMates Source code

var int MaxTeamMates;
Used to check the number of roles assigned

MinimalFeeCaption Source code

var localized string MinimalFeeCaption;

PortraitBGMat Source code

var material PortraitBGMat;

sbCharInfo Source code

var automated GUIScrollTextBox sbCharInfo;

TacticsCaption Source code

var localized string TacticsCaption;

TeamFee Source code

var array<int> TeamFee;
used to check if the current team can be payed


Delegates Detail

OnOkClick Source code

delegate OnOkClick ( )
Will be called when the user clicks the "ok" button


Functions Detail

drawButtons Source code

function drawButtons ( )
draw team member faces and role selection controlls

HandleParameters Source code

event HandleParameters ( string Param1, string Param2 )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner )

InternalOnClick Source code

function bool InternalOnClick ( GUIComponent Sender )

onRoleChange Source code

function onRoleChange ( GUIComponent Sender )
A role has changed, check the constraints

setOkButtonState Source code

function setOkButtonState ( )

ShowPlayerDetails Source code

function bool ShowPlayerDetails ( GUIComponent Sender )


Defaultproperties

defaultproperties
{
     PortraitBGMat=Texture'2K4Menus.Controls.sectionback'
     Begin Object Class=GUIButton Name=SPMbtnOk
         Caption="OK"
         FontScale=FNS_Small
         WinTop=0.912292
         WinLeft=0.764064
         WinWidth=0.200000
         RenderWeight=0.200000
         TabOrder=1
         bBoundToParent=True
         OnClick=UT2K4SP_TeamRoles.InternalOnClick
         OnKeyEvent=SPMbtnOk.InternalOnKeyEvent
     End Object
     btnOK=GUIButton'GUI2K4.UT2K4SP_TeamRoles.SPMbtnOk'

     Begin Object Class=GUIButton Name=SPTbtnCancel
         Caption="CANCEL"
         FontScale=FNS_Small
         WinTop=0.912292
         WinLeft=0.532813
         WinWidth=0.200000
         RenderWeight=0.200000
         TabOrder=2
         bBoundToParent=True
         OnClick=UT2K4SP_TeamRoles.InternalOnClick
         OnKeyEvent=SPTbtnCancel.InternalOnKeyEvent
     End Object
     btnCancel=GUIButton'GUI2K4.UT2K4SP_TeamRoles.SPTbtnCancel'

     Begin Object Class=GUILabel Name=SPTlblTitle
         Caption="Team roster"
         TextAlign=TXTA_Center
         FontScale=FNS_Large
         StyleName="TextLabel"
         WinTop=0.041666
         WinLeft=0.089063
         WinWidth=0.806251
         WinHeight=0.065000
         RenderWeight=0.200000
         bBoundToParent=True
     End Object
     lblTitle=GUILabel'GUI2K4.UT2K4SP_TeamRoles.SPTlblTitle'

     Begin Object Class=GUILabel Name=SPTlblInfo
         Caption="%gametype% in %map% with %teammates% team mates"
         TextAlign=TXTA_Center
         bMultiLine=True
         StyleName="TextLabel"
         WinTop=0.100000
         WinLeft=0.032813
         WinWidth=0.931251
         WinHeight=0.058750
         RenderWeight=0.200000
         bBoundToParent=True
     End Object
     lblInfo=GUILabel'GUI2K4.UT2K4SP_TeamRoles.SPTlblInfo'

     Begin Object Class=GUILabel Name=SPTlblNoMoney
         Caption="You do not have enough money to pay this team's minimal fee"
         TextAlign=TXTA_Center
         TextColor=(B=0,R=228)
         bMultiLine=True
         ShadowOffsetX=1.000000
         ShadowOffsetY=1.000000
         WinTop=0.758334
         WinLeft=0.532813
         WinWidth=0.431250
         WinHeight=0.102500
         RenderWeight=0.200000
         bBoundToParent=True
     End Object
     lblNoMoney=GUILabel'GUI2K4.UT2K4SP_TeamRoles.SPTlblNoMoney'

     Begin Object Class=GUILabel Name=SPTlblBalance
         Caption="Balance: %balance%"
         TextAlign=TXTA_Right
         bMultiLine=True
         StyleName="TextLabel"
         WinTop=0.049999
         WinLeft=0.556563
         WinWidth=0.415000
         WinHeight=0.040000
         RenderWeight=0.200000
         bBoundToParent=True
     End Object
     lblBalance=GUILabel'GUI2K4.UT2K4SP_TeamRoles.SPTlblBalance'

     Begin Object Class=GUIScrollTextBox Name=SPTsbCharInfo
         bNoTeletype=True
         bVisibleWhenEmpty=True
         OnCreateComponent=SPTsbCharInfo.InternalOnCreateComponent
         WinTop=0.726666
         WinLeft=0.032500
         WinWidth=0.468750
         WinHeight=0.212500
         RenderWeight=0.200000
         TabOrder=3
         bBoundToParent=True
     End Object
     sbCharInfo=GUIScrollTextBox'GUI2K4.UT2K4SP_TeamRoles.SPTsbCharInfo'

     InactiveMsg="INACTIVE"
     MinimalFeeCaption="Minimal fee:|%fee%"
     InjuredCaption="INJURED"
     AggressionCaption="Aggressiveness:"
     AccuracyCaption="Accuracy:"
     AgilityCaption="Agility:"
     TacticsCaption="Tactics:"
     DefaultLeft=0.000000
     DefaultTop=0.060000
     DefaultWidth=1.000000
     DefaultHeight=0.880000
     WinTop=0.060000
     WinLeft=0.000000
     WinWidth=1.000000
     WinHeight=0.880000
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Wed 7/2/2007 19:16:23.640 - Created with UnCodeX