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

XInterface.Tab_SPProfileLoad

Extends
Tab_SPPanelBase

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPanel
            |   
            +-- XInterface.GUITabPanel
               |   
               +-- XInterface.UT2K3TabPanel
                  |   
                  +-- XInterface.Tab_SPPanelBase
                     |   
                     +-- XInterface.Tab_SPProfileLoad

Variables Summary
GUIButtonbutNew
stringDeleteMessage
stringDifficulties[8]
moEditBoxebDeaths
moEditBoxebDifficulty
moEditBoxebGoals
moEditBoxebKills
moEditBoxebMatches
moEditBoxebPlayerName
moEditBoxebTeamName
moEditBoxebWins
GUIImageimgPlayerSkin
GUIImageimgTeamSymbol
GUIListBoxlbProfiles
intNumDifficulties

Functions Summary
functionbool DeleteClick (GUIComponent Sender))
function DeleteConfirm (byte bButton))
functionbool DoubleClickList (GUIComponent Sender))
function InitComponent (GUIController pMyController, GUIComponent MyOwner))
function InitPanel ()))
function InternalOnChange (GUIComponent Sender))
functionbool LoadClick (GUIComponent Sender))
functionbool NewProfileClick (GUIComponent Sender))
function OnProfileUpdated ()))
function ShowPanel (bool bShow))
function UpdateList ()))
function UpdateStats ()))
Inherited Functions from XInterface.Tab_SPPanelBase
GetProfile, MatchUpdated, MyTabControl, OnMatchUpdated, OnProfileUpdated, ProfileUpdated


Variables Detail

butNew Source code

var GUIButton butNew;

DeleteMessage Source code

var localized string DeleteMessage;

Difficulties[8] Source code

var localized string Difficulties[8];

ebDeaths Source code

var moEditBox ebDeaths;

ebDifficulty Source code

var moEditBox ebDifficulty;

ebGoals Source code

var moEditBox ebGoals;

ebKills Source code

var moEditBox ebKills;

ebMatches Source code

var moEditBox ebMatches;

ebPlayerName Source code

var moEditBox ebPlayerName;

ebTeamName Source code

var moEditBox ebTeamName;

ebWins Source code

var moEditBox ebWins;

imgPlayerSkin Source code

var GUIImage imgPlayerSkin;

imgTeamSymbol Source code

var GUIImage imgTeamSymbol;

lbProfiles Source code

var GUIListBox lbProfiles;

NumDifficulties Source code

var int NumDifficulties;


Functions Detail

DeleteClick Source code

function bool DeleteClick ( GUIComponent Sender) )

DeleteConfirm Source code

function DeleteConfirm ( byte bButton) )

DoubleClickList Source code

function bool DoubleClickList ( GUIComponent Sender) )

InitComponent Source code

function InitComponent ( GUIController pMyController, GUIComponent MyOwner) )

InitPanel Source code

function InitPanel ( ) )

InternalOnChange Source code

function InternalOnChange ( GUIComponent Sender) )

LoadClick Source code

function bool LoadClick ( GUIComponent Sender) )

NewProfileClick Source code

function bool NewProfileClick ( GUIComponent Sender) )

OnProfileUpdated Source code

function OnProfileUpdated ( ) )

ShowPanel Source code

function ShowPanel ( bool bShow) )

UpdateList Source code

function UpdateList ( ) )

UpdateStats Source code

function UpdateStats ( ) )


Defaultproperties

