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

ROInterface.ROMaplistEditor


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113
00114
00115
00116
00117
00118
00119
00120
00121
00122
00123
00124
00125
00126
00127
00128
00129
00130
00131
00132
00133
00134
00135
00136
00137
00138
00139
00140
00141
00142
00143
00144
00145
00146
00147
00148
00149
00150
00151
00152
00153
00154
00155
00156
00157
00158
00159
00160
00161
00162
00163
00164
00165
00166
00167
00168
00169
00170
00171
00172
00173
00174
00175
00176
00177
00178
00179
00180
00181
00182
00183
00184
00185
00186
00187
00188
00189
00190
00191
00192
00193
00194
00195
00196
00197
00198
00199
00200
00201
00202
00203
00204
00205
00206
00207
00208
00209
00210
00211
00212
00213
00214
00215
00216
00217
00218
00219
00220
00221
00222
00223
00224
00225
00226
//-----------------------------------------------------------
// created by emh, 11/24/05
//-----------------------------------------------------------
class ROMaplistEditor extends MaplistEditor;

var automated GUISectionBackground  sb_container;

function InitComponent(GUIController MyController, GUIComponent MyOwner)
{
    Super.InitComponent(MyController, MyOwner);

    sb_MapList.ManageComponent(co_Maplist);
    sb_MapList.ManageComponent(sb_container);
    sb_container.ManageComponent(b_Delete);
    sb_container.ManageComponent(b_Rename);
    sb_container.ManageComponent(b_New);


}

// wtf is this bollocks? I want my controls statically aligned!
function bool ButtonPreDraw(Canvas C)
{
    return false;
}

