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

GUI2K4.UT2K4Tab_MidGameRulesCombo

Extends
MidGamePanel

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPanel
            |   
            +-- XInterface.GUITabPanel
               |   
               +-- XInterface.UT2K4TabPanel
                  |   
                  +-- GUI2K4.MidGamePanel
                     |   
                     +-- GUI2K4.UT2K4Tab_MidGameRulesCombo

Variables Summary
GUIListBoxlb_Maps
GUIMultiColumnListBoxlb_Rules
GUIListli_Maps
GUIMultiColumnListli_Rules
GUISectionBackgroundsb_Maps
GUISectionBackgroundsb_Rules
UT2K4Tab_MidGameRulesCombo
boolbClient
boolbReceivedMaps
boolbReceivedRules
stringDefaultMapsText
stringDefaultRulesText
array<AServerRule>ServerRules
Inherited Variables from GUI2K4.MidGamePanel
bLocked

Structures Summary
AServerRule
RuleName, RuleValue

Functions Summary
function ContextClick (GUIContextMenu Sender, int Index)
function DrawServerRule (Canvas Canvas, int i, float X, float Y, float W, float H, bool bSelected, bool bPending)
function InitComponent (GUIController InController, GUIComponent InOwner)
function ProcessMapName (string MapName)
function ProcessRule (string NewRule)
functionbool RightClick (GUIComponent Sender)
function ShowPanel (bool bShow)
function Timer ()
Inherited Functions from GUI2K4.MidGamePanel
Free, LevelChanged, PlayerIDIsMine, UpdateChatRestriction


Variables Detail

lb_Maps Source code

var automated GUIListBox lb_Maps;

lb_Rules Source code

var automated GUIMultiColumnListBox lb_Rules;

li_Maps Source code

var noexport GUIList li_Maps;

li_Rules Source code

var noexport GUIMultiColumnList li_Rules;

sb_Maps Source code

var automated GUISectionBackground sb_Maps;

sb_Rules Source code

var automated GUISectionBackground sb_Rules;

UT2K4Tab_MidGameRulesCombo

bClient Source code

var(UT2K4Tab_MidGameRulesCombo) bool bClient;

bReceivedMaps Source code

var(UT2K4Tab_MidGameRulesCombo) bool bReceivedMaps;

bReceivedRules Source code

var(UT2K4Tab_MidGameRulesCombo) bool bReceivedRules;

DefaultMapsText Source code

var(UT2K4Tab_MidGameRulesCombo) localized string DefaultMapsText;

DefaultRulesText Source code

var(UT2K4Tab_MidGameRulesCombo) localized string DefaultRulesText;

ServerRules Source code

var(UT2K4Tab_MidGameRulesCombo) noexport array<AServerRule> ServerRules;


Structures Detail

AServerRule Source code

struct AServerRule
{
var string RuleName;
var string RuleValue;
};



Functions Detail

ContextClick Source code

function ContextClick ( GUIContextMenu Sender, int Index )

DrawServerRule Source code

function DrawServerRule ( Canvas Canvas, int i, float X, float Y, float W, float H, bool bSelected, bool bPending )

InitComponent Source code

function InitComponent ( GUIController InController, GUIComponent InOwner )

ProcessMapName Source code

function ProcessMapName ( string MapName )

ProcessRule Source code

function ProcessRule ( string NewRule )

RightClick Source code

function bool RightClick ( GUIComponent Sender )

ShowPanel Source code

function ShowPanel ( bool bShow )

Timer Source code

function Timer ( )


Defaultproperties

defaultproperties
{
     Begin Object Class=AltSectionBackground Name=sbRules
         bFillClient=True
         Caption="Server Rules"
         WinTop=0.020438
         WinLeft=0.023625
         WinWidth=0.944875
         WinHeight=0.455783
         bBoundToParent=True
         bScaleToParent=True
         OnPreDraw=sbRules.InternalPreDraw
     End Object
     sb_Rules=AltSectionBackground'GUI2K4.UT2K4Tab_MidGameRulesCombo.sbRules'

     Begin Object Class=AltSectionBackground Name=sbMaps
         bFillClient=True
         Caption="Map Rotation"
         WinTop=0.482921
         WinLeft=0.055125
         WinWidth=0.881875
         WinHeight=0.436125
         bBoundToParent=True
         bScaleToParent=True
         OnPreDraw=sbMaps.InternalPreDraw
     End Object
     sb_Maps=AltSectionBackground'GUI2K4.UT2K4Tab_MidGameRulesCombo.sbMaps'

     Begin Object Class=GUIListBox Name=ComboMaplistBox
         SelectedStyleName="BrowserListSelection"
         bVisibleWhenEmpty=True
         OnCreateComponent=ComboMaplistBox.InternalOnCreateComponent
         StyleName="ServerBrowserGrid"
         WinTop=0.045905
         WinLeft=0.517829
         WinWidth=0.478167
         WinHeight=0.922516
         bBoundToParent=True
         bScaleToParent=True
     End Object
     lb_Maps=GUIListBox'GUI2K4.UT2K4Tab_MidGameRulesCombo.ComboMaplistBox'

     Begin Object Class=GUIMultiColumnListBox Name=ComboRulesListbox
         bDisplayHeader=False
         HeaderColumnPerc(0)=0.600000
         HeaderColumnPerc(1)=0.400000
         SelectedStyleName="BrowserListSelection"
         bVisibleWhenEmpty=True
         OnCreateComponent=ComboRulesListbox.InternalOnCreateComponent
         StyleName="ServerBrowserGrid"
         WinTop=0.045905
         WinLeft=0.008213
         WinWidth=0.478167
         WinHeight=0.922516
         bBoundToParent=True
         bScaleToParent=True
     End Object
     lb_Rules=GUIMultiColumnListBox'GUI2K4.UT2K4Tab_MidGameRulesCombo.ComboRulesListbox'

     DefaultRulesText="Receiving game rules from server"
     DefaultMapsText="Receiving maplist from server"
     Begin Object Class=GUIContextMenu Name=ComboContextMenu
         ContextItems(0)="Switch to this map"
         ContextItems(1)="Remove this map from rotation"
         OnSelect=UT2K4Tab_MidGameRulesCombo.ContextClick
     End Object
     ContextMenu=GUIContextMenu'GUI2K4.UT2K4Tab_MidGameRulesCombo.ComboContextMenu'

     OnRightClick=UT2K4Tab_MidGameRulesCombo.RightClick
}

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