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
		WinWidth=0.270899
		WinHeight=0.803050
		WinLeft=0.023243
		WinTop=0.046588
		Caption="Profiles"
		bBoundToParent=true
    End Object
    sbProfiles=SPPsbProfiles


	Begin Object class=GUIListBox Name=SPPlbProfiles
		Hint="Select a profile"
		WinWidth=0.236888
		WinHeight=0.689871
		WinLeft=0.041832
		WinTop=0.125901
		bVisibleWhenEmpty=true
		OnChange=onProfileChange
		bSorted=true
		FontScale=FNS_Medium
		TabOrder=1
		bBoundToParent=true
		StyleName="NoBackground"
	End Object
	lbProfiles=SPPlbProfiles


	Begin Object class=GUIImage Name=SPPimgFace
		WinWidth=0.251990
		WinHeight=0.686098
		WinLeft=0.324005
		WinTop=0.106977
		
		ImageColor=(R=255,G=255,B=255,A=196)
		ImageRenderStyle=MSTY_Alpha
		ImageStyle=ISTY_Scaled
		RenderWeight=0.3
		bBoundToParent=true
	End Object
	imgFace=SPPimgFace


	Begin Object class=GUIImage Name=SPPimgFaceBlur
		WinWidth=0.251990
		WinHeight=0.686098
		WinLeft=0.324005
		WinTop=0.106977
		Image=Material'InterfaceContent.pEmptySlot'
		ImageRenderStyle=MSTY_Normal
		ImageStyle=ISTY_Scaled
		RenderWeight=0.2
		bBoundToParent=true
	End Object
	imgFaceBlur=SPPimgFaceBlur


	Begin Object class=AltSectionBackground Name=SPPimgFaceBorder
		WinWidth=0.28
		WinHeight=0.80
		WinLeft=0.31
		WinTop=0.05
		bBoundToParent=true
    End Object
    sbFaceBorder=SPPimgFaceBorder


	Begin Object class=GUIImage Name=SPPimgSponsor
		WinWidth=0.338214
		WinHeight=0.221199
		WinLeft=0.625255
		WinTop=0.108412
		
		ImageRenderStyle=MSTY_Normal
		ImageAlign=IMGA_Center
		ImageStyle=ISTY_Justified
		RenderWeight=0.3
		bBoundToParent=true
	End Object
	imgSponsor=SPPimgSponsor


	Begin Object class=GUISectionBackground Name=SPPimgSponsorBorder
		WinWidth=0.370000
		WinHeight=0.292959
		WinLeft=0.610000
		WinTop=0.050000
		bBoundToParent=true
		bAltCaption=true
    End Object
    sbSponsorBorder=SPPimgSponsorBorder


	Begin Object class=GUISectionBackground Name=SPPsbDetailsBg
		WinWidth=0.370000
		WinHeight=0.484668
		WinLeft=0.610000
		WinTop=0.368975
		Caption="Details"
    End Object
	sbDetailsBg=SPPsbDetailsBg


	Begin Object Class=GUIScrollTextBox Name=SPPsbDetails
		WinWidth=0.325485
		WinHeight=0.388622
		WinLeft=0.634133
		WinTop=0.439184
		CharDelay=0.0025
		EOLDelay=0.5
		FontScale=FNS_Medium
		TabOrder=2
		bBoundToParent=true
		StyleName="NoBackground"
	End Object
	sbDetails=SPPsbDetails


	Begin Object Class=GUIButton Name=SPPbtnDelete
		Caption="DELETE"
		Hint="Delete the selected profile"
		WinWidth=0.2
		WinHeight=0.05
		WinLeft=0.18
		WinTop=0.9
		MenuState=MSAT_Disabled
		OnClick=btnDeleteOnClick
		FontScale=FNS_Small
		TabOrder=3
		bBoundToParent=true
	End Object
	btnDelete=SPPbtnDelete


	Begin Object Class=GUIButton Name=SPPbtnCreate
		Caption="CREATE NEW"
		Hint="Create a new profile"
		WinWidth=0.2
		WinHeight=0.05
		WinLeft=0.40
		WinTop=0.9
		OnClick=btnCreateOnClick
		FontScale=FNS_Small
		TabOrder=4
		bBoundToParent=true
	End Object
	btnCreate=SPPbtnCreate


	Begin Object Class=GUIButton Name=SPPbtnHighScores
		Caption="HIGH SCORES"
		Hint="View the high scores"
		WinWidth=0.2
		WinHeight=0.05
		WinLeft=0.62
		WinTop=0.9
		OnClick=btnHighScoresOnClick
		FontScale=FNS_Small
		TabOrder=5
		bBoundToParent=true
	End Object
	btnHighScores=SPPbtnHighScores


	PanelCaption="Profile"
	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:"
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Do 14.8.2014 09:58:27.424 - Created with UnCodeX