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

GUI2K4.MaplistEditor

Extends
FloatingWindow

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPage
            |   
            +-- XInterface.UT2K4GUIPage
               |   
               +-- GUI2K4.PopupPageBase
                  |   
                  +-- GUI2K4.FloatingWindow
                     |   
                     +-- GUI2K4.MaplistEditor

Variables Summary
boolbOnlyShowCustom
boolbOnlyShowOfficial
GUIButtonb_Add
GUIButtonb_AddAll
GUIButtonb_Delete
GUIButtonb_MoveDown
GUIButtonb_MoveUp
GUIButtonb_New
GUIButtonb_Remove
GUIButtonb_RemoveAll
GUIButtonb_Rename
GUIComboBoxco_Maplist
GUIEditBoxed_MapName
GUITreeListBoxlb_ActiveMaps
GUITreeListBoxlb_AllMaps
UT2K4Tab_MainSPMainPanel
GUISectionBackgroundsb_Active
GUISectionBackgroundsb_Avail
GUISectionBackgroundsb_MapList
MaplistEditor
stringAutoSelectText
stringBonusVehicles
CacheManager.GameRecordCurrentGameType
intGameIndex
stringInvalidMaplistClassText
stringLinkText
GUITreeListli_Active
GUITreeListli_Avail
MaplistManagerMapHandler
stringMaplistEditCaption
array<MaplistRecord.MapItem>Maps
stringNewMaplistPageCaption
intRecordIndex
stringRenameMaplistPageCaption
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 Variables from GUI2K4.PopupPageBase
bClosing, bFading, CurFade, CurFadeTime, DesiredFade, FadeTime, i_FrameBG

Functions Summary
functionbool AddDragDrop (GUIComponent Sender)
functionbool AddMap (optional string MapName)
function AddMapOption (string MapName, string OptionName, optional string Value)
functionbool ButtonPreDraw (Canvas C)
event Closed (GUIComponent Sender, bool bCancelled)
function CreateNewMaplist (optional bool bCancelled)
functionbool CustomMaplistClick (GUIComponent Sender)
functionint FindCacheRecordIndex (string MapName)
event Free ()
functionstring GetMapListClass ()
functionstring GetMapPrefix ()
function InitComponent (GUIController MyController, GUIComponent MyOwner)
functionbool InitGameType ()
function Initialize (MaplistManager InHandler)
function InternalCheckLinkedObj (GUIListBase List)
function InternalOnCreateComponent (GUIComponent NewComp, GUIComponent Sender)
function MaplistSelectChange (GUIComponent Sender)
functionbool ModifyMapList (GUIComponent Sender)
functionbool OrigONSMap (string MapName)
function RefreshMaplistNames (optional string CurrentMaplist)
function ReloadActive ()
function ReloadAvailable ()
functionbool RemoveDragDrop (GUIComponent Sender)
functionbool RemoveMap ()
function RenameMaplist (optional bool bCancelled)
function SetupSizingCaption ()
function StoreMaplists ()
function UpdateCustomMaplist (optional string NewName)
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
Inherited Functions from GUI2K4.PopupPageBase
FadeIn, FadeOut, InternalOnPreDraw, Opened


Variables Detail

bOnlyShowCustom Source code

var bool bOnlyShowCustom;

bOnlyShowOfficial Source code

var bool bOnlyShowOfficial;

b_Add Source code

var automated GUIButton b_Add;

b_AddAll Source code

var automated GUIButton b_AddAll;

b_Delete Source code

var automated GUIButton b_Delete;

b_MoveDown Source code

var automated GUIButton b_MoveDown;

b_MoveUp Source code

var automated GUIButton b_MoveUp;

b_New Source code

var automated GUIButton b_New;

b_Remove Source code

var automated GUIButton b_Remove;

b_RemoveAll Source code

var automated GUIButton b_RemoveAll;

b_Rename Source code

var automated GUIButton b_Rename;

co_Maplist Source code

var automated GUIComboBox co_Maplist;

ed_MapName Source code

var automated GUIEditBox ed_MapName;