defaultproperties
{
     Begin Object Class=ROGUIContainerNoSkinAlt Name=subcontainer
         NumColumns=3
         WinHeight=1.000000
         TabOrder=1
         OnPreDraw=subcontainer.InternalPreDraw
     End Object
     sb_container=ROGUIContainerNoSkinAlt'ROInterface.ROMaplistEditor.subcontainer'

     Begin Object Class=GUIButton Name=AddButton
         Caption="Add"
         Hint="Add the selected maps to your map list"
         WinTop=0.300000
         WinLeft=0.425000
         WinWidth=0.145000
         WinHeight=0.050000
         TabOrder=6
         bScaleToParent=True
         bRepeatClick=True
         OnClickSound=CS_Up
         OnClick=ROMaplistEditor.ModifyMapList
         OnKeyEvent=AddButton.InternalOnKeyEvent
     End Object
     b_Add=GUIButton'ROInterface.ROMaplistEditor.AddButton'

     Begin Object Class=GUIButton Name=AddAllButton
         Caption="Add All"
         Hint="Add all maps to your map list"
         WinTop=0.360000
         WinLeft=0.425000
         WinWidth=0.145000
         WinHeight=0.050000
         TabOrder=5
         bScaleToParent=True
         OnClickSound=CS_Up
         OnClick=ROMaplistEditor.ModifyMapList
         OnKeyEvent=AddAllButton.InternalOnKeyEvent
     End Object
     b_AddAll=GUIButton'ROInterface.ROMaplistEditor.AddAllButton'

     Begin Object Class=GUIButton Name=RemoveButton
         Caption="Remove"
         AutoSizePadding=(HorzPerc=0.500000)
         Hint="Remove the selected maps from your map list"
         WinTop=0.700000
         WinLeft=0.425000
         WinWidth=0.145000
         WinHeight=0.050000
         TabOrder=10
         bScaleToParent=True
         bRepeatClick=True
         OnClickSound=CS_Down
         OnClick=ROMaplistEditor.ModifyMapList
         OnKeyEvent=RemoveButton.InternalOnKeyEvent
     End Object
     b_Remove=GUIButton'ROInterface.ROMaplistEditor.RemoveButton'

     Begin Object Class=GUIButton Name=RemoveAllButton
         Caption="Remove All"
         Hint="Remove all maps from your map list"
         WinTop=0.760000
         WinLeft=0.425000
         WinWidth=0.145000
         WinHeight=0.050000
         TabOrder=11
         bScaleToParent=True
         OnClickSound=CS_Down
         OnClick=ROMaplistEditor.ModifyMapList
         OnKeyEvent=RemoveAllButton.InternalOnKeyEvent
     End Object
     b_RemoveAll=GUIButton'ROInterface.ROMaplistEditor.RemoveAllButton'

     Begin Object Class=GUIButton Name=MoveUpButton
         Caption="Up"
         Hint="Move this map higher up in the list"
         WinTop=0.500000
         WinLeft=0.425000
         WinWidth=0.145000
         WinHeight=0.050000
         TabOrder=9
         bScaleToParent=True
         bRepeatClick=True
         OnClickSound=CS_Up
         OnClick=ROMaplistEditor.ModifyMapList
         OnKeyEvent=MoveUpButton.InternalOnKeyEvent
     End Object
     b_MoveUp=GUIButton'ROInterface.ROMaplistEditor.MoveUpButton'

     Begin Object Class=GUIButton Name=MoveDownButton
         Caption="Down"
         Hint="Move this map lower down in the list"
         WinTop=0.560000
         WinLeft=0.425000
         WinWidth=0.145000
         WinHeight=0.050000
         TabOrder=8
         bScaleToParent=True
         bRepeatClick=True
         OnClickSound=CS_Down
         OnClick=ROMaplistEditor.ModifyMapList
         OnKeyEvent=MoveDownButton.InternalOnKeyEvent
     End Object
     b_MoveDown=GUIButton'ROInterface.ROMaplistEditor.MoveDownButton'

     Begin Object Class=GUIButton Name=NewMaplistButton
         Caption="New"
         Hint="Create a new custom maplist"
         WinLeft=0.600000
         WinWidth=0.100000
         WinHeight=0.050000
         TabOrder=1
         OnClick=ROMaplistEditor.CustomMaplistClick
         OnKeyEvent=NewMaplistButton.InternalOnKeyEvent
     End Object
     b_New=GUIButton'ROInterface.ROMaplistEditor.NewMaplistButton'

     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."
         WinLeft=0.900000
         WinWidth=0.100000
         WinHeight=0.050000
         TabOrder=3
         OnPreDraw=ROMaplistEditor.ButtonPreDraw
         OnClick=ROMaplistEditor.CustomMaplistClick
         OnKeyEvent=DeleteMaplistButton.InternalOnKeyEvent
     End Object
     b_Delete=GUIButton'ROInterface.ROMaplistEditor.DeleteMaplistButton'

     Begin Object Class=GUIButton Name=RenameMaplistButton
         Caption="Rename"
         Hint="Rename the currently selected maplist"
         WinLeft=0.750000
         WinWidth=0.100000
         WinHeight=0.050000
         TabOrder=2
         OnClick=ROMaplistEditor.CustomMaplistClick
         OnKeyEvent=RenameMaplistButton.InternalOnKeyEvent
     End Object
     b_Rename=GUIButton'ROInterface.ROMaplistEditor.RenameMaplistButton'

     Begin Object Class=GUIComboBox Name=SelectMaplistCombo
         bReadOnly=True
         Hint="Load a existing custom maplist"
         WinWidth=0.550000
         WinHeight=0.050000
         TabOrder=0
         OnChange=ROMaplistEditor.MaplistSelectChange
         OnKeyEvent=SelectMaplistCombo.InternalOnKeyEvent
     End Object
     co_Maplist=GUIComboBox'ROInterface.ROMaplistEditor.SelectMaplistCombo'

     Begin Object Class=GUISectionBackground Name=MapListSectionBackground
         Caption="Saved Map Lists"
         NumColumns=2
         WinTop=0.055162
         WinLeft=0.023646
         WinWidth=0.943100
         WinHeight=0.170000
         OnPreDraw=MapListSectionBackground.InternalPreDraw
     End Object
     sb_MapList=GUISectionBackground'ROInterface.ROMaplistEditor.MapListSectionBackground'

     Begin Object Class=GUISectionBackground Name=AvailBackground
         bFillClient=True
         Caption="Available Maps"
         LeftPadding=0.002500
         RightPadding=0.002500
         TopPadding=0.002500
         BottomPadding=0.002500
         WinTop=0.235260
         WinLeft=0.025156
         WinWidth=0.380859
         WinHeight=0.716073
         bBoundToParent=True
         bScaleToParent=True
         OnPreDraw=AvailBackground.InternalPreDraw
     End Object
     sb_Avail=GUISectionBackground'ROInterface.ROMaplistEditor.AvailBackground'

     Begin Object Class=GUISectionBackground Name=ActiveBackground
         bFillClient=True
         Caption="Selected Maps"
         LeftPadding=0.002500
         RightPadding=0.002500
         TopPadding=0.002500
         BottomPadding=0.002500
         WinTop=0.235260
         WinLeft=0.586876
         WinWidth=0.380859
         WinHeight=0.716073
         bBoundToParent=True
         bScaleToParent=True
         OnPreDraw=ActiveBackground.InternalPreDraw
     End Object
     sb_Active=GUISectionBackground'ROInterface.ROMaplistEditor.ActiveBackground'

}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Fri 13-10-2023 03:17:28.000 - Creation time: Fri 13-10-2023 03:19:07.142 - Created with UnCodeX