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
{
	Begin Object Class=GUIImage Name=imgEditsBack
		Image=Material'InterfaceContent.Menu.EditBox'
		WinWidth=0.444304
		WinHeight=0.77
		WinLeft=0.504375
		WinTop=0.073
		ImageStyle=ISTY_Stretched
		bNeverFocus=true
		bAcceptsInput=false
	End Object


	
	Begin Object class=GUIEditBox Name=ebNameEdit
		TextStr="PlayerName"
		AllowedCharSet="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"
	End Object


	Begin Object class=moEditBox Name=moebPlayerName
		Caption="Player Name: "
		Hint="Your character's name"
		LabelJustification=TXTA_Left
		LabelFont="UT2SmallFont"
		LabelColor=(R=255,G=255,B=255,A=255)
		WinWidth=0.345
		WinHeight=0.122500
		WinLeft=0.553125
		WinTop=0.286087
		MyComponent=ebNameEdit
		bVerticalLayout=true
	End Object


	
	Begin Object class=GUIEditBox Name=ebTeamEdit
		TextStr="TeamName"
		AllowedCharSet="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"
	End Object


	Begin Object class=moEditBox Name=moebTeamName
		Caption="Team Name: "
		Hint="The name of your team"
		LabelJustification=TXTA_Left
		LabelFont="UT2SmallFont"
		LabelColor=(R=255,G=255,B=255,A=255)
		WinWidth=0.345
		WinHeight=0.122500
		WinLeft=0.553125
		WinTop=0.428007
		MyComponent=ebTeamEdit
		bVerticalLayout=true
	End Object


	
	Begin Object class=GUIComboBox Name=cbDifficulty
		bReadOnly=true
	End Object


	Begin Object class=moComboBox Name=mocbDifficulty
		Caption="Difficulty: "
		Hint="Customize your challenge"
		LabelJustification=TXTA_Left
		LabelFont="UT2SmallFont"
		LabelColor=(R=255,G=255,B=255,A=255)
		WinWidth=0.345
		WinHeight=0.122500
		WinLeft=0.553125
		WinTop=0.568803
		MyComponent=cbDifficulty
		bVerticalLayout=true
	End Object


	
	Begin Object class=GUICharacterListTeam Name=clistPlayerSkins
		Hint="Your character's appearance, use arrow keys to change"
		WinWidth=0.124694
		WinHeight=0.500000
		WinLeft=0.083462
		WinTop=0.117917
		bCenterInBounds=true
		FixedItemsPerPage=1
		StyleName="CharButton"
	End Object


	
	Begin Object class=GUIImageList Name=ilTeamSymbols
		Hint="Your team's symbol; use arrow keys to change"
		WinWidth=0.167212
		WinHeight=0.500000
		WinLeft=0.303972
		WinTop=0.137175
		bAcceptsInput=true
		bNeverFocus=false
		ImageColor=(R=255,G=255,B=255,A=255);
		ImageRenderStyle=MSTY_Normal
		ImageStyle=ISTY_Justified
		ImageAlign=IMGA_Center
		bWrap=true
	End Object


	
	Begin Object Class=GUIButton Name=btnBack
		Caption="BACK"
		Hint="Return to previous menu"
		OnClick=BackClick
		WinWidth=0.200000
		WinHeight=0.075000
		WinLeft=0.028125
		WinTop=0.925
	End Object


	
	Begin Object Class=GUIButton Name=btnDefaults
		Caption="SET TO DEFAULTS"
		Hint="Set this profile back to default values"
		OnClick=DefaultsClick
		WinWidth=0.232813
		WinHeight=0.075000
		WinLeft=0.367500
		WinTop=0.925
	End Object


	Begin Object Class=GUIButton Name=btnSaveProfile
		Caption="CREATE PROFILE"
		Hint="Create a profile with these settings"
		OnClick=CreateClick
		WinWidth=0.223438
		WinHeight=0.075000
		WinLeft=0.744060
		WinTop=0.925
	End Object


	Begin Object Class=GUIImage Name=imgSkinsBack
		Image=Material'InterfaceContent.Menu.EditBox'
		WinWidth=0.215
		WinHeight=0.77
		WinLeft=0.055938
		WinTop=0.073
		ImageStyle=ISTY_Stretched
		bNeverFocus=true
		bAcceptsInput=false
	End Object


	Begin Object Class=GUIGfxButton Name=btnPrevSkin
		Hint="Selects a new appearance for your character"
		Graphic=Material'InterfaceContent.Menu.fbArrowLeft'
		OnClick=PrevSkin
		WinWidth=0.080000
		WinHeight=0.080000
		WinLeft=0.080000
		WinTop=0.640000
		bNeverFocus=true
	    Position=ICP_Scaled
	End Object


	Begin Object Class=GUIGfxButton Name=btnNextSkin
		Hint="Selects a new appearance for your character"
		Graphic=Material'InterfaceContent.Menu.fbArrowRight'
		OnClick=NextSkin
		WinWidth=0.080000
		WinHeight=0.080000
		WinLeft=0.172187
		WinTop=0.640000
	    Position=ICP_Scaled
		bNeverFocus=true
	End Object


	Begin Object Class=GUIImage Name=imgSymbolsBack
		Image=Material'InterfaceContent.Menu.EditBox'
		WinWidth=0.215000
		WinHeight=0.770000
		WinLeft=0.280243
		WinTop=0.073000
		ImageStyle=ISTY_Stretched
		bNeverFocus=true
	End Object


	Begin Object Class=GUIGfxButton Name=btnPrevSymbol
		Hint="Selects a new symbol for your team"
		Graphic=Material'InterfaceContent.Menu.fbArrowLeft'
		OnClick=PrevSymbol
		WinWidth=0.080000
		WinHeight=0.080000
		WinLeft=0.298750
		WinTop=0.640000
		bNeverFocus=true
	    Position=ICP_Scaled
	End Object


	Begin Object Class=GUIGfxButton Name=btnNextSymbol
		Hint="Selects a new symbol for your team"
		Graphic=Material'InterfaceContent.Menu.fbArrowRight'
		OnClick=NextSymbol
		WinWidth=0.080000
		WinHeight=0.080000
		WinLeft=0.389375
		WinTop=0.640000
		bNeverFocus=true
	    Position=ICP_Scaled
	End Object


	Begin Object class=GUILabel Name=lblTeamSymbol
		Caption="Select|Team Symbol"
		TextALign=TXTA_Center
		TextFont="UT2SmallFont"
		TextColor=(R=255,G=255,B=255,A=255)
		WinWidth=0.200000
		WinHeight=0.100000
		WinLeft=0.284375
		WinTop=0.724583
		bMultiLine=true
	End Object


	Begin Object class=GUILabel Name=lblCharacter
		Caption="Select|Character"
		TextALign=TXTA_Center
		TextFont="UT2SmallFont"
		TextColor=(R=255,G=255,B=255,A=255)
		WinWidth=0.200000
		WinHeight=0.100000
		WinLeft=0.064062
		WinTop=0.724583
		bMultiLine=true
	End Object


	
	Begin Object class=GUIImage Name=portraitBackground
		Image=Material'InterfaceContent.Menu.BorderBoxA1'
		WinWidth=0.146680
		WinHeight=0.506094
		WinLeft=0.094141
		WinTop=0.110469
		ImageColor=(R=255,G=255,B=255,A=255);
		ImageRenderStyle=MSTY_Normal
		ImageStyle=ISTY_Stretched
		bVisible=false
	End Object


	
	Begin Object class=GUIImage Name=symbolBackground
		WinWidth=0.179101
		WinHeight=0.297265
		WinLeft=0.296196
		WinTop=0.237865
		Image=Material'InterfaceContent.Menu.BorderBoxA1'
		ImageColor=(R=255,G=255,B=255,A=255);
		ImageRenderStyle=MSTY_Normal
		ImageStyle=ISTY_Stretched
	End Object


	Controls(0)=btnSaveProfile
	Controls(1)=imgEditsBack
	Controls(2)=moebPlayerName
	Controls(3)=moebTeamName
	Controls(4)=mocbDifficulty
	Controls(5)=imgSkinsBack
	Controls(6)=clistPlayerSkins
	Controls(7)=btnPrevSkin
	Controls(8)=btnNextSkin
	Controls(9)=imgSymbolsBack
	Controls(10)=ilTeamSymbols
	Controls(11)=btnPrevSymbol
	Controls(12)=btnNextSymbol
	Controls(13)=btnBack
	Controls(14)=btnDefaults
	Controls(15)=lblCharacter
	Controls(16)=lblTeamSymbol
	Controls(17)=symbolBackground
	Controls(18)=portraitBackground


	DefaultName="Player"
	DefaultTeamName="Team"
	DefaultTeamSymbol=1
	TeamSymbolPrefix="TeamSymbols_UT2003.sym"
	DefaultCharacter="Gorge"


	WinTop=0.15
	WinLeft=0
	WinWidth=1
	WinHeight=0.77
	bAcceptsInput=false


	Err_ProfileExists="Profile with name %prof% already exists!"
	Err_CantCreateProfile="Profile creation failed."
}

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