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

XInterface.Tab_WeaponPref

Extends
UT2K3TabPanel

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

Variables Summary
boolbChanged
boolbUseDefaultPriority
boolbWeapPrefInitialised
class<Weapon>MyCurWeapon
GUIListBoxMyCurWeaponList
SpinnyWeapSpinnyWeap
vectorSpinnyWeapOffset
moCheckBoxSwitchWeaponCheckBox
GUIScrollTextBoxWeaponDescriptionBox
Inherited Variables from XInterface.GUITabPanel
bFillHeight, FadeInTime, MyButton, PanelCaption

Delegates Summary
delegate OnDeActivate ()))

Functions Summary
functionint CompareWeaponPriority (GUIListElem ElemA, GUIListElem ElemB))
function InitComponent (GUIController MyController, GUIComponent MyOwner))
functionbool InternalDraw (Canvas canvas))
function InternalOnChange (GUIComponent Sender))
function ShowPanel (bool bShow))
function SwapWeapons (int IndexA, int IndexB))
function UpdateCurrentWeapon ()))
function UpdateWeaponPriorities ()))
functionbool WeapApply (GUIComponent Sender))
functionbool WeapDefaults (GUIComponent Sender))
functionbool WeapDown (GUIComponent Sender))
functionbool WeapUp (GUIComponent Sender))
Inherited Functions from XInterface.GUITabPanel
CanShowPanel, Free, InitPanel, OnDestroyPanel, Refresh, ShowPanel


Variables Detail

bChanged Source code

var bool bChanged;

bUseDefaultPriority Source code

var bool bUseDefaultPriority;

bWeapPrefInitialised Source code

var bool bWeapPrefInitialised;

MyCurWeapon Source code

var class<Weapon> MyCurWeapon;

MyCurWeaponList Source code

var GUIListBox MyCurWeaponList;

SpinnyWeap Source code

var SpinnyWeap SpinnyWeap;

SpinnyWeapOffset Source code

var vector SpinnyWeapOffset;

SwitchWeaponCheckBox Source code

var moCheckBox SwitchWeaponCheckBox;

WeaponDescriptionBox Source code

var GUIScrollTextBox WeaponDescriptionBox;


Delegates Detail

OnDeActivate Source code

delegate OnDeActivate ( ) )


Functions Detail

CompareWeaponPriority Source code

function int CompareWeaponPriority ( GUIListElem ElemA, GUIListElem ElemB) )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner) )

InternalDraw Source code

function bool InternalDraw ( Canvas canvas) )

InternalOnChange Source code

function InternalOnChange ( GUIComponent Sender) )

ShowPanel Source code

function ShowPanel ( bool bShow) )

SwapWeapons Source code

function SwapWeapons ( int IndexA, int IndexB) )

UpdateCurrentWeapon Source code

function UpdateCurrentWeapon ( ) )

UpdateWeaponPriorities Source code

function UpdateWeaponPriorities ( ) )

WeapApply Source code

function bool WeapApply ( GUIComponent Sender) )

WeapDefaults Source code

function bool WeapDefaults ( GUIComponent Sender) )

WeapDown Source code

function bool WeapDown ( GUIComponent Sender) )

WeapUp Source code

function bool WeapUp ( GUIComponent Sender) )


Defaultproperties

defaultproperties
{
	Begin Object Class=GUIListBox Name=WeaponPrefWeapList
		WinWidth=0.400000
		WinHeight=0.696251
		WinLeft=0.022
		WinTop=0.083333
		bVisibleWhenEmpty=true
		StyleName="SquareButton"
		Hint="Select order for weapons"
		OnChange=InternalOnChange
	End Object
	Controls(0)=WeaponPrefWeapList


	Begin Object Class=GUIButton Name=WeaponPrefWeapUp
		Caption="Raise Priority"
		Hint="Increase the priority this weapon will have when picking your best weapon."
		WinWidth=0.19
		WinHeight=0.050000
		WinLeft=0.022
		WinTop=0.800000
		OnClick=WeapUp
		OnClickSound=CS_Up
	End Object
	Controls(1)=WeaponPrefWeapUp


	Begin Object Class=GUIButton Name=WeaponPrefWeapDown
		Caption="Lower Priority"
		Hint="Decrease the priority this weapon will have when picking your best weapon."
		WinWidth=0.19
		WinHeight=0.050000
		WinLeft=0.022
		WinTop=0.870000
		OnClick=WeapDown
		OnClickSound=CS_Down
	End Object
	Controls(2)=WeaponPrefWeapDown


	Begin Object Class=GUIButton Name=WeaponDefaults
		Caption="Defaults"
		Hint="Set the weapon priorities back to default"
		WinWidth=0.190000
		WinHeight=0.050000
		WinLeft=0.231250
		WinTop=0.800000
		OnClick=WeapDefaults
	End Object
	Controls(3)=WeaponDefaults


	Begin Object class=moCheckBox Name=WeaponAutoSwitch
		WinWidth=0.3
		WinHeight=0.06
		WinLeft=0.028
		WinTop=0.939062
		Caption="Switch On Pickup"
		Hint="Automatically change weapons when you pick up a better one."
		bSquare=true
		ComponentJustification=TXTA_Left
		CaptionWidth=0.8
		OnChange=InternalOnChange
	End Object
	Controls(4)=WeaponAutoSwitch


	Begin Object Class=GUIScrollTextBox Name=WeaponDescription
		WinWidth=0.532501
		WinHeight=0.278750
		WinLeft=0.449999
		WinTop=0.656667
		CharDelay=0.0015
		EOLDelay=0.25
		bNeverFocus=true
		bAcceptsInput=false
	End Object
	Controls(5)=WeaponDescription


	Begin Object class=GUILabel Name=WeaponPriorityLabel
		Caption="Weapon Priority"
		TextALign=TXTA_Left
		TextColor=(R=255,G=255,B=255,A=255)
		TextFont="UT2MenuFont"
		WinWidth=0.400000
		WinHeight=32.000000
		WinLeft=0.031914
		WinTop=0.015000
	End Object
	Controls(6)=WeaponPriorityLabel


	Begin Object class=GUIImage Name=WeaponBK
		WinWidth=0.533749
		WinHeight=0.552270
		WinLeft=0.450391
		WinTop=0.085365
		Image=Material'InterfaceContent.Menu.BorderBoxD'
		ImageColor=(R=255,G=255,B=255,A=160);
		
		ImageStyle=ISTY_Stretched
	End Object
	Controls(7)=WeaponBK


	Begin Object class=moCheckBox Name=WeaponSwap
		WinWidth=0.268750
		WinHeight=0.040000
		WinLeft=0.551437
		WinTop=0.970312
		Caption="Swap Fire Mode"
		Hint="Check this box to swap the firing mode on the selected weapon."
		bSquare=true
		ComponentJustification=TXTA_Left
		CaptionWidth=0.8
		OnChange=InternalOnChange
	End Object
	Controls(8)=WeaponSwap


	WinTop=0.15
	WinLeft=0
	WinWidth=1
	WinHeight=0.74
	bAcceptsInput=false
	OnDraw=InternalDraw
	SpinnyWeapOffset=(X=150,Y=54.5,Z=14)


}

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