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

GUI2K4.UT2K4Tab_MainSP

Extends
UT2K4Tab_MainBase

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPanel
            |   
            +-- XInterface.GUITabPanel
               |   
               +-- XInterface.UT2K4TabPanel
                  |   
                  +-- GUI2K4.UT2K4GameTabBase
                     |   
                     +-- GUI2K4.UT2K4Tab_MainBase
                        |   
                        +-- GUI2K4.UT2K4Tab_MainSP

Variables Summary
AltSectionBackgroundasb_Scroll
moButtonb_Maplist
moButtonb_Tutorial
GUIImagei_DescBack
GUIImagei_MapPreview
stringLastSelectedMap
GUIScrollTextBoxlb_MapDesc
GUITreeListBoxlb_Maps
GUILabell_MapAuthor
GUILabell_MapPlayers
GUILabell_NoPreview
GUISectionBackgroundsb_Options
GUISectionBackgroundsb_Preview
GUISectionBackgroundsb_Selection
UT2K4Tab_MainSP
stringBonusVehicles
stringBonusVehiclesMsg
GUITreeListli_Maps
stringMapCaption
Inherited Variables from GUI2K4.UT2K4Tab_MainBase
AuthorText, AutoSelectText, bOnlyShowCustom, bOnlyShowOfficial, b_Primary, b_Secondary, CacheMaps, ch_OfficialMapsOnly, ClearText, CurrentGameType, DefaultText, FilterText, LinkText, MapHandler, MaplistEditorMenu, Maps, MessageNoInfo, PlayerText, TutorialMaps
Inherited Variables from GUI2K4.UT2K4GameTabBase
p_Anchor

Functions Summary
function CheckGameTutorial ()))
functionint FindCacheRecordIndex (string MapName))
functionstring GetMapURL (GUITreeList List, int Index ))
functionbool HandleContextSelect (GUIContextMenu Sender, int Index))
function InitComponent (GUIController MyController, GUIComponent MyOwner))
function InitGameType ()))
function InitMaps (optional string MapPrefix ))
function InternalOnCreateComponent (GUIComponent NewComp, GUIComponent Sender))
function MapListChange (GUIComponent Sender))
function MaplistConfigClick (GUIComponent Sender ))
functionbool MapListDblClick (GUIComponent Sender))
functionbool OrigONSMap (string MapName))
functionstring Play ()))
function ReadMapInfo (string MapName))
function SetGameTypeCaption ()))
event SetVisibility (bool bIsVisible ))
function TutorialClicked (GUIComponent Sender ))
function UpdateScreenshot (int Index))
Inherited Functions from GUI2K4.UT2K4Tab_MainBase
ChangeMapFilter, GetGameClass, GetIsTeamGame, GetMapListClass, GetMapName, GetMapPrefix, GetMapURL, GetRulesClass, HandleContextOpen, InitComponent, InitGameType, InitMapHandler, InitMaps
Inherited Functions from GUI2K4.UT2K4GameTabBase
InitComponent, Play, SetFooterCaption


Variables Detail

asb_Scroll Source code

var automated AltSectionBackground asb_Scroll;

b_Maplist Source code

var automated moButton b_Maplist;

b_Tutorial Source code

var automated moButton b_Tutorial;

i_DescBack Source code

var automated GUIImage i_DescBack;

i_MapPreview Source code

var automated GUIImage i_MapPreview;

LastSelectedMap Source code

var config string LastSelectedMap;

lb_MapDesc Source code

var automated GUIScrollTextBox lb_MapDesc;

lb_Maps Source code

var automated GUITreeListBox lb_Maps;

l_MapAuthor Source code

var automated GUILabel l_MapAuthor;

l_MapPlayers Source code

var automated GUILabel l_MapPlayers;

l_NoPreview Source code

var automated GUILabel l_NoPreview;

sb_Options Source code

var automated GUISectionBackground sb_Options;

sb_Preview Source code

var automated GUISectionBackground sb_Preview;

sb_Selection Source code

var automated GUISectionBackground sb_Selection;

UT2K4Tab_MainSP

BonusVehicles Source code

var(UT2K4Tab_MainSP) localized string BonusVehicles;

BonusVehiclesMsg Source code

var(UT2K4Tab_MainSP) localized string BonusVehiclesMsg;

