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

XInterface.Tab_SPProfileNew

Extends
Tab_SPPanelBase

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

Constants Summary
MAXSYMBOL=22
MINSYMBOL=1

Variables Summary
GUIComboBoxcDifficulty
GUICharacterListTeamclPlayerSkins
intCurrentTeamSymbolNum
stringDefaultCharacter
stringDefaultName
stringDefaultTeamName
intDefaultTeamSymbol
GUIEditBoxePlayerName
stringErr_CantCreateProfile
stringErr_ProfileExists
GUIEditBoxeTeamName
GUIImageListiTeamSymbols
stringTeamSymbolPrefix

Functions Summary
functionbool BackClick (GUIComponent Sender)
function ClearStats ()
functionbool CreateClick (GUIComponent Sender)
functionstring CurrentTeamSymbolName ()
functionbool DefaultsClick (GUIComponent Sender)
functionstring GetTeamSymbolName (int idx)
function InitComponent (GUIController pMyController, GUIComponent MyOwner)
function InitPanel ()
function LoadSymbols ()
functionbool NextSkin (GUIComponent Sender)
functionbool NextSymbol (GUIComponent Sender)
functionbool PlayerOnClick (GUIComponent Sender)
functionbool PrevSkin (GUIComponent Sender)
functionbool PrevSymbol (GUIComponent Sender)
Inherited Functions from XInterface.Tab_SPPanelBase
GetProfile, MatchUpdated, MyTabControl, OnMatchUpdated, OnProfileUpdated, ProfileUpdated


Constants Detail

MAXSYMBOL Source code

const MAXSYMBOL = 22;

MINSYMBOL Source code

const MINSYMBOL = 1;


Variables Detail

cDifficulty Source code

var GUIComboBox cDifficulty;

clPlayerSkins Source code

var GUICharacterListTeam clPlayerSkins;

CurrentTeamSymbolNum Source code

var int CurrentTeamSymbolNum;

DefaultCharacter Source code

var string DefaultCharacter;

DefaultName Source code

var localized string DefaultName;

DefaultTeamName Source code

var localized string DefaultTeamName;

DefaultTeamSymbol Source code

var int DefaultTeamSymbol;

ePlayerName Source code

var GUIEditBox ePlayerName;

Err_CantCreateProfile Source code

var localized string Err_CantCreateProfile;

Err_ProfileExists Source code

var localized string Err_ProfileExists;

eTeamName Source code

var GUIEditBox eTeamName;

iTeamSymbols Source code

var GUIImageList iTeamSymbols;

TeamSymbolPrefix Source code

var string TeamSymbolPrefix;


Functions Detail

BackClick Source code

function bool BackClick ( GUIComponent Sender )

ClearStats Source code

function ClearStats ( )

CreateClick Source code

function bool CreateClick ( GUIComponent Sender )

CurrentTeamSymbolName Source code

function string CurrentTeamSymbolName ( )

DefaultsClick Source code

function bool DefaultsClick ( GUIComponent Sender )

GetTeamSymbolName Source code

function string GetTeamSymbolName ( int idx )

InitComponent Source code

function InitComponent ( GUIController pMyController, GUIComponent MyOwner )

InitPanel Source code

function InitPanel ( )

LoadSymbols Source code

function LoadSymbols ( )

NextSkin Source code

function bool NextSkin ( GUIComponent Sender )

NextSymbol Source code

function bool NextSymbol ( GUIComponent Sender )

PlayerOnClick Source code

function bool PlayerOnClick ( GUIComponent Sender )

PrevSkin Source code

function bool PrevSkin ( GUIComponent Sender )

PrevSymbol Source code

function bool PrevSymbol ( GUIComponent Sender )


Defaultproperties

