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

ROInterface.ROUT2K4TabPanel_RoleSelection

Extends
UT2K4TabPanel

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPanel
            |   
            +-- XInterface.GUITabPanel
               |   
               +-- XInterface.UT2K4TabPanel
                  |   
                  +-- ROInterface.ROUT2K4TabPanel_RoleSelection

Constants Summary
NUM_ROLES=10

Variables Summary
GUIButtonb_selectUnitButton
RORoleInfocurrentRole
intcurrentRoleIndex
moComboBoxgrenadeCombo
ROGameReplicationInfoGRI
BackgroundImagei_Background
GUISectionBackgroundi_GrenadeBG
GUIImagei_GrenadeImage
GUIImagei_PrimaryImage
GUISectionBackgroundi_PrimaryWeaponBG
GUISectionBackgroundi_RolesBG
GUISectionBackgroundi_RolesDescriptionBG
GUIImagei_SecondaryImage
GUISectionBackgroundi_SecondaryWeaponBG
intlastTeamIndex
GUIScrollTextBoxlb_RoleDesc
GUIListBoxlb_Roles
GUIListli_Roles
stringNoneText
moComboBoxprimaryCombo
GUIImageRoleImage
moComboBoxsecondaryCombo
Inherited Variables from XInterface.GUITabPanel
bFillHeight, FadeInTime, MyButton, PanelCaption

Delegates Summary
delegate OnSelect (int index)

Functions Summary
functionint findRoleIndexByAltName (string altName))
function InitComponent (GUIController MyController, GUIComponent MyOwner))
function InitPreview ()))
functionbool InternalOnClick (GUIComponent Sender ))
function OnComboChange (GUIComponent Sender))
function OnRoleChange (GUIComponent Sender))
function populateRoleList ()))
function refreshRoleCount ()))
function setCurrentRoleSelection ()))
function setRoleByIndex (int index))
function ShowPanel (bool bShow))
function Timer ()))
function UpdateCurrentWeapon ()))
function updateGrenadeCombo ()))
function updateGrenadeInfo ()))
function updatePrimaryCombo ()))
function updatePrimaryInfo ()))
functionbool UpdateRoles ()))
function updateSecondaryCombo ()))
function updateSecondaryInfo ()))
Inherited Functions from XInterface.GUITabPanel
CanShowPanel, Free, InitPanel, OnDestroyPanel, Refresh, ShowPanel


Constants Detail

NUM_ROLES Source code

const NUM_ROLES = 10;


Variables Detail

b_selectUnitButton Source code

var automated GUIButton b_selectUnitButton;

currentRole Source code

var RORoleInfo currentRole;

currentRoleIndex Source code

var int currentRoleIndex;

grenadeCombo Source code

var automated moComboBox grenadeCombo;

GRI Source code

var ROGameReplicationInfo GRI;

i_Background Source code

var automated BackgroundImage i_Background;

i_GrenadeBG Source code

var automated GUISectionBackground i_GrenadeBG;

i_GrenadeImage Source code

var automated GUIImage i_GrenadeImage;

i_PrimaryImage Source code

var automated GUIImage i_PrimaryImage;

i_PrimaryWeaponBG Source code

var automated GUISectionBackground i_PrimaryWeaponBG;

i_RolesBG Source code

var automated GUISectionBackground i_RolesBG;

i_RolesDescriptionBG Source code

var automated GUISectionBackground i_RolesDescriptionBG;

i_SecondaryImage Source code

var automated GUIImage i_SecondaryImage;

i_SecondaryWeaponBG Source code

var automated GUISectionBackground i_SecondaryWeaponBG;

lastTeamIndex Source code

var int lastTeamIndex;

lb_RoleDesc Source code

var automated GUIScrollTextBox lb_RoleDesc;

lb_Roles Source code

var automated GUIListBox lb_Roles;

li_Roles Source code

var GUIList li_Roles;

NoneText Source code

var localized string NoneText;

primaryCombo Source code

var automated moComboBox primaryCombo;

RoleImage Source code

var automated GUIImage RoleImage;

secondaryCombo Source code

var automated moComboBox secondaryCombo;


Delegates Detail

OnSelect Source code

delegate OnSelect ( int index )


Functions Detail

findRoleIndexByAltName Source code

function int findRoleIndexByAltName ( string altName) )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner) )

InitPreview Source code

function InitPreview ( ) )

InternalOnClick Source code

function bool InternalOnClick ( GUIComponent Sender ) )

OnComboChange Source code

