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

GUI2K4.UT2K4SPTab_Profile

Extends
UT2K4SPTab_Base

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPanel
            |   
            +-- XInterface.GUITabPanel
               |   
               +-- XInterface.UT2K4TabPanel
                  |   
                  +-- GUI2K4.UT2K4SPTab_Base
                     |   
                     +-- GUI2K4.UT2K4SPTab_Profile

Variables Summary
GUIButtonbtnCreate
GUIButtonbtnDelete
GUIButtonbtnHighScores
stringCheatWarning
stringDeleteProfile
intHackyIndex
GUIImageimgFace
GUIImageimgFaceBlur
GUIImageimgSponsor
GUIListBoxlbProfiles
stringMultiKillsLabel[7]
stringNoProfileSelected
stringOverloadProfile
stringProfileDetails
GUIScrollTextBoxsbDetails
GUISectionBackgroundsbDetailsBg
GUISectionBackgroundsbFaceBorder
GUISectionBackgroundsbProfiles
GUISectionBackgroundsbSponsorBorder
stringSpreeLabel[6]
Inherited Variables from GUI2K4.UT2K4SPTab_Base
CaptionBack, CaptionCancel, CaptionCreate, CaptionDone, CaptionLoad, CaptionPlay, GP, LogPrefix, MainWindow, ProfileClass

Functions Summary
functionbool btnCreateOnClick (GUIComponent Sender)
functionbool btnDeleteOnClick (GUIComponent Sender)
functionbool btnHighScoresOnClick (GUIComponent Sender)
function InitComponent (GUIController pMyController, GUIComponent MyOwner)
function OnConfirmDelete (byte bButton)
function OnConfirmLoad (byte bButton)
function OnFinalLoad (byte bButton)
functionbool onPlayClick ()
function onProfileChange (GUIComponent Sender)
functionbool OnProfileDblClick (GUIComponent Sender)
function ShowPanel (bool bShow)
function UpdateProfileDesc ()
function UpdateProfileList ()
Inherited Functions from GUI2K4.UT2K4SPTab_Base
btnPlayEnabled, CanClose, GetMainWindow, getProfileName, InitComponent, onBackClick, onPlayClick, ShowPanel


Variables Detail

btnCreate Source code

var automated GUIButton btnCreate;

btnDelete Source code

var automated GUIButton btnDelete;

btnHighScores Source code

var automated GUIButton btnHighScores;

CheatWarning Source code

var localized string CheatWarning;

DeleteProfile Source code

var localized string DeleteProfile;

HackyIndex Source code

var int HackyIndex;
used to filter out double OnChange events

imgFace Source code

var automated GUIImage imgFace;

imgFaceBlur Source code

var automated GUIImage imgFaceBlur;

imgSponsor Source code

var automated GUIImage imgSponsor;

lbProfiles Source code

var automated GUIListBox lbProfiles;

MultiKillsLabel[7] Source code

var localized string MultiKillsLabel[7];

NoProfileSelected Source code

var localized string NoProfileSelected;

OverloadProfile Source code

var localized string OverloadProfile;

ProfileDetails Source code

var localized string ProfileDetails;

sbDetails Source code

var automated GUIScrollTextBox sbDetails;

sbDetailsBg Source code

var automated GUISectionBackground sbDetailsBg;

sbFaceBorder Source code

var automated GUISectionBackground sbFaceBorder;

sbProfiles Source code

var automated GUISectionBackground sbProfiles;

sbSponsorBorder Source code

var automated GUISectionBackground sbSponsorBorder;

SpreeLabel[6] Source code

var localized string SpreeLabel[6];


Functions Detail

btnCreateOnClick Source code

function bool btnCreateOnClick ( GUIComponent Sender )
Create profile button clicked

btnDeleteOnClick Source code

function bool btnDeleteOnClick ( GUIComponent Sender )
Delete profile button clicked

btnHighScoresOnClick Source code

function bool btnHighScoresOnClick ( GUIComponent Sender )

InitComponent Source code

function InitComponent ( GUIController pMyController, GUIComponent MyOwner )

OnConfirmDelete Source code

function OnConfirmDelete ( byte bButton )
User confirmed the deletion of the profile

OnConfirmLoad Source code

function OnConfirmLoad ( byte bButton )
User confirmed loading of a new profile

OnFinalLoad Source code