li_Maps Source code

var(UT2K4Tab_MainSP) editconst noexport GUITreeList li_Maps;

MapCaption Source code

var(UT2K4Tab_MainSP) localized string MapCaption;


Functions Detail

CheckGameTutorial Source code

function CheckGameTutorial ( ) )

FindCacheRecordIndex Source code

function int FindCacheRecordIndex ( string MapName) )

GetMapURL Source code

function string GetMapURL ( GUITreeList List, int Index ) )

HandleContextSelect Source code

function bool HandleContextSelect ( GUIContextMenu Sender, int Index) )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner) )

InitGameType Source code

function InitGameType ( ) )

InitMaps Source code

function InitMaps ( optional string MapPrefix ) )

InternalOnCreateComponent Source code

function InternalOnCreateComponent ( GUIComponent NewComp, GUIComponent Sender) )

MapListChange Source code

function MapListChange ( GUIComponent Sender) )

MaplistConfigClick Source code

function MaplistConfigClick ( GUIComponent Sender ) )

MapListDblClick Source code

function bool MapListDblClick ( GUIComponent Sender) )

OrigONSMap Source code

function bool OrigONSMap ( string MapName) )

Play Source code

function string Play ( ) )

ReadMapInfo Source code

function ReadMapInfo ( string MapName) )

SetGameTypeCaption Source code

function SetGameTypeCaption ( ) )

SetVisibility Source code

event SetVisibility ( bool bIsVisible ) )

TutorialClicked Source code

function TutorialClicked ( GUIComponent Sender ) )

UpdateScreenshot Source code

function UpdateScreenshot ( int Index) )


Defaultproperties

