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

XInterface.Tab_ControlSettings

Extends
UT2K3TabPanel

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

Direct Known Subclasses:

Tab_SpeechBinder

Constants Summary
DefaultBindings=54

Variables Summary
array<KeyBinding>Bindings
ColorBkColor
boolbListInitialised
boolbSetNextKeyPress
stringFooter
intHackIndex
stringHeader
array<string>Labels
GUIListBoxMyListBox
intNewIndex
intNewSubIndex
introw
floatSectionLabelMargin
GUIStylesSelStyle
Inherited Variables from XInterface.GUITabPanel
bFillHeight, FadeInTime, MyButton, PanelCaption

Structures Summary
KeyBinding
bIsSectionLabel, KeyLabel, Alias, Binds, BindKeyNames, BindLocalizedKeyNames

Functions Summary
function AddNewKey (int Index, int SubIndex, byte NewKey))
function AddToBindings (string Alias, string KeyLabel, bool bSectionLabel))
function DrawBinding (Canvas Canvas, int Item, float X, float Y, float W, float H, bool bSelected, bool bPending))
functionstring GetCurrentKeyBind (int index, int bind))
functionbool GetNewKey (GUIComponent Sender))
function InitBindings ()))
function InitComponent (GUIController MyController, GUIComponent MyOwner))
function ListChange (GUIComponent Sender))
functionbool ListOnKeyEvent (out byte Key, out byte State, float delta))
function MyOnAdjustTop (GUIComponent Sender))
functionbool RawKey (byte NewKey))
function RemoveAllOccurance (byte NewKey))
function RemoveExistingKey (int Index, int SubIndex))
functionbool ResetClicked (GUIComponent Sender))
function SearchDown (int OldIndex))
function SearchUp (int OldIndex))
function ShowPanel (bool bShow))
function Swap (int index, int a, int b))
function UpdateHint (int index))
functionint Weight (int i))
Inherited Functions from XInterface.GUITabPanel
CanShowPanel, Free, InitPanel, OnDestroyPanel, Refresh, ShowPanel


Constants Detail

DefaultBindings Source code

const DefaultBindings = 54;


Variables Detail

Bindings Source code

var array<KeyBinding> Bindings;

BkColor Source code

var Color BkColor;

bListInitialised Source code

var bool bListInitialised;

bSetNextKeyPress Source code

var bool bSetNextKeyPress;

Footer Source code

var localized string Footer;

HackIndex Source code

var int HackIndex;

Header Source code

var localized string Header;

Labels Source code

var localized array<string> Labels;

MyListBox Source code

var GUIListBox MyListBox;

NewIndex Source code

var int NewIndex;

NewSubIndex Source code

var int NewSubIndex;

row Source code

var int row;

SectionLabelMargin Source code

var float SectionLabelMargin;

SelStyle Source code

var GUIStyles SelStyle;


Structures Detail

KeyBinding Source code

struct KeyBinding
{
var string Alias;
var array<string> BindKeyNames;
var array<string> BindLocalizedKeyNames;
var array<int> Binds;
var bool bIsSectionLabel;
var localized string KeyLabel;
};



Functions Detail

AddNewKey Source code

function AddNewKey ( int Index, int SubIndex, byte NewKey) )

AddToBindings Source code

function AddToBindings ( string Alias, string KeyLabel, bool bSectionLabel) )

DrawBinding Source code

function DrawBinding ( Canvas Canvas, int Item, float X, float Y, float W, float H, bool bSelected, bool bPending) )

GetCurrentKeyBind Source code

function string GetCurrentKeyBind ( int index, int bind) )

GetNewKey Source code

function bool GetNewKey ( GUIComponent Sender) )

InitBindings Source code

function InitBindings ( ) )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner) )

ListChange Source code

function ListChange ( GUIComponent Sender) )

ListOnKeyEvent Source code

function bool ListOnKeyEvent ( out byte Key, out byte State, float delta) )

MyOnAdjustTop Source code

function MyOnAdjustTop ( GUIComponent Sender) )

RawKey Source code

function bool RawKey ( byte NewKey) )

RemoveAllOccurance Source code

function RemoveAllOccurance ( byte NewKey) )

RemoveExistingKey Source code

function RemoveExistingKey ( int Index, int SubIndex) )