function OnFinalLoad ( byte bButton )

onPlayClick Source code

function bool onPlayClick ( )
Load the selected profile, warn if already a profile loaded

onProfileChange Source code

function onProfileChange ( GUIComponent Sender )
User has selected a diffirent profile

OnProfileDblClick Source code

function bool OnProfileDblClick ( GUIComponent Sender )
Double clicked the profile list -> load profile

ShowPanel Source code

function ShowPanel ( bool bShow )

UpdateProfileDesc Source code

function UpdateProfileDesc ( )
Update the profile description

UpdateProfileList Source code

function UpdateProfileList ( )
Refresh the profile list


Defaultproperties

defaultproperties
{
     Begin Object Class=GUISectionBackground Name=SPPsbProfiles
         Caption="Profiles"
         WinTop=0.046588
         WinLeft=0.023243
         WinWidth=0.270899
         WinHeight=0.803050
         bBoundToParent=Wahr
         OnPreDraw=SPPsbProfiles.InternalPreDraw
     End Object
     sbProfiles=GUISectionBackground'GUI2K4.UT2K4SPTab_Profile.SPPsbProfiles'

     Begin Object Class=GUISectionBackground Name=SPPsbDetailsBg
         Caption="Details"
         WinTop=0.368975
         WinLeft=0.610000
         WinWidth=0.370000
         WinHeight=0.484668
         OnPreDraw=SPPsbDetailsBg.InternalPreDraw
     End Object
     sbDetailsBg=GUISectionBackground'GUI2K4.UT2K4SPTab_Profile.SPPsbDetailsBg'

     Begin Object Class=AltSectionBackground Name=SPPimgFaceBorder
         WinTop=0.050000
         WinLeft=0.310000
         WinWidth=0.280000
         WinHeight=0.800000
         bBoundToParent=Wahr
         OnPreDraw=SPPimgFaceBorder.InternalPreDraw
     End Object
     sbFaceBorder=AltSectionBackground'GUI2K4.UT2K4SPTab_Profile.SPPimgFaceBorder'

     Begin Object Class=GUISectionBackground Name=SPPimgSponsorBorder
         bAltCaption=Wahr
         WinTop=0.050000
         WinLeft=0.610000
         WinWidth=0.370000
         WinHeight=0.292959
         bBoundToParent=Wahr
         OnPreDraw=SPPimgSponsorBorder.InternalPreDraw
     End Object
     sbSponsorBorder=GUISectionBackground'GUI2K4.UT2K4SPTab_Profile.SPPimgSponsorBorder'

     Begin Object Class=GUIImage Name=SPPimgFace
         ImageColor=(A=196)
         ImageStyle=ISTY_Scaled
         WinTop=0.106977
         WinLeft=0.324005
         WinWidth=0.251990
         WinHeight=0.686098
         RenderWeight=0.300000
         bBoundToParent=Wahr
     End Object
     imgFace=GUIImage'GUI2K4.UT2K4SPTab_Profile.SPPimgFace'

     Begin Object Class=GUIImage Name=SPPimgFaceBlur
         Image=TexPanner'InterfaceContent.Menu.pEmptySlot'
         ImageStyle=ISTY_Scaled
         ImageRenderStyle=MSTY_Normal
         WinTop=0.106977
         WinLeft=0.324005
         WinWidth=0.251990
         WinHeight=0.686098
         RenderWeight=0.200000
         bBoundToParent=Wahr
     End Object
     imgFaceBlur=GUIImage'GUI2K4.UT2K4SPTab_Profile.SPPimgFaceBlur'

     Begin Object Class=GUIImage Name=SPPimgSponsor
         ImageStyle=ISTY_Justified
         ImageRenderStyle=MSTY_Normal
         ImageAlign=IMGA_Center
         WinTop=0.108412
         WinLeft=0.625255
         WinWidth=0.338214
         WinHeight=0.221199
         RenderWeight=0.300000
         bBoundToParent=Wahr
     End Object
     imgSponsor=GUIImage'GUI2K4.UT2K4SPTab_Profile.SPPimgSponsor'

     Begin Object Class=GUIListBox Name=SPPlbProfiles
         bVisibleWhenEmpty=Wahr
         bSorted=Wahr
         OnCreateComponent=SPPlbProfiles.InternalOnCreateComponent
         FontScale=FNS_Medium
         Hint="Select a profile"
         WinTop=0.125901
         WinLeft=0.041832
         WinWidth=0.236888
         WinHeight=0.689871
         TabOrder=1
         bBoundToParent=Wahr
         OnChange=UT2K4SPTab_Profile.onProfileChange
     End Object
     lbProfiles=GUIListBox'GUI2K4.UT2K4SPTab_Profile.SPPlbProfiles'

     Begin Object Class=GUIButton Name=SPPbtnDelete
         Caption="DELETE"
         FontScale=FNS_Small
         Hint="Delete the selected profile"
         WinTop=0.900000
         WinLeft=0.180000
         WinWidth=0.200000
         WinHeight=0.050000
         TabOrder=3
         bBoundToParent=Wahr
         OnClick=UT2K4SPTab_Profile.btnDeleteOnClick
         OnKeyEvent=SPPbtnDelete.InternalOnKeyEvent
     End Object
     btnDelete=GUIButton'GUI2K4.UT2K4SPTab_Profile.SPPbtnDelete'

     Begin Object Class=GUIButton Name=SPPbtnCreate
         Caption="CREATE NEW"
         FontScale=FNS_Small
         Hint="Create a new profile"
         WinTop=0.900000
         WinLeft=0.400000
         WinWidth=0.200000
         WinHeight=0.050000
         TabOrder=4
         bBoundToParent=Wahr
         OnClick=UT2K4SPTab_Profile.btnCreateOnClick
         OnKeyEvent=SPPbtnCreate.InternalOnKeyEvent
     End Object
     btnCreate=GUIButton'GUI2K4.UT2K4SPTab_Profile.SPPbtnCreate'

     Begin Object Class=GUIButton Name=SPPbtnHighScores
         Caption="HIGH SCORES"
         FontScale=FNS_Small
         Hint="View the high scores"
         WinTop=0.900000
         WinLeft=0.620000
         WinWidth=0.200000
         WinHeight=0.050000
         TabOrder=5
         bBoundToParent=Wahr
         OnClick=UT2K4SPTab_Profile.btnHighScoresOnClick
         OnKeyEvent=SPPbtnHighScores.InternalOnKeyEvent
     End Object
     btnHighScores=GUIButton'GUI2K4.UT2K4SPTab_Profile.SPPbtnHighScores'

     Begin Object Class=GUIScrollTextBox Name=SPPsbDetails
         CharDelay=0.002500
         EOLDelay=0.500000
         OnCreateComponent=SPPsbDetails.InternalOnCreateComponent
         WinTop=0.439184
         WinLeft=0.634133
         WinWidth=0.325485
         WinHeight=0.388622
         TabOrder=2
         bBoundToParent=Wahr
     End Object
     sbDetails=GUIScrollTextBox'GUI2K4.UT2K4SPTab_Profile.SPPsbDetails'

     NoProfileSelected="No profile selected..."
     ProfileDetails="Team: %teamname%|Leader: %playername%|Members: %teammembers%||Total game time: %totaltime% minutes|Balance: %credits%||Matches: %matches%|Wins: %wins%|Kills: %kills%|Deaths: %deaths%|Goals: %Goals%|%sprees%|%multikills%|%specialawards%"
     DeleteProfile="You are about to delete the profile for '%profile%'||Are you sure you want to delete this profile?"
     OverloadProfile="You already have a profile loaded.||Are you sure you want to load this profile?"
     CheatWarning="Warning!|This profile does NOT originate from your machine.|This profile is not eligible for unlocking characters.|Do you want to load this profile?"
     SpreeLabel(0)="Killing Spree:"
     SpreeLabel(1)="Rampage:"
     SpreeLabel(2)="Dominating:"
     SpreeLabel(3)="Unstoppable:"
     SpreeLabel(4)="GODLIKE:"
     SpreeLabel(5)="WICKED SICK:"
     MultiKillsLabel(0)="Double Kill:"
     MultiKillsLabel(1)="MultiKill:"
     MultiKillsLabel(2)="MegaKill:"
     MultiKillsLabel(3)="UltraKill:"
     MultiKillsLabel(4)="MONSTER KILL:"
     MultiKillsLabel(5)="LUDICROUS KILL:"
     MultiKillsLabel(6)="HOLY SHIT:"
     PanelCaption="Profile"
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Mo 16.4.2007 11:20:35.171 - Created with UnCodeX