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

GUI2K4.UT2K4Demos

Extends
ModsAndDemosTabs

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPanel
            |   
            +-- XInterface.GUITabPanel
               |   
               +-- XInterface.UT2K4TabPanel
                  |   
                  +-- GUI2K4.ModsAndDemosTabs
                     |   
                     +-- GUI2K4.UT2K4Demos

Variables Summary
stringCorruptDemText
array<CacheManager.GameRecord>Games
GUIImagei_MapShot
GUILabellbl_Game
GUIListBoxlb_DemoInfo
GUIListBoxlb_DemoList
GUIScrollTextBoxlb_ReqPacks
stringltBadMsg
stringltClientSide
stringltGoodMsg
stringltRecordedBy
stringltScoreLimit
stringltSelectMsg
stringltServerSide
stringltTimeLimit
GUILabell_NoPreview
array<CacheManager.MapRecord>Maps
GUISectionBackgroundsb_1
GUISectionBackgroundsb_2
GUISectionBackgroundsb_3
GUISectionBackgroundsb_4
stringUnknownText
Inherited Variables from GUI2K4.ModsAndDemosTabs
MyPage

Functions Summary
function DemoListClick (GUIComponent Sender)
functionbool DumpClick (GUIComponent Sender)
functionint GetGameIndex (string GameClass)
functionint GetMapIndex (string MapName)
function InfoClick (GUIComponent Sender)
function InitComponent (GUIController MyController, GUIComponent MyOwner)
function SetVisibility (bool bIsVisible)
functionstring TrimName (string s)
functionbool WatchClick (GUIComponent Sender)
Inherited Functions from GUI2K4.ModsAndDemosTabs
InitComponent, ShowPanel


Variables Detail

CorruptDemText Source code

var localized string CorruptDemText;

Games Source code

var array<CacheManager.GameRecord> Games;

i_MapShot Source code

var automated GUIImage i_MapShot;

lbl_Game Source code

var automated GUILabel lbl_Game;

lb_DemoInfo Source code

var automated GUIListBox lb_DemoInfo;

lb_DemoList Source code

var automated GUIListBox lb_DemoList;

lb_ReqPacks Source code

var automated GUIScrollTextBox lb_ReqPacks;

ltBadMsg Source code

var localized string ltBadMsg;

ltClientSide Source code

var localized string ltClientSide;

ltGoodMsg Source code

var localized string ltGoodMsg;

ltRecordedBy Source code

var localized string ltRecordedBy;

ltScoreLimit Source code

var localized string ltScoreLimit;

ltSelectMsg Source code

var localized string ltSelectMsg;

ltServerSide Source code

var localized string ltServerSide;

ltTimeLimit Source code

var localized string ltTimeLimit;

l_NoPreview Source code

var automated GUILabel l_NoPreview;

Maps Source code

var array<CacheManager.MapRecord> Maps;

sb_1 Source code

var automated GUISectionBackground sb_1;

sb_2 Source code

var automated GUISectionBackground sb_2;

sb_3 Source code

var automated GUISectionBackground sb_3;

sb_4 Source code

var automated GUISectionBackground sb_4;

UnknownText Source code

var localized string UnknownText;


Functions Detail

DemoListClick Source code

function DemoListClick ( GUIComponent Sender )

DumpClick Source code

function bool DumpClick ( GUIComponent Sender )

GetGameIndex Source code

function int GetGameIndex ( string GameClass )

GetMapIndex Source code

function int GetMapIndex ( string MapName )

InfoClick Source code

function InfoClick ( GUIComponent Sender )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner )

SetVisibility Source code

function SetVisibility ( bool bIsVisible )

TrimName Source code

function string TrimName ( string s )

WatchClick Source code

function bool WatchClick ( GUIComponent Sender )


Defaultproperties