ResetClicked Source code

function bool ResetClicked ( GUIComponent Sender) )

SearchDown Source code

function SearchDown ( int OldIndex) )

SearchUp Source code

function SearchUp ( int OldIndex) )

ShowPanel Source code

function ShowPanel ( bool bShow) )

Swap Source code

function Swap ( int index, int a, int b) )

UpdateHint Source code

function UpdateHint ( int index) )

Weight Source code

function int Weight ( int i) )


Defaultproperties

defaultproperties
{


    Begin Object Class=GUIListBox Name=KeyConfigKeyList
        WinWidth=0.929493
        WinHeight=0.820040
        WinLeft=0.027188
        WinTop=0.094218
        bVisibleWhenEmpty=true
        StyleName="BindBox"
        Hint="Select Control to config"
    End Object
    Controls(0)=GUIListBox'KeyConfigKeyList'


    Begin Object class=GUIImage Name=KeyConfigBK1
        WinWidth=0.431248
        WinLeft=0.021641
        WinHeight=0.834063
        WinTop=0.083281
        Image=Material'InterfaceContent.Menu.BorderBoxD'
        ImageColor=(R=255,G=255,B=255,A=160);
        ImageRenderStyle=MSTY_Alpha
        ImageStyle=ISTY_Stretched
        bNeverFocus=true
        bAcceptsInput=true
    End Object
    Controls(1)=GUIImage'KeyConfigBK1'


    Begin Object class=GUIImage Name=KeyConfigBK2
        WinWidth=0.230937
        WinLeft=0.460078
        WinHeight=0.834063
        WinTop=0.083281
        Image=Material'InterfaceContent.Menu.BorderBoxD'
        ImageColor=(R=255,G=255,B=255,A=160);
        ImageRenderStyle=MSTY_Alpha
        ImageStyle=ISTY_Stretched
    End Object
    Controls(2)=GUIImage'KeyConfigBK2'


    Begin Object class=GUIImage Name=KeyConfigBK3
        WinWidth=0.232499
        WinLeft=0.688828
        WinHeight=0.834063
        WinTop=0.083281
        Image=Material'InterfaceContent.Menu.BorderBoxD'
        ImageColor=(R=255,G=255,B=255,A=160);
        ImageRenderStyle=MSTY_Alpha
        ImageStyle=ISTY_Stretched
    End Object
    Controls(3)=GUIImage'KeyConfigBK3'


    Begin Object class=GUILabel Name=KeyConfigAliasLabel
        Caption="Action"
        TextALign=TXTA_Center
        TextColor=(R=255,G=255,B=255,A=255)
        WinWidth=0.250000
        WinHeight=32.000000
        WinLeft=0.124414
        WinTop=0.004167
        TextFont="UT2HeaderFont"
    End Object
    Controls(4)=GUILabel'KeyConfigAliasLabel'


    Begin Object class=GUILabel Name=KeyConfigAliasLabel2
        Caption="Key 1"
        TextALign=TXTA_Center
        TextColor=(R=255,G=255,B=255,A=255)
        WinWidth=0.250000
        WinHeight=32.000000
        WinLeft=0.449414
        WinTop=0.004167
        TextFont="UT2HeaderFont"
    End Object
    Controls(5)=GUILabel'KeyConfigAliasLabel2'


    Begin Object class=GUILabel Name=KeyConfigAliasLabel3
        Caption="Key 2"
        TextALign=TXTA_Center
        TextColor=(R=255,G=255,B=255,A=255)
        WinWidth=0.250000
        WinHeight=32.000000
        WinLeft=0.686914
        WinTop=0.004167
        TextFont="UT2HeaderFont"
    End Object
    Controls(6)=GUILabel'KeyConfigAliasLabel3'


    Begin Object Class=GUIButton Name=KeyResetButton
        Caption="RESET"
        StyleName="SquareMenuButton"
        Hint="Reset keys to default values"
        WinWidth=0.231250
        WinHeight=0.068750
        WinLeft=0.687500
        WinTop=0.933333
        OnClick=ResetClicked
    End Object
    Controls(7)=GUIButton'KeyResetButton'



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


    BKColor=(R=24,G=24,B=100,A=200)


    SectionLabelMargin=10


    Bindings(0)=(bIsSectionLabel=true,KeyLabel="Movement",Alias="")
    Bindings(1)=(bIsSectionLabel=false,KeyLabel="Forward",Alias="MoveForward")
    Bindings(2)=(bIsSectionLabel=false,KeyLabel="Backward",Alias="MoveBackward")
    Bindings(3)=(bIsSectionLabel=false,KeyLabel="Strafe Left",Alias="StrafeLeft")
    Bindings(4)=(bIsSectionLabel=false,KeyLabel="Strafe Right",Alias="StrafeRight")
    Bindings(5)=(bIsSectionLabel=false,KeyLabel="Jump",Alias="Jump")
    Bindings(6)=(bIsSectionLabel=false,KeyLabel="Walk",Alias="Walking")
    Bindings(7)=(bIsSectionLabel=false,KeyLabel="Crouch",Alias="Duck")
    Bindings(8)=(bIsSectionLabel=false,KeyLabel="Strafe Toggle",Alias="Strafe")
    Bindings(9)=(bIsSectionLabel=true,KeyLabel="Looking",Alias="")
    Bindings(10)=(bIsSectionLabel=false,KeyLabel="Turn Left",Alias="TurnLeft")
    Bindings(11)=(bIsSectionLabel=false,KeyLabel="Turn Right",Alias="TurnRight")
    Bindings(12)=(bIsSectionLabel=false,KeyLabel="Look Up",Alias="LookUp")
    Bindings(13)=(bIsSectionLabel=false,KeyLabel="Look Down",Alias="LookDown")
    Bindings(14)=(bIsSectionLabel=false,KeyLabel="Center View",Alias="CenterView")
    Bindings(15)=(bIsSectionLabel=true,KeyLabel="Weapons",Alias="")
    Bindings(16)=(bIsSectionLabel=false,KeyLabel="Fire",Alias="Fire")
    Bindings(17)=(bIsSectionLabel=false,KeyLabel="Alt-Fire",Alias="AltFire")
    Bindings(18)=(bIsSectionLabel=false,KeyLabel="Throw Weapon",Alias="ThrowWeapon")
    Bindings(19)=(bIsSectionLabel=false,KeyLabel="Best Weapon",Alias="SwitchToBestWeapon")
    Bindings(20)=(bIsSectionLabel=false,KeyLabel="Next Weapon",Alias="NextWeapon")
    Bindings(21)=(bIsSectionLabel=false,KeyLabel="Prev Weapon",Alias="PrevWeapon")
    Bindings(22)=(bIsSectionLabel=false,KeyLabel="Last Weapon",Alias="SwitchToLastWeapon")
    Bindings(23)=(bIsSectionLabel=true,KeyLabel="Weapon Selection",Alias="")
    Bindings(24)=(bIsSectionLabel=false,KeyLabel="Super Weapon",Alias="SwitchWeapon 0")
    Bindings(25)=(bIsSectionLabel=false,KeyLabel="Shield Gun",Alias="SwitchWeapon 1")
    Bindings(26)=(bIsSectionLabel=false,KeyLabel="Assault Rifle",Alias="SwitchWeapon 2")
    Bindings(27)=(bIsSectionLabel=false,KeyLabel="Bio-Rifle",Alias="SwitchWeapon 3")
    Bindings(28)=(bIsSectionLabel=false,KeyLabel="Shock Rifle",Alias="SwitchWeapon 4")
    Bindings(29)=(bIsSectionLabel=false,KeyLabel="Link Gun",Alias="SwitchWeapon 5")
    Bindings(30)=(bIsSectionLabel=false,KeyLabel="Minigun",Alias="SwitchWeapon 6")
    Bindings(31)=(bIsSectionLabel=false,KeyLabel="Flak Cannon",Alias="SwitchWeapon 7")
    Bindings(32)=(bIsSectionLabel=false,KeyLabel="Rocket Launcher",Alias="SwitchWeapon 8")
    Bindings(33)=(bIsSectionLabel=false,KeyLabel="Lightning Rifle",Alias="SwitchWeapon 9")
    Bindings(34)=(bIsSectionLabel=false,KeyLabel="Translocator",Alias="SwitchWeapon 10")
    Bindings(35)=(bIsSectionLabel=true,KeyLabel="Communication",Alias="")
    Bindings(36)=(bIsSectionLabel=false,KeyLabel="Say",Alias="Talk")
    Bindings(37)=(bIsSectionLabel=false,KeyLabel="Team Say",Alias="TeamTalk")
    Bindings(38)=(bIsSectionLabel=false,KeyLabel="Speech Menu",Alias="SpeechMenuToggle")
    Bindings(39)=(bIsSectionLabel=true,KeyLabel="Taunts",Alias="")
    Bindings(40)=(bIsSectionLabel=false,KeyLabel="Pelvic Thrust",Alias="taunt pthrust")
    Bindings(41)=(bIsSectionLabel=false,KeyLabel="Ass Smack",Alias="taunt asssmack")
    Bindings(42)=(bIsSectionLabel=false,KeyLabel="Throat Cut",Alias="taunt throatcut")
    Bindings(43)=(bIsSectionLabel=true,KeyLabel="Hud",Alias="")
    Bindings(44)=(bIsSectionLabel=false,KeyLabel="Grow Hud",Alias="GrowHud")
    Bindings(45)=(bIsSectionLabel=false,KeyLabel="Shrink Hud",Alias="ShrinkHud")
    Bindings(46)=(bIsSectionLabel=true,KeyLabel="Miscellaneous",Alias="")
    Bindings(47)=(bIsSectionLabel=false,KeyLabel="Pause",Alias="Pause")
    Bindings(48)=(bIsSectionLabel=false,KeyLabel="Screenshot",Alias="shot")
    Bindings(49)=(bIsSectionLabel=false,KeyLabel="Menu",Alias="ShowMenu")
    Bindings(50)=(bIsSectionLabel=false,KeyLabel="ScoreBoard",Alias="ShowScores")
    Bindings(51)=(bIsSectionLabel=false,KeyLabel="ScoreBoard Toggle",Alias="ScoreToggle")
    Bindings(52)=(bIsSectionLabel=false,KeyLabel="In Game Chat",Alias="InGameChat");
    Bindings(53)=(bIsSectionLabel=false,KeyLabel="Server Info",Alias="ServerInfo");
    Row=0
    Labels(0)="Movement"
    Labels(1)="Forward"
    Labels(2)="Backward"
    Labels(3)="Strafe Left"
    Labels(4)="Strafe Right"
    Labels(5)="Jump"
    Labels(6)="Walk"
    Labels(7)="Crouch"
    Labels(8)="Strafe Toggle"
    Labels(9)="Looking"
    Labels(10)="Turn Left"
    Labels(11)="Turn Right"
    Labels(12)="Look Up"
    Labels(13)="Look Down"
    Labels(14)="Center View"
    Labels(15)="Weapons"
    Labels(16)="Fire"
    Labels(17)="Alt-Fire"
    Labels(18)="Throw Weapon"
    Labels(19)="Best Weapon"
    Labels(20)="Next Weapon"
    Labels(21)="Prev Weapon"
    Labels(22)="Last Weapon"
    Labels(23)="Weapon Selection"
    Labels(24)="Super Weapon"
    Labels(25)="Shield Gun"
    Labels(26)="Assault Rifle"
    Labels(27)="Bio-Rifle"
    Labels(28)="Shock Rifle"
    Labels(29)="Link Gun"
    Labels(30)="Minigun"
    Labels(31)="Flak Cannon"
    Labels(32)="Rocket Launcher"
    Labels(33)="Lightning Rifle"
    Labels(34)="Translocator"
    Labels(35)="Communication"
    Labels(36)="Say"
    Labels(37)="Team Say"
    Labels(38)="Speech Menu"
    Labels(39)="Taunts"
    Labels(40)="Pelvic Thrust"
    Labels(41)="Ass Smack"
    Labels(42)="Throat Cut"
    Labels(43)="Hud"
    Labels(44)="Grow Hud"
    Labels(45)="Shrink Hud"
    Labels(46)="Miscellaneous"
    Labels(47)="Pause"
    Labels(48)="Screenshot"
    Labels(49)="Menu"
    Labels(50)="ScoreBoard"
    Labels(51)="ScoreBoard Toggle"
    Labels(52)="In Game Chat"
    Labels(53)="Server Info"
    Header="["
    Footer="] Perform this action ";


}

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