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
{
	bCaptureInput=True







	Begin Object Class=GUISectionBackground Name=ActiveBackground
		Caption="Active Maps"
		bBoundToParent=True
		bScaleToParent=True
		WinWidth=0.465432
		WinHeight=0.564917
		WinTop=0.261835
		WinLeft=0.511243
		BottomPadding=0.0
		bFillClient=True
	End Object
	sb_Active=ActiveBackground


	Begin Object class=AltSectionBackground name=MapListSectionBackground
		WinWidth=0.943100
		WinHeight=0.190595
		WinLeft=0.023646
		WinTop=0.055162
	End Object
	sb_MapList=MapListSectionBackground


	Begin Object Class=GUISectionBackground Name=InactiveBackground
	    Caption="Inactive Maps"
		WinWidth=0.465432
		WinHeight=0.564917
		WinLeft=0.034914
		WinTop=0.261835
	    bBoundToParent=True
	    bScaleToParent=True
	    BottomPadding=0.0
	    bFillClient=True
	End Object
	sb_Avail=InactiveBackground


	Begin Object Class=GUIComboBox Name=SelectMaplistCombo
		Hint="Load a existing custom maplist"
		OnChange=MaplistSelectChange
		WinWidth=0.441384
		WinHeight=0.045083
		WinLeft=0.471550
		WinTop=0.109808
		TabOrder=0
		bReadOnly=True
	End Object
    co_Maplist=SelectMaplistCombo


	Begin Object Class=GUIButton Name=NewMaplistButton
		Caption="NEW"
		Hint="Create a new custom maplist"
		OnClick=CustomMaplistClick
		WinWidth=0.123020
		WinHeight=0.056312
		WinLeft=0.060671
		WinTop=0.102551
		TabOrder=1
		bAutoSize=True
	End Object
    b_New=NewMaplistButton


	Begin Object Class=GUIButton Name=RenameMaplistButton
		Caption="RENAME"
		Hint="Rename the currently selected maplist"
		OnClick=CustomMaplistClick
		WinWidth=0.123020
		WinHeight=0.056312
		WinLeft=0.189348
		WinTop=0.102551
		TabOrder=2
		bAutoSize=True
	End Object
    b_Rename=RenameMaplistButton


	Begin Object Class=GUIButton Name=DeleteMaplistButton
		Caption="DELETE"
		Hint="Delete the currently selected maplist.  If this is the last maplist for this gametype, a new default maplist will be generated."
		OnClick=CustomMaplistClick
		WinWidth=0.123020
		WinHeight=0.056312
		WinLeft=0.318024
		WinTop=0.102551
		TabOrder=3
		bAutoSize=True
		OnPreDraw=ButtonPreDraw
	End Object
    b_Delete=DeleteMaplistButton


	Begin Object Class=GUITreeListBox Name=InactiveMaps
		WinWidth=0.380394
		WinHeight=0.662671
		WinLeft=0.113794
		WinTop=0.138078
		bVisibleWhenEmpty=true
		bSorted=True
		TabOrder=4
	End Object
	lb_AllMaps=InactiveMaps


	Begin Object Class=GUIButton Name=AddAllButton
		Caption="Add All"
		Hint="Add all maps to your map list"
		WinWidth=0.190232
		WinLeft=0.045006
		WinTop=0.852538
		WinHeight=0.056312
		bScaleToParent=true
		OnClick=ModifyMapList
		OnClickSound=CS_Up
		TabOrder=5
	End Object
	b_AddAll=AddAllButton


	Begin Object Class=GUIButton Name=AddButton
		Caption="Add"
		Hint="Add the selected maps to your map list"
		WinWidth=0.203807
		WinLeft=0.263743
		WinTop=0.852538
		WinHeight=0.056312
		bScaleToParent=true
		OnClick=ModifyMapList
		OnClickSound=CS_Up
		TabOrder=6
		bRepeatClick=True
	End Object
	b_Add=AddButton


	Begin Object Class=GUITreeListBox Name=ActiveMaps
		WinWidth=0.368359
		WinLeft=0.605861
		WinTop=0.108021
		bVisibleWhenEmpty=true
		TabOrder=7
	End Object
	lb_ActiveMaps=ActiveMaps


	Begin Object Class=GUIButton Name=MoveDownButton
		Caption="Down"
		Hint="Move this map lower down in the list"
		WinWidth=0.191554
		WinLeft=0.543747
		WinTop=0.852538
		WinHeight=0.056312
		OnClick=ModifyMapList
		bScaleToParent=true
		OnClickSound=CS_Down
		TabOrder=8
		bRepeatClick=True
	End Object
	b_MoveDown=MoveDownButton


	Begin Object Class=GUIButton Name=MoveUpButton
		Caption="Up"
		Hint="Move this map higher up in the list"
		WinWidth=0.191554
		WinLeft=0.772577
		WinHeight=0.056312
		bScaleToParent=true
		WinTop=0.852538
		OnClick=ModifyMapList
		OnClickSound=CS_Up
		TabOrder=9
		bRepeatClick=True
	End Object
	b_MoveUp=MoveUpButton


	Begin Object Class=GUIButton Name=RemoveButton
		Caption="Remove"
		Hint="Remove the selected maps from your map list"
		WinWidth=0.191554
		WinLeft=0.543747
		WinTop=0.898111
		WinHeight=0.056312
		OnClick=ModifyMapList
		OnClickSound=CS_Down
		TabOrder=10
		AutoSizePadding=(HorzPerc=0.5,VertPerc=0.0)
		bScaleToParent=true
		bRepeatClick=True
	End Object
	b_Remove=RemoveButton


	Begin Object Class=GUIButton Name=RemoveAllButton
		Caption="Remove All"
		Hint="Remove all maps from your map list"
		WinWidth=0.191554
		WinLeft=0.772577
		WinTop=0.898111
		WinHeight=0.056312
		OnClick=ModifyMapList
		OnClickSound=CS_Down
		TabOrder=11
		bScaleToParent=true
	End Object
	b_RemoveAll=RemoveAllButton


    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"
	WindowName="Maplist Configuration"


	AutoSelectText="Random"
	LinkText="Link Setup"


	InactiveFadeColor=(R=80,G=80,B=80,A=255)


	DefaultWidth=0.930313
	DefaultHeight=0.931305
	DefaultLeft=0.038125
	DefaultTop=0.021680



	WinWidth=0.930313
	WinHeight=0.931305
	WinLeft=0.038125
	WinTop=0.021680


	MinPageWidth=0.930313
	MinPageHeight=0.931305
	bResizeWidthAllowed=False
	bResizeHeightAllowed=False


	BonusVehicles=" (Bonus Vehicles)"


}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Do 14.8.2014 09:58:13.702 - Created with UnCodeX