GUI2K4.UT2K4Tab_MidGameRulesCombo
- Extends
- MidGamePanel
Core.Object
|
+-- XInterface.GUI
|
+-- XInterface.GUIComponent
|
+-- XInterface.GUIMultiComponent
|
+-- XInterface.GUIPanel
|
+-- XInterface.GUITabPanel
|
+-- XInterface.UT2K4TabPanel
|
+-- GUI2K4.MidGamePanel
|
+-- GUI2K4.UT2K4Tab_MidGameRulesCombo
UT2K4Tab_MidGameRulesCombo
struct AServerRule
{
var string RuleName;
var string RuleValue;
};
function DrawServerRule (
Canvas Canvas,
int i,
float X,
float Y,
float W,
float H,
bool bSelected,
bool bPending )
function ProcessMapName ( string MapName )
function ProcessRule ( string NewRule )
function ShowPanel ( bool bShow )
function Timer ( )
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
}
|
Creation time: Wed 7/2/2007 19:16:24.015 - Created with
UnCodeX