GUI2K4.MaplistEditor
- Extends
- FloatingWindow
Core.Object
|
+-- XInterface.GUI
|
+-- XInterface.GUIComponent
|
+-- XInterface.GUIMultiComponent
|
+-- XInterface.GUIPage
|
+-- XInterface.UT2K4GUIPage
|
+-- GUI2K4.PopupPageBase
|
+-- GUI2K4.FloatingWindow
|
+-- GUI2K4.MaplistEditor
Inherited Variables from GUI2K4.FloatingWindow |
BLSizing, bMoveAllowed, bMoving, bResizeHeightAllowed, bResizeWidthAllowed, bResizing, BRSizing, BtSizing, b_ExitButton, DefaultHeight, DefaultLeft, DefaultTop, DefaultWidth, HeaderMouseCursorIndex, LSizing, MaxPageHeight, MaxPageWidth, MinPageHeight, MinPageWidth, RSizing, TLSizing, TRSizing, TSizing, t_WindowTitle, WindowName |
Inherited Functions from GUI2K4.FloatingWindow |
AddSystemMenu, AlignFrame, CheckBounds, FloatingHover, FloatingMousePressed, FloatingMouseRelease, FloatingPreDraw, FloatingRendered, HoveringBottomBorder, HoveringBottomLeft, HoveringLeftBorder, HoveringRightBorder, HoveringTopBorder, HoveringTopLeft, InitComponent, InternalOnCreateComponent, ResizeAllowed, ResizedBoth, ResizedHeight, ResizedWidth, ResolutionChanged, SaveCurrentPosition, SetDefaultPosition, SetFocus, SetMouseCursorIndex, SetPanelPosition, SystemMenuPreDraw, XButtonClicked |
var bool bOnlyShowCustom;
var bool bOnlyShowOfficial;
MaplistEditor
InvalidMaplistClassText Source code
RenameMaplistPageCaption Source code
function bool AddMap ( optional string MapName )
function AddMapOption ( string MapName, string OptionName, optional string Value )
function bool ButtonPreDraw (
Canvas C )
function CreateNewMaplist ( optional bool bCancelled )
function int FindCacheRecordIndex ( string MapName )
event Free ( )
function string GetMapListClass ( )
function string GetMapPrefix ( )
function bool InitGameType ( )
InternalCheckLinkedObj Source code
InternalOnCreateComponent Source code
singular
function bool ModifyMapList (
GUIComponent Sender )
function bool OrigONSMap ( string MapName )
function RefreshMaplistNames ( optional string CurrentMaplist )
singular function ReloadActive ( )
function ReloadAvailable ( )
function bool RemoveMap ( )
function RenameMaplist ( optional bool bCancelled )
function SetupSizingCaption ( )
function StoreMaplists ( )
function UpdateCustomMaplist ( optional string NewName )
defaultproperties
{
Begin Object Class=GUITreeListBox Name=ActiveMaps
bVisibleWhenEmpty=Wahr
OnCreateComponent=ActiveMaps.InternalOnCreateComponent
WinTop=0.108021
WinLeft=0.605861
WinWidth=0.368359
TabOrder=7
End Object
lb_ActiveMaps=GUITreeListBox'GUI2K4.MaplistEditor.ActiveMaps'
Begin Object Class=GUITreeListBox Name=InactiveMaps
bVisibleWhenEmpty=Wahr
bSorted=Wahr
OnCreateComponent=InactiveMaps.InternalOnCreateComponent
WinTop=0.138078
WinLeft=0.113794
WinWidth=0.380394
WinHeight=0.662671
TabOrder=4
End Object
lb_AllMaps=GUITreeListBox'GUI2K4.MaplistEditor.InactiveMaps'
Begin Object Class=GUIButton Name=AddButton
Caption="Add"
Hint="Add the selected maps to your map list"
WinTop=0.852538
WinLeft=0.263743
WinWidth=0.203807
WinHeight=0.056312
TabOrder=6
bScaleToParent=Wahr
bRepeatClick=Wahr
OnClickSound=CS_Up
OnClick=MaplistEditor.ModifyMapList
OnKeyEvent=AddButton.InternalOnKeyEvent
End Object
b_Add=GUIButton'GUI2K4.MaplistEditor.AddButton'
Begin Object Class=GUIButton Name=AddAllButton
Caption="Add All"
Hint="Add all maps to your map list"
WinTop=0.852538
WinLeft=0.045006
WinWidth=0.190232
WinHeight=0.056312
TabOrder=5
bScaleToParent=Wahr
OnClickSound=CS_Up
OnClick=MaplistEditor.ModifyMapList
OnKeyEvent=AddAllButton.InternalOnKeyEvent
End Object
b_AddAll=GUIButton'GUI2K4.MaplistEditor.AddAllButton'
Begin Object Class=GUIButton Name=RemoveButton
Caption="Remove"
AutoSizePadding=(HorzPerc=0.500000)
Hint="Remove the selected maps from your map list"
WinTop=0.898111
WinLeft=0.543747
WinWidth=0.191554
WinHeight=0.056312
TabOrder=10
bScaleToParent=Wahr
bRepeatClick=Wahr
OnClickSound=CS_Down
OnClick=MaplistEditor.ModifyMapList
OnKeyEvent=RemoveButton.InternalOnKeyEvent
End Object
b_Remove=GUIButton'GUI2K4.MaplistEditor.RemoveButton'
Begin Object Class=GUIButton Name=RemoveAllButton
Caption="Remove All"
Hint="Remove all maps from your map list"
WinTop=0.898111
WinLeft=0.772577
WinWidth=0.191554
WinHeight=0.056312
TabOrder=11
bScaleToParent=Wahr
OnClickSound=CS_Down
OnClick=MaplistEditor.ModifyMapList
OnKeyEvent=RemoveAllButton.InternalOnKeyEvent
End Object
b_RemoveAll=GUIButton'GUI2K4.MaplistEditor.RemoveAllButton'
Begin Object Class=GUIButton Name=MoveUpButton
Caption="Up"
Hint="Move this map higher up in the list"
WinTop=0.852538
WinLeft=0.772577
WinWidth=0.191554
WinHeight=0.056312
TabOrder=9
bScaleToParent=Wahr
bRepeatClick=Wahr
OnClickSound=CS_Up
OnClick=MaplistEditor.ModifyMapList
OnKeyEvent=MoveUpButton.InternalOnKeyEvent
End Object
b_MoveUp=GUIButton'GUI2K4.MaplistEditor.MoveUpButton'
Begin Object Class=GUIButton Name=MoveDownButton
Caption="Down"
Hint="Move this map lower down in the list"
WinTop=0.852538
WinLeft=0.543747
WinWidth=0.191554
WinHeight=0.056312
TabOrder=8
bScaleToParent=Wahr
bRepeatClick=Wahr
OnClickSound=CS_Down
OnClick=MaplistEditor.ModifyMapList
OnKeyEvent=MoveDownButton.InternalOnKeyEvent
End Object
b_MoveDown=GUIButton'GUI2K4.MaplistEditor.MoveDownButton'
Begin Object Class=GUIButton Name=NewMaplistButton
Caption="NEW"
bAutoSize=Wahr
Hint="Create a new custom maplist"
WinTop=0.102551
WinLeft=0.060671
WinWidth=0.123020
WinHeight=0.056312
TabOrder=1
OnClick=MaplistEditor.CustomMaplistClick
OnKeyEvent=NewMaplistButton.InternalOnKeyEvent
End Object
b_New=GUIButton'GUI2K4.MaplistEditor.NewMaplistButton'
Begin Object Class=GUIButton Name=DeleteMaplistButton
Caption="DELETE"
bAutoSize=Wahr
Hint="Delete the currently selected maplist. If this is the last maplist for this gametype, a new default maplist will be generated."
WinTop=0.102551
WinLeft=0.318024
WinWidth=0.123020
WinHeight=0.056312
TabOrder=3
OnPreDraw=MaplistEditor.ButtonPreDraw
OnClick=MaplistEditor.CustomMaplistClick
OnKeyEvent=DeleteMaplistButton.InternalOnKeyEvent
End Object
b_Delete=GUIButton'GUI2K4.MaplistEditor.DeleteMaplistButton'
Begin Object Class=GUIButton Name=RenameMaplistButton
Caption="RENAME"
bAutoSize=Wahr
Hint="Rename the currently selected maplist"
WinTop=0.102551
WinLeft=0.189348
WinWidth=0.123020
WinHeight=0.056312
TabOrder=2
OnClick=MaplistEditor.CustomMaplistClick
OnKeyEvent=RenameMaplistButton.InternalOnKeyEvent
End Object
b_Rename=GUIButton'GUI2K4.MaplistEditor.RenameMaplistButton'
Begin Object Class=GUIComboBox Name=SelectMaplistCombo
bReadOnly=Wahr
Hint="Load a existing custom maplist"
WinTop=0.109808
WinLeft=0.471550
WinWidth=0.441384
WinHeight=0.045083
TabOrder=0
OnChange=MaplistEditor.MaplistSelectChange
OnKeyEvent=SelectMaplistCombo.InternalOnKeyEvent
End Object
co_Maplist=GUIComboBox'GUI2K4.MaplistEditor.SelectMaplistCombo'
Begin Object Class=AltSectionBackground Name=MapListSectionBackground
WinTop=0.055162
WinLeft=0.023646
WinWidth=0.943100
WinHeight=0.190595
OnPreDraw=MapListSectionBackground.InternalPreDraw
End Object
sb_MapList=AltSectionBackground'GUI2K4.MaplistEditor.MapListSectionBackground'
Begin Object Class=GUISectionBackground Name=InactiveBackground
bFillClient=Wahr
Caption="Inactive Maps"
WinTop=0.261835
WinLeft=0.034914
WinWidth=0.465432
WinHeight=0.564917
bBoundToParent=Wahr
bScaleToParent=Wahr
OnPreDraw=InactiveBackground.InternalPreDraw
End Object
sb_Avail=GUISectionBackground'GUI2K4.MaplistEditor.InactiveBackground'
Begin Object Class=GUISectionBackground Name=ActiveBackground
bFillClient=Wahr
Caption="Active Maps"
WinTop=0.261835
WinLeft=0.511243
WinWidth=0.465432
WinHeight=0.564917
bBoundToParent=Wahr
bScaleToParent=Wahr
OnPreDraw=ActiveBackground.InternalPreDraw
End Object
sb_Active=GUISectionBackground'GUI2K4.MaplistEditor.ActiveBackground'
InvalidMaplistClassText="Could not create new custom maplist %name% because %game% has an invalid maplist class: '%mapclass%'!"
NewMaplistPageCaption="Create custom maplist"
MaplistEditCaption="Maplist name: "
RenameMaplistPageCaption="Rename maplist"
LinkText="Link Setup"
AutoSelectText="Random"
BonusVehicles=" (Bonus Vehicles)"
WindowName="Maplist Configuration"
MinPageWidth=0.930313
MinPageHeight=0.931305
bResizeWidthAllowed=Falsch
bResizeHeightAllowed=Falsch
DefaultLeft=0.038125
DefaultTop=0.021680
DefaultWidth=0.930313
DefaultHeight=0.931305
bCaptureInput=Wahr
InactiveFadeColor=(B=80,G=80,R=80)
WinTop=0.021680
WinLeft=0.038125
WinWidth=0.930313
WinHeight=0.931305
}
|
Creation time: Mo 16.4.2007 11:20:23.984 - Created with
UnCodeX