defaultproperties
{
     Difficulties(0)="Novice"
     Difficulties(1)="Average"
     Difficulties(2)="Experienced"
     Difficulties(3)="Skilled"
     Difficulties(4)="Adept"
     Difficulties(5)="Masterful"
     Difficulties(6)="Inhuman"
     Difficulties(7)="Godlike"
     NumDifficulties=8
     DeleteMessage="You are about to delete the profile for '%prof%'||Are you sure you want to delete this profile?"
     Begin Object Class=GUIButton Name=btnNew
         Caption="NEW PROFILE"
         Hint="Go to the profile creation menu"
         WinTop=0.925000
         WinLeft=0.661250
         WinWidth=0.200000
         WinHeight=0.075000
         OnClick=Tab_SPProfileLoad.NewProfileClick
         OnKeyEvent=btnNew.InternalOnKeyEvent
     End Object
     Controls(0)=GUIButton'XInterface.Tab_SPProfileLoad.btnNew'


     Begin Object Class=GUIListBox Name=lboxProfile
         OnCreateComponent=lboxProfile.InternalOnCreateComponent
         Hint="Select a profile"
         WinTop=0.131667
         WinLeft=0.330562
         WinWidth=0.264609
         WinHeight=0.610624
         OnChange=Tab_SPProfileLoad.InternalOnChange
     End Object
     Controls(1)=GUIListBox'XInterface.Tab_SPProfileLoad.lboxProfile'


     Begin Object Class=moEditBox Name=moebPlayerName
         bReadOnly=True
         LabelJustification=TXTA_Right
         CaptionWidth=0.550000
         Caption="Player Name: "
         LabelFont="UT2SmallFont"
         LabelColor=(B=255,G=255,R=255)
         OnCreateComponent=moebPlayerName.InternalOnCreateComponent
         Hint="Your character's name"
         WinTop=0.143847
         WinLeft=0.495360
         WinWidth=0.493750
         WinHeight=0.060000
     End Object
     Controls(2)=moEditBox'XInterface.Tab_SPProfileLoad.moebPlayerName'


     Begin Object Class=moEditBox Name=moebTeamName
         bReadOnly=True
         LabelJustification=TXTA_Right
         CaptionWidth=0.550000
         Caption="Team Name: "
         LabelFont="UT2SmallFont"
         LabelColor=(B=255,G=255,R=255)
         OnCreateComponent=moebTeamName.InternalOnCreateComponent
         Hint="The name of your team"
         WinTop=0.212590
         WinLeft=0.495360
         WinWidth=0.493750
         WinHeight=0.060000
     End Object
     Controls(3)=moEditBox'XInterface.Tab_SPProfileLoad.moebTeamName'


     Begin Object Class=moEditBox Name=moebDifficulty
         bReadOnly=True
         LabelJustification=TXTA_Right
         CaptionWidth=0.550000
         Caption="Difficulty: "
         LabelFont="UT2SmallFont"
         LabelColor=(B=255,G=255,R=255)
         OnCreateComponent=moebDifficulty.InternalOnCreateComponent
         Hint="Difficulty rating of this tournament"
         WinTop=0.280038
         WinLeft=0.495360
         WinWidth=0.493750
         WinHeight=0.060000
     End Object
     Controls(4)=moEditBox'XInterface.Tab_SPProfileLoad.moebDifficulty'


     Begin Object Class=moEditBox Name=moebKills
         bReadOnly=True
         LabelJustification=TXTA_Right
         CaptionWidth=0.550000
         Caption="Kills: "
         LabelFont="UT2SmallFont"
         LabelColor=(B=255,G=255,R=255)
         OnCreateComponent=moebKills.InternalOnCreateComponent
         Hint="Number of kills by this character"
         WinTop=0.391236
         WinLeft=0.495360
         WinWidth=0.493750
         WinHeight=0.060000
     End Object
     Controls(5)=moEditBox'XInterface.Tab_SPProfileLoad.moebKills'


     Begin Object Class=moEditBox Name=moebDeaths
         bReadOnly=True
         LabelJustification=TXTA_Right
         CaptionWidth=0.550000
         Caption="Deaths: "
         LabelFont="UT2SmallFont"
         LabelColor=(B=255,G=255,R=255)
         OnCreateComponent=moebDeaths.InternalOnCreateComponent
         Hint="Number of times this character has died"
         WinTop=0.458684
         WinLeft=0.495360
         WinWidth=0.493750
         WinHeight=0.060000
     End Object
     Controls(6)=moEditBox'XInterface.Tab_SPProfileLoad.moebDeaths'


     Begin Object Class=moEditBox Name=moebGoals
         bReadOnly=True
         LabelJustification=TXTA_Right
         CaptionWidth=0.550000
         Caption="Goals: "
         LabelFont="UT2SmallFont"
         LabelColor=(B=255,G=255,R=255)
         OnCreateComponent=moebGoals.InternalOnCreateComponent
         Hint="Number of goals scored by this character"
         WinTop=0.528632
         WinLeft=0.495360
         WinWidth=0.493750
         WinHeight=0.060000
     End Object
     Controls(7)=moEditBox'XInterface.Tab_SPProfileLoad.moebGoals'


     Begin Object Class=GUIImage Name=imagePlayerSkin
         Image=Texture'InterfaceContent.Menu.BorderBoxD'
         ImageStyle=ISTY_Scaled
         ImageRenderStyle=MSTY_Normal
         Hint="Your character's appearance"
         WinTop=0.162552
         WinLeft=0.173148
         WinWidth=0.133300
         WinHeight=0.500000
     End Object
     Controls(8)=GUIImage'XInterface.Tab_SPProfileLoad.imagePlayerSkin'


     Begin Object Class=GUIImage Name=imageSkinBack
         Image=Texture'InterfaceContent.Menu.BorderBoxA1'
         ImageStyle=ISTY_Stretched
         ImageRenderStyle=MSTY_Normal
         WinTop=0.158646
         WinLeft=0.171195
         WinWidth=0.138300
         WinHeight=0.510000
     End Object
     Controls(9)=GUIImage'XInterface.Tab_SPProfileLoad.imageSkinBack'


     Begin Object Class=GUIImage Name=imageTeamSymbol
         Image=FinalBlend'InterfaceContent.Menu.SimpleBorder_F'
         ImageStyle=ISTY_Scaled
         ImageRenderStyle=MSTY_Normal
         Hint="Your team's symbol"
         WinTop=0.262500
         WinLeft=0.016538
         WinWidth=0.150000
         WinHeight=0.277800
     End Object
     Controls(10)=GUIImage'XInterface.Tab_SPProfileLoad.imageTeamSymbol'


     Begin Object Class=GUIButton Name=btnDelete
         Caption="DELETE PROFILE"
         Hint="Delete the currently selected profile"
         WinTop=0.925000
         WinLeft=0.141250
         WinWidth=0.218750
         WinHeight=0.075000
         OnClick=Tab_SPProfileLoad.DeleteClick
         OnKeyEvent=btnDelete.InternalOnKeyEvent
     End Object
     Controls(11)=GUIButton'XInterface.Tab_SPProfileLoad.btnDelete'


     Begin Object Class=GUIButton Name=btnLoad
         Caption="LOAD PROFILE"
         Hint="Load the selected profile"
         WinTop=0.925000
         WinLeft=0.412500
         WinWidth=0.200000
         WinHeight=0.075000
         OnClick=Tab_SPProfileLoad.LoadClick
         OnKeyEvent=btnLoad.InternalOnKeyEvent
     End Object
     Controls(12)=GUIButton'XInterface.Tab_SPProfileLoad.btnLoad'


     Begin Object Class=GUIImage Name=SPPLDataBox
         Image=Texture'InterfaceContent.Menu.BorderBoxD'
         ImageColor=(A=160)
         ImageStyle=ISTY_Stretched
         WinTop=0.131250
         WinLeft=0.601563
         WinWidth=0.393751
         WinHeight=0.613750
     End Object
     Controls(13)=GUIImage'XInterface.Tab_SPProfileLoad.SPPLDataBox'


     Begin Object Class=GUIImage Name=SPPLImageBox
         Image=Texture'InterfaceContent.Menu.BorderBoxD'
         ImageColor=(A=160)
         ImageStyle=ISTY_Stretched
         WinTop=0.131250
         WinLeft=0.006251
         WinWidth=0.318752
         WinHeight=0.612187
     End Object
     Controls(14)=GUIImage'XInterface.Tab_SPProfileLoad.SPPLImageBox'


     Begin Object Class=GUILabel Name=SPPLLblStats
         Caption="PROFILE STATS"
         TextAlign=TXTA_Center
         TextColor=(B=255,G=255,R=255)
         TextFont="UT2SmallFont"
         WinTop=0.734586
         WinLeft=0.592186
         WinWidth=0.400000
         WinHeight=0.100000
     End Object
     Controls(15)=GUILabel'XInterface.Tab_SPProfileLoad.SPPLLblStats'


     Begin Object Class=GUILabel Name=SPPLLblProfiles
         Caption="PROFILE LISTING"
         TextAlign=TXTA_Center
         TextColor=(B=255,G=255,R=255)
         TextFont="UT2SmallFont"
         WinTop=0.730417
         WinLeft=0.264062
         WinWidth=0.400000
         WinHeight=0.100000
     End Object
     Controls(16)=GUILabel'XInterface.Tab_SPProfileLoad.SPPLLblProfiles'


     Begin Object Class=GUIImage Name=symbolBack
         Image=Texture'InterfaceContent.Menu.BorderBoxA1'
         ImageStyle=ISTY_Stretched
         ImageRenderStyle=MSTY_Normal
         WinTop=0.265417
         WinLeft=0.015922
         WinWidth=0.149042
         WinHeight=0.273672
     End Object
     Controls(17)=GUIImage'XInterface.Tab_SPProfileLoad.symbolBack'


     Begin Object Class=moEditBox Name=moebWins
         bReadOnly=True
         LabelJustification=TXTA_Right
         CaptionWidth=0.550000
         Caption="Wins: "
         LabelFont="UT2SmallFont"
         LabelColor=(B=255,G=255,R=255)
         OnCreateComponent=moebWins.InternalOnCreateComponent
         Hint="Number of matches won by this character"
         WinTop=0.597135
         WinLeft=0.495315
         WinWidth=0.493751
         WinHeight=0.060000
     End Object
     Controls(18)=moEditBox'XInterface.Tab_SPProfileLoad.moebWins'


     Begin Object Class=moEditBox Name=moebMatches
         bReadOnly=True
         LabelJustification=TXTA_Right
         CaptionWidth=0.550000
         Caption="Matches: "
         LabelFont="UT2SmallFont"
         LabelColor=(B=255,G=255,R=255)
         OnCreateComponent=moebMatches.InternalOnCreateComponent
         Hint="Number of matches played by this character"
         WinTop=0.667852
         WinLeft=0.495360
         WinWidth=0.493750
         WinHeight=0.060000
     End Object
     Controls(19)=moEditBox'XInterface.Tab_SPProfileLoad.moebMatches'


     WinTop=0.150000
     WinHeight=0.770000
}

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