defaultproperties
{
     DefaultName="Player"
     DefaultTeamName="Team"
     DefaultCharacter="Gorge"
     TeamSymbolPrefix="TeamSymbols_UT2003.sym"
     DefaultTeamSymbol=1
     Err_ProfileExists="Profile with name %prof% already exists!"
     Err_CantCreateProfile="Profile creation failed."
     Begin Object Class=GUIButton Name=btnSaveProfile
         Caption="CREATE PROFILE"
         Hint="Create a profile with these settings"
         WinTop=0.925000
         WinLeft=0.744060
         WinWidth=0.223438
         WinHeight=0.075000
         OnClick=Tab_SPProfileNew.CreateClick
         OnKeyEvent=btnSaveProfile.InternalOnKeyEvent
     End Object
     Controls(0)=GUIButton'XInterface.Tab_SPProfileNew.btnSaveProfile'

     Begin Object Class=GUIImage Name=imgEditsBack
         Image=Texture'InterfaceContent.Menu.EditBox'
         ImageStyle=ISTY_Stretched
         WinTop=0.073000
         WinLeft=0.504375
         WinWidth=0.444304
         WinHeight=0.770000
         bNeverFocus=True
     End Object
     Controls(1)=GUIImage'XInterface.Tab_SPProfileNew.imgEditsBack'

     Begin Object Class=moEditBox Name=moebPlayerName
         bVerticalLayout=True
         Caption="Player Name: "
         LabelFont="UT2SmallFont"
         LabelColor=(B=255,G=255,R=255)
         Begin Object Class=GUIEditBox Name=ebNameEdit
             TextStr="PlayerName"
             AllowedCharSet="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"
             OnActivate=ebNameEdit.InternalActivate
             OnDeActivate=ebNameEdit.InternalDeactivate
             OnKeyType=ebNameEdit.InternalOnKeyType
             OnKeyEvent=ebNameEdit.InternalOnKeyEvent
         End Object
         MyComponent=GUIEditBox'XInterface.Tab_SPProfileNew.ebNameEdit'

         OnCreateComponent=moebPlayerName.InternalOnCreateComponent
         Hint="Your character's name"
         WinTop=0.286087
         WinLeft=0.553125
         WinWidth=0.345000
         WinHeight=0.122500
     End Object
     Controls(2)=moEditBox'XInterface.Tab_SPProfileNew.moebPlayerName'

     Begin Object Class=moEditBox Name=moebTeamName
         bVerticalLayout=True
         Caption="Team Name: "
         LabelFont="UT2SmallFont"
         LabelColor=(B=255,G=255,R=255)
         Begin Object Class=GUIEditBox Name=ebTeamEdit
             TextStr="TeamName"
             AllowedCharSet="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"
             OnActivate=ebTeamEdit.InternalActivate
             OnDeActivate=ebTeamEdit.InternalDeactivate
             OnKeyType=ebTeamEdit.InternalOnKeyType
             OnKeyEvent=ebTeamEdit.InternalOnKeyEvent
         End Object
         MyComponent=GUIEditBox'XInterface.Tab_SPProfileNew.ebTeamEdit'

         OnCreateComponent=moebTeamName.InternalOnCreateComponent
         Hint="The name of your team"
         WinTop=0.428007
         WinLeft=0.553125
         WinWidth=0.345000
         WinHeight=0.122500
     End Object
     Controls(3)=moEditBox'XInterface.Tab_SPProfileNew.moebTeamName'

     Begin Object Class=moComboBox Name=mocbDifficulty
         bVerticalLayout=True
         Caption="Difficulty: "
         LabelFont="UT2SmallFont"
         LabelColor=(B=255,G=255,R=255)
         Begin Object Class=GUIComboBox Name=cbDifficulty
             bReadOnly=True
             OnKeyEvent=cbDifficulty.InternalOnKeyEvent
         End Object
         MyComponent=GUIComboBox'XInterface.Tab_SPProfileNew.cbDifficulty'

         OnCreateComponent=mocbDifficulty.InternalOnCreateComponent
         Hint="Customize your challenge"
         WinTop=0.568803
         WinLeft=0.553125
         WinWidth=0.345000
         WinHeight=0.122500
     End Object
     Controls(4)=moComboBox'XInterface.Tab_SPProfileNew.mocbDifficulty'

     Begin Object Class=GUIImage Name=imgSkinsBack
         Image=Texture'InterfaceContent.Menu.EditBox'
         ImageStyle=ISTY_Stretched
         WinTop=0.073000
         WinLeft=0.055938
         WinWidth=0.215000
         WinHeight=0.770000
         bNeverFocus=True
     End Object
     Controls(5)=GUIImage'XInterface.Tab_SPProfileNew.imgSkinsBack'

     Begin Object Class=GUICharacterListTeam Name=clistPlayerSkins
         FixedItemsPerPage=1
         StyleName="CharButton"
         Hint="Your character's appearance, use arrow keys to change"
         WinTop=0.117917
         WinLeft=0.083462
         WinWidth=0.124694
         WinHeight=0.500000
         OnClick=clistPlayerSkins.InternalOnClick
         OnRightClick=clistPlayerSkins.InternalOnRightClick
         OnMousePressed=clistPlayerSkins.InternalOnMousePressed
         OnMouseRelease=clistPlayerSkins.InternalOnMouseRelease
         OnKeyEvent=clistPlayerSkins.InternalOnKeyEvent
         OnBeginDrag=clistPlayerSkins.InternalOnBeginDrag
         OnEndDrag=clistPlayerSkins.InternalOnEndDrag
         OnDragDrop=clistPlayerSkins.InternalOnDragDrop
         OnDragEnter=clistPlayerSkins.InternalOnDragEnter
         OnDragLeave=clistPlayerSkins.InternalOnDragLeave
         OnDragOver=clistPlayerSkins.InternalOnDragOver
     End Object
     Controls(6)=GUICharacterListTeam'XInterface.Tab_SPProfileNew.clistPlayerSkins'

     Begin Object Class=GUIGFXButton Name=btnPrevSkin
         Graphic=FinalBlend'InterfaceContent.Menu.fbArrowLeft'
         Position=ICP_Scaled
         Hint="Selects a new appearance for your character"
         WinTop=0.640000
         WinLeft=0.080000
         WinWidth=0.080000
         WinHeight=0.080000
         bNeverFocus=True
         OnClick=Tab_SPProfileNew.PrevSkin
         OnKeyEvent=btnPrevSkin.InternalOnKeyEvent
     End Object
     Controls(7)=GUIGFXButton'XInterface.Tab_SPProfileNew.btnPrevSkin'

     Begin Object Class=GUIGFXButton Name=btnNextSkin
         Graphic=FinalBlend'InterfaceContent.Menu.fbArrowRight'
         Position=ICP_Scaled
         Hint="Selects a new appearance for your character"
         WinTop=0.640000
         WinLeft=0.172187
         WinWidth=0.080000
         WinHeight=0.080000
         bNeverFocus=True
         OnClick=Tab_SPProfileNew.NextSkin
         OnKeyEvent=btnNextSkin.InternalOnKeyEvent
     End Object
     Controls(8)=GUIGFXButton'XInterface.Tab_SPProfileNew.btnNextSkin'

     Begin Object Class=GUIImage Name=imgSymbolsBack
         Image=Texture'InterfaceContent.Menu.EditBox'
         ImageStyle=ISTY_Stretched
         WinTop=0.073000
         WinLeft=0.280243
         WinWidth=0.215000
         WinHeight=0.770000
         bNeverFocus=True
     End Object
     Controls(9)=GUIImage'XInterface.Tab_SPProfileNew.imgSymbolsBack'

     Begin Object Class=GUIImageList Name=ilTeamSymbols
         bWrap=True
         ImageStyle=ISTY_Justified
         ImageRenderStyle=MSTY_Normal
         ImageAlign=IMGA_Center
         Hint="Your team's symbol; use arrow keys to change"
         WinTop=0.137175
         WinLeft=0.303972
         WinWidth=0.167212
         WinHeight=0.500000
     End Object
     Controls(10)=GUIImageList'XInterface.Tab_SPProfileNew.ilTeamSymbols'

     Begin Object Class=GUIGFXButton Name=btnPrevSymbol
         Graphic=FinalBlend'InterfaceContent.Menu.fbArrowLeft'
         Position=ICP_Scaled
         Hint="Selects a new symbol for your team"
         WinTop=0.640000
         WinLeft=0.298750
         WinWidth=0.080000
         WinHeight=0.080000
         bNeverFocus=True
         OnClick=Tab_SPProfileNew.PrevSymbol
         OnKeyEvent=btnPrevSymbol.InternalOnKeyEvent
     End Object
     Controls(11)=GUIGFXButton'XInterface.Tab_SPProfileNew.btnPrevSymbol'

     Begin Object Class=GUIGFXButton Name=btnNextSymbol
         Graphic=FinalBlend'InterfaceContent.Menu.fbArrowRight'
         Position=ICP_Scaled
         Hint="Selects a new symbol for your team"
         WinTop=0.640000
         WinLeft=0.389375
         WinWidth=0.080000
         WinHeight=0.080000
         bNeverFocus=True
         OnClick=Tab_SPProfileNew.NextSymbol
         OnKeyEvent=btnNextSymbol.InternalOnKeyEvent
     End Object
     Controls(12)=GUIGFXButton'XInterface.Tab_SPProfileNew.btnNextSymbol'

     Begin Object Class=GUIButton Name=btnBack
         Caption="BACK"
         Hint="Return to previous menu"
         WinTop=0.925000
         WinLeft=0.028125
         WinWidth=0.200000
         WinHeight=0.075000
         OnClick=Tab_SPProfileNew.BackClick
         OnKeyEvent=btnBack.InternalOnKeyEvent
     End Object
     Controls(13)=GUIButton'XInterface.Tab_SPProfileNew.btnBack'

     Begin Object Class=GUIButton Name=btnDefaults
         Caption="SET TO DEFAULTS"
         Hint="Set this profile back to default values"
         WinTop=0.925000
         WinLeft=0.367500
         WinWidth=0.232813
         WinHeight=0.075000
         OnClick=Tab_SPProfileNew.DefaultsClick
         OnKeyEvent=btnDefaults.InternalOnKeyEvent
     End Object
     Controls(14)=GUIButton'XInterface.Tab_SPProfileNew.btnDefaults'

     Begin Object Class=GUILabel Name=lblCharacter
         Caption="Select|Character"
         TextAlign=TXTA_Center
         TextColor=(B=255,G=255,R=255)
         TextFont="UT2SmallFont"
         bMultiLine=True
         WinTop=0.724583
         WinLeft=0.064062
         WinWidth=0.200000
         WinHeight=0.100000
     End Object
     Controls(15)=GUILabel'XInterface.Tab_SPProfileNew.lblCharacter'

     Begin Object Class=GUILabel Name=lblTeamSymbol
         Caption="Select|Team Symbol"
         TextAlign=TXTA_Center
         TextColor=(B=255,G=255,R=255)
         TextFont="UT2SmallFont"
         bMultiLine=True
         WinTop=0.724583
         WinLeft=0.284375
         WinWidth=0.200000
         WinHeight=0.100000
     End Object
     Controls(16)=GUILabel'XInterface.Tab_SPProfileNew.lblTeamSymbol'

     Begin Object Class=GUIImage Name=symbolBackground
         Image=Texture'InterfaceContent.Menu.BorderBoxA1'
         ImageStyle=ISTY_Stretched
         ImageRenderStyle=MSTY_Normal
         WinTop=0.237865
         WinLeft=0.296196
         WinWidth=0.179101
         WinHeight=0.297265
     End Object
     Controls(17)=GUIImage'XInterface.Tab_SPProfileNew.symbolBackground'

     Begin Object Class=GUIImage Name=portraitBackground
         Image=Texture'InterfaceContent.Menu.BorderBoxA1'
         ImageStyle=ISTY_Stretched
         ImageRenderStyle=MSTY_Normal
         WinTop=0.110469
         WinLeft=0.094141
         WinWidth=0.146680
         WinHeight=0.506094
         bVisible=False
     End Object
     Controls(18)=GUIImage'XInterface.Tab_SPProfileNew.portraitBackground'

     WinTop=0.150000
     WinHeight=0.770000
}

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