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

ROInterface.ROUT2K4TabPanel_UnitSelection

Extends
UT2K4TabPanel

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

Constants Summary
AUTO=2

Variables Summary
stringAutoInfoText
stringBriefing[2]
GUIButtonb_selectUnitButton
moCheckBoxch_Allies
moCheckBoxch_Auto
moCheckBoxch_Axis
moCheckBoxch_currentSelection
ROGameReplicationInfoGRI
GUISectionBackgroundi_CurrentUnitBG
GUISectionBackgroundi_UnitBG
GUISectionBackgroundi_UnitDescBG
GUILabell_AlliedCount
GUILabell_AlliedName
GUILabell_AxisCount
GUILabell_AxisName
GUIScrollTextBoxsc_UnitDescription
Inherited Variables from XInterface.GUITabPanel
bFillHeight, FadeInTime, MyButton, PanelCaption

Delegates Summary
delegate OnSelect (int teamIndex)

Functions Summary
functionint autoSelectTeam ()))
functionint getTeamCount (int index))
function InitComponent (GUIController MyController, GUIComponent MyOwner))
function InternalOnChange (GUIComponent Sender))
functionbool InternalOnClick (GUIComponent Sender ))
functionbool isValidTeam ()))
function loadBriefing ()))
function setAlliesChecked ()))
function setAutoChecked ()))
function setAxisChecked ()))
function setCurrentUnitOption ()))
function ShowPanel (bool bShow))
function Timer ()))
function updateAlliesUnitInfoText ()))
function updateAutoUnitInfoText ()))
function updateAxisUnitInfoText ()))
function UpdateTeamCounts ()))
Inherited Functions from XInterface.GUITabPanel
CanShowPanel, Free, InitPanel, OnDestroyPanel, Refresh, ShowPanel


Constants Detail

AUTO Source code

const AUTO = 2;


Variables Detail

AutoInfoText Source code

var localized string AutoInfoText;

Briefing[2] Source code

var localized string Briefing[2];

b_selectUnitButton Source code

var automated GUIButton b_selectUnitButton;

ch_Allies Source code

var automated moCheckBox ch_Allies;

ch_Auto Source code

var automated moCheckBox ch_Auto;

ch_Axis Source code

var automated moCheckBox ch_Axis;

ch_currentSelection Source code

var moCheckBox ch_currentSelection;

GRI Source code

var ROGameReplicationInfo GRI;

i_CurrentUnitBG Source code

var automated GUISectionBackground i_CurrentUnitBG;

i_UnitBG Source code

var automated GUISectionBackground i_UnitBG;

i_UnitDescBG Source code

var automated GUISectionBackground i_UnitDescBG;

l_AlliedCount Source code

var automated GUILabel l_AlliedCount;

l_AlliedName Source code

var automated GUILabel l_AlliedName;

l_AxisCount Source code

var automated GUILabel l_AxisCount;

l_AxisName Source code

var automated GUILabel l_AxisName;

sc_UnitDescription Source code

var automated GUIScrollTextBox sc_UnitDescription;


Delegates Detail

OnSelect Source code

delegate OnSelect ( int teamIndex )


Functions Detail

autoSelectTeam Source code

function int autoSelectTeam ( ) )

getTeamCount Source code

function int getTeamCount ( int index) )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner) )

InternalOnChange Source code

function InternalOnChange ( GUIComponent Sender) )

InternalOnClick Source code

function bool InternalOnClick ( GUIComponent Sender ) )

isValidTeam Source code

function bool isValidTeam ( ) )

loadBriefing Source code

function loadBriefing ( ) )

setAlliesChecked Source code

function setAlliesChecked ( ) )

setAutoChecked Source code

function setAutoChecked ( ) )

setAxisChecked Source code

function setAxisChecked ( ) )

setCurrentUnitOption Source code

function setCurrentUnitOption ( ) )

ShowPanel Source code

function ShowPanel ( bool bShow) )

Timer Source code

function Timer ( ) )

updateAlliesUnitInfoText Source code

function updateAlliesUnitInfoText ( ) )

updateAutoUnitInfoText Source code

function updateAutoUnitInfoText ( ) )

updateAxisUnitInfoText Source code

function updateAxisUnitInfoText ( ) )

UpdateTeamCounts Source code

function UpdateTeamCounts ( ) )


Defaultproperties