function OnComboChange ( GUIComponent Sender) )

OnRoleChange Source code

function OnRoleChange ( GUIComponent Sender) )

populateRoleList Source code

function populateRoleList ( ) )

refreshRoleCount Source code

function refreshRoleCount ( ) )

setCurrentRoleSelection Source code

function setCurrentRoleSelection ( ) )

setRoleByIndex Source code

function setRoleByIndex ( int index) )
\ Weapon *

ShowPanel Source code

function ShowPanel ( bool bShow) )

Timer Source code

function Timer ( ) )

UpdateCurrentWeapon Source code

function UpdateCurrentWeapon ( ) )

updateGrenadeCombo Source code

function updateGrenadeCombo ( ) )

updateGrenadeInfo Source code

function updateGrenadeInfo ( ) )

updatePrimaryCombo Source code

function updatePrimaryCombo ( ) )

updatePrimaryInfo Source code

function updatePrimaryInfo ( ) )

UpdateRoles Source code

function bool UpdateRoles ( ) )

updateSecondaryCombo Source code

function updateSecondaryCombo ( ) )

updateSecondaryInfo Source code

function updateSecondaryInfo ( ) )


Defaultproperties

defaultproperties
{
     Begin Object Class=GUIButton Name=SelectButton
         Caption="Select"
         Hint="Select Role."
         WinTop=0.930000
         WinLeft=0.796436
         WinWidth=0.139474
         WinHeight=0.052944
         TabOrder=3
         OnClick=ROUT2K4TabPanel_RoleSelection.InternalOnClick
         OnKeyEvent=SelectButton.InternalOnKeyEvent
     End Object
     b_selectUnitButton=GUIButton'ROInterface.ROUT2K4TabPanel_RoleSelection.SelectButton'


     Begin Object Class=GUIListBox Name=Roles
         bVisibleWhenEmpty=True
         bSorted=True
         OnCreateComponent=Roles.InternalOnCreateComponent
         WinTop=0.080000
         WinLeft=0.020000
         WinWidth=0.250000
         WinHeight=0.330000
         TabOrder=0
         bBoundToParent=True
         bScaleToParent=True
         OnChange=ROUT2K4TabPanel_RoleSelection.OnRoleChange
     End Object
     lb_Roles=GUIListBox'ROInterface.ROUT2K4TabPanel_RoleSelection.Roles'


     Begin Object Class=GUISectionBackground Name=RolesBG
         Caption="Role Selection"
         WinTop=0.010000
         WinWidth=0.300000
         WinHeight=0.500000
         OnPreDraw=RolesBG.InternalPreDraw
     End Object
     i_RolesBG=GUISectionBackground'ROInterface.ROUT2K4TabPanel_RoleSelection.RolesBG'


     Begin Object Class=GUISectionBackground Name=RolesDescriptionBG
         Caption="Role Description"
         WinTop=0.500000
         WinWidth=0.500000
         WinHeight=0.424000
         OnPreDraw=RolesDescriptionBG.InternalPreDraw
     End Object
     i_RolesDescriptionBG=GUISectionBackground'ROInterface.ROUT2K4TabPanel_RoleSelection.RolesDescriptionBG'


     Begin Object Class=GUIScrollTextBox Name=RoleDescription
         CharDelay=0.002500
         EOLDelay=0.500000
         OnCreateComponent=RoleDescription.InternalOnCreateComponent
         WinTop=0.540000
         WinLeft=0.020000
         WinWidth=0.470000
         WinHeight=0.360000
         bTabStop=False
         bNeverFocus=True
     End Object
     lb_RoleDesc=GUIScrollTextBox'ROInterface.ROUT2K4TabPanel_RoleSelection.RoleDescription'


     Begin Object Class=GUIImage Name=RoleImg
         Image=Texture'Engine.WhiteSquareTexture'
         ImageStyle=ISTY_Scaled
         WinTop=0.030000
         WinLeft=0.320000
         WinWidth=0.180000
         WinHeight=0.470000
     End Object
     RoleImage=GUIImage'ROInterface.ROUT2K4TabPanel_RoleSelection.RoleImg'


     Begin Object Class=GUISectionBackground Name=PrimaryWeaponBG
         WinLeft=0.520000
         WinWidth=0.430000
         WinHeight=0.300000
         OnPreDraw=PrimaryWeaponBG.InternalPreDraw
     End Object
     i_PrimaryWeaponBG=GUISectionBackground'ROInterface.ROUT2K4TabPanel_RoleSelection.PrimaryWeaponBG'


     Begin Object Class=GUISectionBackground Name=SecondaryWeaponBG
         WinTop=0.310000
         WinLeft=0.520000
         WinWidth=0.430000
         WinHeight=0.300000
         OnPreDraw=SecondaryWeaponBG.InternalPreDraw
     End Object
     i_SecondaryWeaponBG=GUISectionBackground'ROInterface.ROUT2K4TabPanel_RoleSelection.SecondaryWeaponBG'


     Begin Object Class=GUISectionBackground Name=GrenadeBG
         WinTop=0.624000
         WinLeft=0.520000
         WinWidth=0.430000
         WinHeight=0.300000
         OnPreDraw=GrenadeBG.InternalPreDraw
     End Object
     i_GrenadeBG=GUISectionBackground'ROInterface.ROUT2K4TabPanel_RoleSelection.GrenadeBG'


     Begin Object Class=moComboBox Name=PrimaryComboB
         bReadOnly=True
         CaptionWidth=0.450000
         Caption="Primary Weapon"
         OnCreateComponent=PrimaryComboB.InternalOnCreateComponent
         Hint="Select your primary weapon"
         WinTop=0.046350
         WinLeft=0.550000
         WinWidth=0.350000
         WinHeight=0.060000
         OnChange=ROUT2K4TabPanel_RoleSelection.OnComboChange
     End Object
     primaryCombo=moComboBox'ROInterface.ROUT2K4TabPanel_RoleSelection.PrimaryComboB'


     Begin Object Class=moComboBox Name=SecondaryComboB
         bReadOnly=True
         CaptionWidth=0.450000
         Caption="Secondary Weapon"
         OnCreateComponent=SecondaryComboB.InternalOnCreateComponent
         Hint="Select your secondary weapon"
         WinTop=0.356350
         WinLeft=0.550000
         WinWidth=0.350000
         WinHeight=0.060000
         OnChange=ROUT2K4TabPanel_RoleSelection.OnComboChange
     End Object
     secondaryCombo=moComboBox'ROInterface.ROUT2K4TabPanel_RoleSelection.SecondaryComboB'


     Begin Object Class=moComboBox Name=grenadeComboB
         bReadOnly=True
         CaptionWidth=0.350000
         Caption="Grenades"
         OnCreateComponent=grenadeComboB.InternalOnCreateComponent
         Hint="Select your grenades"
         WinTop=0.666350
         WinLeft=0.550000
         WinWidth=0.350000
         WinHeight=0.060000
         OnChange=ROUT2K4TabPanel_RoleSelection.OnComboChange
     End Object
     grenadeCombo=moComboBox'ROInterface.ROUT2K4TabPanel_RoleSelection.grenadeComboB'


     Begin Object Class=GUIImage Name=PrimaryImage
         Image=Texture'InterfaceArt_tex.Menu.changeme_texture'
         ImageStyle=ISTY_Scaled
         ImageRenderStyle=MSTY_Normal
         IniOption="@Internal"
         WinTop=0.106350
         WinLeft=0.575000
         WinWidth=0.300000
         WinHeight=0.150000
         RenderWeight=0.300000
     End Object
     i_PrimaryImage=GUIImage'ROInterface.ROUT2K4TabPanel_RoleSelection.PrimaryImage'


     Begin Object Class=GUIImage Name=SecondaryImage
         Image=Texture'InterfaceArt_tex.Menu.changeme_texture'
         ImageStyle=ISTY_Scaled
         ImageRenderStyle=MSTY_Normal
         IniOption="@Internal"
         WinTop=0.416350
         WinLeft=0.575000
         WinWidth=0.300000
         WinHeight=0.150000
         RenderWeight=0.300000
     End Object
     i_SecondaryImage=GUIImage'ROInterface.ROUT2K4TabPanel_RoleSelection.SecondaryImage'


     Begin Object Class=GUIImage Name=GrenadeImage
         Image=Texture'InterfaceArt_tex.Menu.changeme_texture'
         ImageStyle=ISTY_Scaled
         ImageRenderStyle=MSTY_Normal
         IniOption="@Internal"
         WinTop=0.726350
         WinLeft=0.575000
         WinWidth=0.300000
         WinHeight=0.150000
         RenderWeight=0.300000
     End Object
     i_GrenadeImage=GUIImage'ROInterface.ROUT2K4TabPanel_RoleSelection.GrenadeImage'


     NoneText="None"
     PanelCaption="Role"
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Fri 13-10-2023 03:18:52.654 - Created with UnCodeX