defaultproperties
{
     Begin Object Class=GUISectionBackground Name=SelectionGroup
         bFillClient=True
         Caption="Map Selection"
         WinTop=0.018125
         WinLeft=0.016993
         WinWidth=0.482149
         WinHeight=0.603330
         OnPreDraw=SelectionGroup.InternalPreDraw
     End Object
     sb_Selection=GUISectionBackground'GUI2K4.UT2K4Tab_MainSP.SelectionGroup'


     Begin Object Class=GUISectionBackground Name=PreviewGroup
         bFillClient=True
         Caption="Preview"
         WinTop=0.018125
         WinLeft=0.515743
         WinWidth=0.470899
         WinHeight=0.974305
         OnPreDraw=PreviewGroup.InternalPreDraw
     End Object
     sb_Preview=GUISectionBackground'GUI2K4.UT2K4Tab_MainSP.PreviewGroup'


     Begin Object Class=GUISectionBackground Name=OptionsGroup
         Caption="Options"
         BottomPadding=0.070000
         WinTop=0.642580
         WinLeft=0.018008
         WinWidth=0.482149
         WinHeight=0.351772
         OnPreDraw=OptionsGroup.InternalPreDraw
     End Object
     sb_Options=GUISectionBackground'GUI2K4.UT2K4Tab_MainSP.OptionsGroup'


     Begin Object Class=AltSectionBackground Name=ScrollSection
         bFillClient=True
         Caption="Map Desc"
         WinTop=0.525219
         WinLeft=0.546118
         WinWidth=0.409888
         WinHeight=0.437814
         OnPreDraw=ScrollSection.InternalPreDraw
     End Object
     asb_Scroll=AltSectionBackground'GUI2K4.UT2K4Tab_MainSP.ScrollSection'


     Begin Object Class=GUIScrollTextBox Name=MapDescription
         CharDelay=0.002500
         EOLDelay=0.500000
         OnCreateComponent=MapDescription.InternalOnCreateComponent
         WinTop=0.628421
         WinLeft=0.561065
         WinWidth=0.379993
         WinHeight=0.268410
         bTabStop=False
         bNeverFocus=True
     End Object
     lb_MapDesc=GUIScrollTextBox'GUI2K4.UT2K4Tab_MainSP.MapDescription'


     Begin Object Class=GUITreeListBox Name=AvailableMaps
         bVisibleWhenEmpty=True
         OnCreateComponent=AvailableMaps.InternalOnCreateComponent
         Hint="Click a mapname to see a preview and description.  Double-click to play a match on the map."
         WinTop=0.169272
         WinLeft=0.045671
         WinWidth=0.422481
         WinHeight=0.449870
         TabOrder=0
         OnChange=UT2K4Tab_MainSP.MapListChange
     End Object
     lb_Maps=GUITreeListBox'GUI2K4.UT2K4Tab_MainSP.AvailableMaps'


     Begin Object Class=moButton Name=MaplistButton
         ButtonCaption="Maplist Configuration"
         ComponentWidth=1.000000
         OnCreateComponent=MaplistButton.InternalOnCreateComponent
         Hint="Modify the maps that should be used in gameplay"
         WinTop=0.888587
         WinLeft=0.039258
         WinWidth=0.341797
         WinHeight=0.050000
         TabOrder=2
         OnChange=UT2K4Tab_MainSP.MaplistConfigClick
     End Object
     b_Maplist=moButton'GUI2K4.UT2K4Tab_MainSP.MaplistButton'


     Begin Object Class=moButton Name=TutorialButton
         ButtonCaption="Watch Game Tutorial"
         ComponentWidth=1.000000
         OnCreateComponent=TutorialButton.InternalOnCreateComponent
         Hint="Watch the tutorial for this gametype."
         WinTop=0.913326
         WinLeft=0.556953
         WinWidth=0.348633
         WinHeight=0.050000
         TabOrder=3
         OnChange=UT2K4Tab_MainSP.TutorialClicked
     End Object
     b_Tutorial=moButton'GUI2K4.UT2K4Tab_MainSP.TutorialButton'


     Begin Object Class=GUIImage Name=MapPreviewImage
         ImageStyle=ISTY_Scaled
         ImageRenderStyle=MSTY_Normal
         WinTop=0.107691
         WinLeft=0.562668
         WinWidth=0.372002
         WinHeight=0.357480
         RenderWeight=0.200000
     End Object
     i_MapPreview=GUIImage'GUI2K4.UT2K4Tab_MainSP.MapPreviewImage'


     Begin Object Class=GUILabel Name=MapAuthorLabel
         Caption="Testing"
         TextAlign=TXTA_Center
         StyleName="TextLabel"
         WinTop=0.405278
         WinLeft=0.522265
         WinWidth=0.453285
         WinHeight=0.032552
         RenderWeight=0.300000
     End Object
     l_MapAuthor=GUILabel'GUI2K4.UT2K4Tab_MainSP.MapAuthorLabel'


     Begin Object Class=GUILabel Name=RecommendedPlayers
         Caption="Best for 4 to 8 players"
         TextAlign=TXTA_Center
         StyleName="TextLabel"
         WinTop=0.474166
         WinLeft=0.521288
         WinWidth=0.445313
         WinHeight=0.032552
         RenderWeight=0.300000
     End Object
     l_MapPlayers=GUILabel'GUI2K4.UT2K4Tab_MainSP.RecommendedPlayers'


     Begin Object Class=GUILabel Name=NoPreview
         Caption="No Preview Available"
         TextAlign=TXTA_Center
         TextColor=(B=0,G=255,R=247)
         TextFont="UT2HeaderFont"
         bTransparent=False
         bMultiLine=True
         VertAlign=TXTA_Center
         WinTop=0.107691
         WinLeft=0.562668
         WinWidth=0.372002
         WinHeight=0.357480
     End Object
     l_NoPreview=GUILabel'GUI2K4.UT2K4Tab_MainSP.NoPreview'


     MapCaption="Maps"
     BonusVehicles=" (Bonus Vehicles)"
     BonusVehiclesMsg="(Includes Bonus Vehicles)|"
     LastSelectedMap="DM-1on1-Crash"
     Begin Object Class=moCheckBox Name=FilterCheck
         CaptionWidth=0.100000
         ComponentWidth=0.900000
         Caption="Only Official Maps"
         OnCreateComponent=FilterCheck.InternalOnCreateComponent
         Hint="Hides all maps not created by Epic or Digital Extremes."
         WinTop=0.772865
         WinLeft=0.051758
         WinWidth=0.341797
         WinHeight=0.030035
         TabOrder=1
         OnChange=UT2K4Tab_MainSP.ChangeMapFilter
     End Object
     ch_OfficialMapsOnly=moCheckBox'GUI2K4.UT2K4Tab_MainSP.FilterCheck'


}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 18-3-2018 09:49:57.552 - Created with UnCodeX