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

GUI2K4.UT2K4Movies

Extends
ModsAndDemosTabs

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

Variables Summary
array<DefItem>DefaultItems
GUIImagei_MapPreview
GUIScrollTextBoxlb_MapDesc
GUIListBoxlb_Maps
GUILabell_MapAuthor
GUILabell_NoPreview
array<CacheManager.MapRecord>Maps
GUISectionBackgroundsb_Maps
GUISectionBackgroundsb_Preview
AltSectionBackgroundsb_Scroll
Inherited Variables from GUI2K4.ModsAndDemosTabs
MyPage

Structures Summary
DefItem
MapName, Title, Author

Functions Summary
functionbool DefaultMovie (string Mov))
functionstring GetMovieInfo (string Index, tring prop))
function InitComponent (GUIController MyController, GUIComponent MyOwner))
function MapListChange (GUIComponent Sender))
functionbool MovieClick (GUIComponent Sender))
function UpdateScreenshot (string ScreenShotRef))
Inherited Functions from GUI2K4.ModsAndDemosTabs
InitComponent, ShowPanel


Variables Detail

DefaultItems Source code

var array<DefItem> DefaultItems;

i_MapPreview Source code

var automated GUIImage i_MapPreview;

lb_MapDesc Source code

var automated GUIScrollTextBox lb_MapDesc;

lb_Maps Source code

var automated GUIListBox lb_Maps;

l_MapAuthor Source code

var automated GUILabel l_MapAuthor;

l_NoPreview Source code

var automated GUILabel l_NoPreview;

Maps Source code

var array<CacheManager.MapRecord> Maps;

sb_Maps Source code

var automated GUISectionBackground sb_Maps;

sb_Preview Source code

var automated GUISectionBackground sb_Preview;

sb_Scroll Source code

var automated AltSectionBackground sb_Scroll;


Structures Detail

DefItem Source code

struct DefItem
{
var localized string Author;
var localized string MapName;
var localized string Title;
};



Functions Detail

DefaultMovie Source code

function bool DefaultMovie ( string Mov) )

GetMovieInfo Source code

function string GetMovieInfo ( string Index,string prop) )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner) )

MapListChange Source code

function MapListChange ( GUIComponent Sender) )

MovieClick Source code

function bool MovieClick ( GUIComponent Sender) )

UpdateScreenshot Source code

function UpdateScreenshot ( string ScreenShotRef) )


Defaultproperties

defaultproperties
{
     Begin Object Class=GUISectionBackground Name=sbMaps
         bFillClient=True
         Caption="Movie Selection"
         WinTop=0.018125
         WinLeft=0.016993
         WinWidth=0.482149
         WinHeight=0.523611
         OnPreDraw=sbMaps.InternalPreDraw
     End Object
     sb_Maps=GUISectionBackground'GUI2K4.UT2K4Movies.sbMaps'


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


     Begin Object Class=AltSectionBackground Name=sbScroll
         bFillClient=True
         Caption="Movie Description"
         WinTop=0.561207
         WinLeft=0.019970
         WinWidth=0.967924
         WinHeight=0.421870
         OnPreDraw=sbScroll.InternalPreDraw
     End Object
     sb_Scroll=AltSectionBackground'GUI2K4.UT2K4Movies.sbScroll'


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


     Begin Object Class=GUIListBox Name=lbMaps
         bVisibleWhenEmpty=True
         OnCreateComponent=lbMaps.InternalOnCreateComponent
         Hint="Click a movie to see a preview and description.  Double-click to view it."
         WinTop=0.169272
         WinLeft=0.045671
         WinWidth=0.422481
         WinHeight=0.449870
         TabOrder=0
     End Object
     lb_Maps=GUIListBox'GUI2K4.UT2K4Movies.lbMaps'


     Begin Object Class=GUIImage Name=iMapPreview
         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.UT2K4Movies.iMapPreview'


     Begin Object Class=GUILabel Name=MapAuthorLabel
         TextAlign=TXTA_Center
         StyleName="TextLabel"
         WinTop=0.467658
         WinLeft=0.538209
         WinWidth=0.426180
         WinHeight=0.032552
         RenderWeight=0.300000
     End Object
     l_MapAuthor=GUILabel'GUI2K4.UT2K4Movies.MapAuthorLabel'


     Begin Object Class=GUILabel Name=lNoPreview
         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.UT2K4Movies.lNoPreview'


     DefaultItems(0)=(MapName="MOV-UT2004-Intro",Title="UT2004 Single Player Introduction Movie",Author="Epic Games")
     DefaultItems(1)=(MapName="MOV-UT2-Intro",Title="UT2003 Single Player Introduction Movie",Author="Epic Games")
     DefaultItems(2)=(MapName="TUT-BR",Title="Bombing Run Tutorial",Author="Epic Games")
     DefaultItems(3)=(MapName="TUT-CTF",Title="Capture the Flag Tutorial",Author="Epic Games")
     DefaultItems(4)=(MapName="TUT-DM",Title="Deathmatch Tutorial",Author="Epic Games")
     DefaultItems(5)=(MapName="TUT-DOM",Title="Double Domination Tutorial",Author="Epic Games")
     DefaultItems(6)=(MapName="TUT-ONS",Title="Onslaught Tutorial",Author="Epic Games")
     Tag=4
}

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