defaultproperties
{
     Begin Object Class=moCheckBox Name=AxisCheckbox
         ComponentJustification=TXTA_Center
         CaptionWidth=0.100000
         Caption="Join Axis"
         OnCreateComponent=AxisCheckbox.InternalOnCreateComponent
         Hint="Join the Axis forces."
         WinTop=0.500000
         WinLeft=0.054219
         WinWidth=0.540000
         TabOrder=0
         OnChange=ROUT2K4TabPanel_UnitSelection.InternalOnChange
     End Object
     ch_Axis=moCheckBox'ROInterface.ROUT2K4TabPanel_UnitSelection.AxisCheckbox'


     Begin Object Class=moCheckBox Name=AlliesCheckbox
         ComponentJustification=TXTA_Center
         CaptionWidth=0.100000
         Caption="Join Allies"
         OnCreateComponent=AxisCheckbox.InternalOnCreateComponent
         Hint="Join the Allied forces."
         WinTop=0.550000
         WinLeft=0.054219
         WinWidth=0.540000
         TabOrder=1
         OnChange=ROUT2K4TabPanel_UnitSelection.InternalOnChange
     End Object
     ch_Allies=moCheckBox'ROInterface.ROUT2K4TabPanel_UnitSelection.AlliesCheckbox'


     Begin Object Class=moCheckBox Name=AutoCheckbox
         ComponentJustification=TXTA_Center
         CaptionWidth=0.100000
         Caption="Auto Selection"
         OnCreateComponent=AxisCheckbox.InternalOnCreateComponent
         Hint="Automatically select force."
         WinTop=0.600000
         WinLeft=0.054219
         WinWidth=0.540000
         TabOrder=2
         OnChange=ROUT2K4TabPanel_UnitSelection.InternalOnChange
     End Object
     ch_Auto=moCheckBox'ROInterface.ROUT2K4TabPanel_UnitSelection.AutoCheckbox'


     Begin Object Class=GUIButton Name=SelectButton
         Caption="Select"
         Hint="Select Force To Join."
         WinTop=0.900000
         WinLeft=0.796436
         WinWidth=0.139474
         WinHeight=0.052944
         TabOrder=3
         OnClick=ROUT2K4TabPanel_UnitSelection.InternalOnClick
         OnKeyEvent=SelectButton.InternalOnKeyEvent
     End Object
     b_selectUnitButton=GUIButton'ROInterface.ROUT2K4TabPanel_UnitSelection.SelectButton'


     Begin Object Class=GUIScrollTextBox Name=UnitDescriptionScroll
         CharDelay=0.002500
         EOLDelay=0.500000
         OnCreateComponent=UnitDescriptionScroll.InternalOnCreateComponent
         WinTop=0.130000
         WinLeft=0.042190
         WinWidth=0.570000
         WinHeight=0.160000
         TabOrder=9
     End Object
     sc_UnitDescription=GUIScrollTextBox'ROInterface.ROUT2K4TabPanel_UnitSelection.UnitDescriptionScroll'


     Begin Object Class=AltSectionBackground Name=PlayerSetupBG
         HeaderTop=Texture'InterfaceArt_tex.Menu.button_normal'
         HeaderBar=Texture'InterfaceArt_tex.Menu.button_normal'
         HeaderBase=Texture'InterfaceArt_tex.Menu.RODisplay'
         Caption="Unit Description"
         WinTop=0.055000
         WinLeft=0.024219
         WinWidth=0.600000
         WinHeight=0.300000
         OnPreDraw=PlayerSetupBG.InternalPreDraw
     End Object
     i_UnitDescBG=AltSectionBackground'ROInterface.ROUT2K4TabPanel_UnitSelection.PlayerSetupBG'


     Begin Object Class=AltSectionBackground Name=UnitSetupBG
         HeaderTop=Texture'InterfaceArt_tex.Menu.button_normal'
         HeaderBar=Texture'InterfaceArt_tex.Menu.button_normal'
         HeaderBase=Texture'InterfaceArt_tex.Menu.RODisplay'
         Caption="Unit Selection"
         WinTop=0.400000
         WinLeft=0.024219
         WinWidth=0.600000
         WinHeight=0.330000
         OnPreDraw=PlayerSetupBG.InternalPreDraw
     End Object
     i_UnitBG=AltSectionBackground'ROInterface.ROUT2K4TabPanel_UnitSelection.UnitSetupBG'


     Begin Object Class=AltSectionBackground Name=CurrentUnitSetupBG
         HeaderTop=Texture'InterfaceArt_tex.Menu.button_normal'
         HeaderBar=Texture'InterfaceArt_tex.Menu.button_normal'
         HeaderBase=Texture'InterfaceArt_tex.Menu.RODisplay'
         Caption="Current Units"
         WinTop=0.055000
         WinLeft=0.644219
         WinWidth=0.300000
         WinHeight=0.300000
         OnPreDraw=PlayerSetupBG.InternalPreDraw
     End Object
     i_CurrentUnitBG=AltSectionBackground'ROInterface.ROUT2K4TabPanel_UnitSelection.CurrentUnitSetupBG'


     Begin Object Class=GUILabel Name=AxisName
         Caption="Axis"
         StyleName="ROTextLabel"
         WinTop=0.140000
         WinLeft=0.684219
         WinWidth=0.854492
         WinHeight=0.050000
     End Object
     l_AxisName=GUILabel'ROInterface.ROUT2K4TabPanel_UnitSelection.AxisName'


     Begin Object Class=GUILabel Name=AlliedName
         Caption="Allies"
         StyleName="ROTextLabel"
         WinTop=0.200000
         WinLeft=0.684219
         WinWidth=0.854492
         WinHeight=0.050000
     End Object
     l_AlliedName=GUILabel'ROInterface.ROUT2K4TabPanel_UnitSelection.AlliedName'


     Begin Object Class=GUILabel Name=axisCount
         Caption="10"
         TextAlign=TXTA_Center
         StyleName="ROTextLabel"
         WinTop=0.140000
         WinLeft=0.462190
         WinWidth=0.854492
         WinHeight=0.050000
     End Object
     l_AxisCount=GUILabel'ROInterface.ROUT2K4TabPanel_UnitSelection.axisCount'


     Begin Object Class=GUILabel Name=alliedCount
         Caption="10"
         TextAlign=TXTA_Center
         StyleName="ROTextLabel"
         WinTop=0.200000
         WinLeft=0.462190
         WinWidth=0.854492
         WinHeight=0.050000
     End Object
     l_AlliedCount=GUILabel'ROInterface.ROUT2K4TabPanel_UnitSelection.alliedCount'


     AutoInfoText="* Selecting this option will automatically join the unit that needs you most."
     Briefing(0)="Axis briefing"
     Briefing(1)="Allied briefing"
     PanelCaption="Unit"
}

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