defaultproperties
{
     Begin Object Class=GUIListBox Name=lbDemoList
         SelectedStyleName="NoBackground"
         SectionStyleName="NoBackground"
         OutlineStyleName="NoBackground"
         bVisibleWhenEmpty=True
         OnCreateComponent=lbDemoList.InternalOnCreateComponent
         WinTop=0.109375
         WinLeft=0.030468
         WinWidth=0.265626
         WinHeight=0.735548
         TabOrder=0
         OnChange=UT2K4Demos.DemoListClick
     End Object
     lb_DemoList=GUIListBox'GUI2K4.UT2K4Demos.lbDemoList'

     Begin Object Class=GUIListBox Name=lbDemoInfo
         bVisibleWhenEmpty=True
         OnCreateComponent=lbDemoInfo.InternalOnCreateComponent
         WinTop=0.155622
         WinLeft=0.529180
         WinWidth=0.276054
         WinHeight=0.078998
         bAcceptsInput=False
         OnChange=UT2K4Demos.InfoClick
     End Object
     lb_DemoInfo=GUIListBox'GUI2K4.UT2K4Demos.lbDemoInfo'

     Begin Object Class=GUIScrollTextBox Name=lbReqPacks
         bNoTeletype=True
         bVisibleWhenEmpty=True
         OnCreateComponent=lbReqPacks.InternalOnCreateComponent
         WinTop=0.650090
         WinLeft=0.310547
         WinWidth=0.650391
         WinHeight=0.193555
         TabOrder=2
     End Object
     lb_ReqPacks=GUIScrollTextBox'GUI2K4.UT2K4Demos.lbReqPacks'

     Begin Object Class=GUILabel Name=lblGame
         TextAlign=TXTA_Center
         TextColor=(B=0,G=200,R=230)
         TextFont="UT2LargeFont"
         WinTop=0.103929
         WinLeft=0.355370
         WinWidth=0.634467
         WinHeight=0.061558
         RenderWeight=0.600000
     End Object
     lbl_Game=GUILabel'GUI2K4.UT2K4Demos.lblGame'

     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.286842
         WinLeft=0.517749
         WinWidth=0.318399
         WinHeight=0.226862
         RenderWeight=1.000000
     End Object
     l_NoPreview=GUILabel'GUI2K4.UT2K4Demos.NoPreview'

     Begin Object Class=GUIImage Name=iMapShot
         ImageStyle=ISTY_Scaled
         ImageRenderStyle=MSTY_Normal
         DropShadowX=8
         DropShadowY=8
         WinTop=0.199687
         WinLeft=0.619686
         WinWidth=0.326562
         WinHeight=0.288124
         RenderWeight=1.000000
     End Object
     i_MapShot=GUIImage'GUI2K4.UT2K4Demos.iMapShot'

     Begin Object Class=GUISectionBackground Name=sb1
         bFillClient=True
         Caption="Demos"
         BottomPadding=0.200000
         WinTop=0.012761
         WinLeft=0.012527
         WinWidth=0.328364
         WinHeight=0.962274
         RenderWeight=0.500000
         OnPreDraw=sb1.InternalPreDraw
     End Object
     sb_1=GUISectionBackground'GUI2K4.UT2K4Demos.sb1'

     Begin Object Class=AltSectionBackground Name=sb2
         bFillClient=True
         WinTop=0.228215
         WinLeft=0.492837
         WinWidth=0.368224
         WinHeight=0.346441
         RenderWeight=0.500000
         OnPreDraw=sb2.InternalPreDraw
     End Object
     sb_2=AltSectionBackground'GUI2K4.UT2K4Demos.sb2'

     Begin Object Class=GUISectionBackground Name=sb3
         bFillClient=True
         Caption="Required Packages"
         BottomPadding=0.200000
         WinTop=0.656193
         WinLeft=0.354323
         WinWidth=0.637278
         WinHeight=0.318539
         RenderWeight=0.500000
         OnPreDraw=sb3.InternalPreDraw
     End Object
     sb_3=GUISectionBackground'GUI2K4.UT2K4Demos.sb3'

     Begin Object Class=AltSectionBackground Name=iInfoBk
         HeaderBase=Texture'2K4Menus.NewControls.Display2'
         Caption="... Information ..."
         WinTop=0.011296
         WinLeft=0.354323
         WinWidth=0.637278
         WinHeight=0.629445
         RenderWeight=0.200000
         OnPreDraw=iInfoBk.InternalPreDraw
     End Object
     sb_4=AltSectionBackground'GUI2K4.UT2K4Demos.iInfoBk'

     ltScoreLimit="Score Limit:"
     ltTimeLimit="Time Limit:"
     UnknownText="Unknown"
     CorruptDemText="Corrupted or missing .DEMO4 file !"
     ltSelectMsg="Please select a demo from the list to the left."
     ltClientSide="Client Side Demo"
     ltServerSide="Server Side/Single Player Demo"
     ltRecordedBy="Recorded By:"
     ltGoodMsg="All of the packages required for this demo are installed"
     ltBadMsg="In order to be played, this demo requires the packages listed below.  If you are connected to the Internet, they will be autodownloaded when the demo is played||::Required Packages::"
     Tag=3
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Wed 7/2/2007 19:16:22.234 - Created with UnCodeX