lb_ActiveMaps Source code

var automated GUITreeListBox lb_ActiveMaps;

lb_AllMaps Source code

var automated GUITreeListBox lb_AllMaps;

MainPanel Source code

var UT2K4Tab_MainSP MainPanel;

sb_Active Source code

var automated GUISectionBackground sb_Active;

sb_Avail Source code

var automated GUISectionBackground sb_Avail;

sb_MapList Source code

var automated GUISectionBackground sb_MapList;

MaplistEditor

AutoSelectText Source code

var(MaplistEditor) localized string AutoSelectText;

BonusVehicles Source code

var(MaplistEditor) localized string BonusVehicles;

CurrentGameType Source code

var(MaplistEditor) editconst noexport CacheManager.GameRecord CurrentGameType;

GameIndex Source code

var(MaplistEditor) editconst noexport int GameIndex;

InvalidMaplistClassText Source code

var(MaplistEditor) localized string InvalidMaplistClassText;

LinkText Source code

var(MaplistEditor) localized string LinkText;

li_Active Source code

var(MaplistEditor) editconst noexport GUITreeList li_Active;

li_Avail Source code

var(MaplistEditor) editconst noexport GUITreeList li_Avail;

MapHandler Source code

var(MaplistEditor) editconst noexport MaplistManager MapHandler;

MaplistEditCaption Source code

var(MaplistEditor) localized string MaplistEditCaption;

Maps Source code

var(MaplistEditor) editconst noexport array<MaplistRecord.MapItem> Maps;

NewMaplistPageCaption Source code

var(MaplistEditor) localized string NewMaplistPageCaption;

RecordIndex Source code

var(MaplistEditor) editconst noexport int RecordIndex;

RenameMaplistPageCaption Source code

var(MaplistEditor) localized string RenameMaplistPageCaption;


Functions Detail

AddDragDrop Source code

function bool AddDragDrop ( GUIComponent Sender )

AddMap Source code

function bool AddMap ( optional string MapName )

AddMapOption Source code

function AddMapOption ( string MapName, string OptionName, optional string Value )

ButtonPreDraw Source code

function bool ButtonPreDraw ( Canvas C )

Closed Source code

event Closed ( GUIComponent Sender, bool bCancelled )

CreateNewMaplist Source code

function CreateNewMaplist ( optional bool bCancelled )

CustomMaplistClick Source code

function bool CustomMaplistClick ( GUIComponent Sender )

FindCacheRecordIndex Source code

function int FindCacheRecordIndex ( string MapName )

Free Source code

event Free ( )

GetMapListClass Source code

function string GetMapListClass ( )

GetMapPrefix Source code

function string GetMapPrefix ( )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner )

InitGameType Source code

function bool InitGameType ( )

Initialize Source code

function Initialize ( MaplistManager InHandler )

InternalCheckLinkedObj Source code

function InternalCheckLinkedObj ( GUIListBase List )

InternalOnCreateComponent Source code

function InternalOnCreateComponent ( GUIComponent NewComp, GUIComponent Sender )

MaplistSelectChange Source code

function MaplistSelectChange ( GUIComponent Sender )

ModifyMapList Source code

singular function bool ModifyMapList ( GUIComponent Sender )

OrigONSMap Source code

function bool OrigONSMap ( string MapName )

RefreshMaplistNames Source code

function RefreshMaplistNames ( optional string CurrentMaplist )

ReloadActive Source code

singular function ReloadActive ( )

ReloadAvailable Source code

function ReloadAvailable ( )

RemoveDragDrop Source code

function bool RemoveDragDrop ( GUIComponent Sender )

RemoveMap Source code

function bool RemoveMap ( )

RenameMaplist Source code

function RenameMaplist ( optional bool bCancelled )

SetupSizingCaption Source code

function SetupSizingCaption ( )

StoreMaplists Source code

function StoreMaplists ( )

UpdateCustomMaplist Source code

function UpdateCustomMaplist ( optional string NewName )


Defaultproperties

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
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Mo 16.4.2007 11:20:23.984 - Created with UnCodeX