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=Wahr
Caption="Server Rules"
WinTop=0.020438
WinLeft=0.023625
WinWidth=0.944875
WinHeight=0.455783
bBoundToParent=Wahr
bScaleToParent=Wahr
OnPreDraw=sbRules.InternalPreDraw
End Object
sb_Rules=AltSectionBackground'GUI2K4.UT2K4Tab_MidGameRulesCombo.sbRules'
Begin Object Class=AltSectionBackground Name=sbMaps
bFillClient=Wahr
Caption="Map Rotation"
WinTop=0.482921
WinLeft=0.055125
WinWidth=0.881875
WinHeight=0.436125
bBoundToParent=Wahr
bScaleToParent=Wahr
OnPreDraw=sbMaps.InternalPreDraw
End Object
sb_Maps=AltSectionBackground'GUI2K4.UT2K4Tab_MidGameRulesCombo.sbMaps'
Begin Object Class=GUIListBox Name=ComboMaplistBox
SelectedStyleName="BrowserListSelection"
bVisibleWhenEmpty=Wahr
OnCreateComponent=ComboMaplistBox.InternalOnCreateComponent
StyleName="ServerBrowserGrid"
WinTop=0.045905
WinLeft=0.517829
WinWidth=0.478167
WinHeight=0.922516
bBoundToParent=Wahr
bScaleToParent=Wahr
End Object
lb_Maps=GUIListBox'GUI2K4.UT2K4Tab_MidGameRulesCombo.ComboMaplistBox'
Begin Object Class=GUIMultiColumnListBox Name=ComboRulesListbox
bDisplayHeader=Falsch
HeaderColumnPerc(0)=0.600000
HeaderColumnPerc(1)=0.400000
SelectedStyleName="BrowserListSelection"
bVisibleWhenEmpty=Wahr
OnCreateComponent=ComboRulesListbox.InternalOnCreateComponent
StyleName="ServerBrowserGrid"
WinTop=0.045905
WinLeft=0.008213
WinWidth=0.478167
WinHeight=0.922516
bBoundToParent=Wahr
bScaleToParent=Wahr
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: Mo 16.4.2007 11:20:35.687 - Created with
UnCodeX