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

KFGui.KFTab_Controls

Extends
Settings_Tabs

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPanel
            |   
            +-- XInterface.GUITabPanel
               |   
               +-- XInterface.UT2K4TabPanel
                  |   
                  +-- GUI2K4.Settings_Tabs
                     |   
                     +-- KFGui.KFTab_Controls

Variables Summary
boolbFirstOpen
stringBindingLabel[150]
array<string>bindings_comm
array<string>bindings_game
array<string>bindings_interface
array<string>bindings_looking
array<string>bindings_misc
array<string>bindings_movement
array<string>bindings_weapons
stringcaptions_comm[15]
stringcaptions_game[15]
stringcaptions_interface[15]
stringcaptions_looking[15]
stringcaptions_misc[15]
stringcaptions_movement[15]
stringcaptions_weapons[20]
GUISectionBackgroundi_BG1
GUIMultiColumnListBoxlb_Binds
GUIMultiColumnListli_Binds
GUILabell_Hint
stringSection_Comm
stringSection_Game
stringSection_Interface
stringSection_Looking
stringSection_Misc
stringSection_Movement
stringSection_Speech_Prefix
stringSection_Weapons
class<KFVoicePack>VoicePackClass
KFTab_Controls
stringActionText
InputKeyInfoAllKeys[255]
array<KeyBinding>Bindings
boolbPendingRawInput
stringClearCaption
stringHeadings[3]
intNewIndex
intNewSubIndex
floatSectionLabelMargin
GUIStylesSectionStyle
stringSectionStyleName
GUIStylesSelStyle
Inherited Variables from GUI2K4.Settings_Tabs
bAlwaysApply, bExpert, bNeedApply, PerformanceWarningMenu, PerformanceWarningText, Setting, t_Footer, WarningCounter, WarningLength

Enumerations Summary
ESectionIDs
SID_Movement, SID_Looking, SID_Weapons, SID_Comm, SID_Game, SID_Misc, SID_Interface

Structures Summary
InputKeyInfo
KeyNumber, KeyName, LocalizedKeyName
KeyBinding
bIsSectionLabel, KeyLabel, Alias, BoundKeys

Functions Summary
function AddBindings (string section_title, int num_elements, ESectionIDs section_id))
function AddCustomBindings (array KeyData ))
functionbool BeginRawInput (GUIComponent Sender))
function BindKeyToAlias (int BindIndex, int KeyIndex ))
function ClearBindings ()))
function CreateAliasMapping (string Command, string FriendlyName, bool bSectionLabel))
function DrawBinding (Canvas Canvas, int Item, float X, float Y, float W, float H, bool bSelected, bool bPending))
functionint FindAliasIndex (string Alias ))
functionstring GetCurrentKeyBind (int BindIndex, int SubIndex))
function InitComponent (GUIController MyController, GUIComponent MyOwner))
function Initialize ()))
function InitializeBindingsArray ()))
function InternalOnCreateComponent (GUIComponent NewComp, GUIComponent Sender ))
functionstring ListGetSortString (int Index ))
functionbool ListOnKeyEvent (out byte Key, out byte State, float delta))
function ListTrack (GUIComponent Sender, int LastIndex))
function LoadCommands ()))
function LoadCustomBindings ()))
function MapBindings ()))
functionbool MouseOnCol1 ()))
functionbool MouseOnCol2 ()))
event Opened (GUIComponent Sender))
functionbool RawKey (byte NewKey))
function RemoveAllOccurance (byte NewKey))
function RemoveExistingKey (int Index, int SubIndex))
function ResetClicked ()))
function SearchDown (int OldIndex))
function SearchUp (int OldIndex))
function SetKeyBind (int Index, int SubIndex, byte NewKey))
function UpdateHint (int BindIndex))
function UpdateVoicePackClass ()))
functionbool ValidBindIndex (int Index))
functionbool ValidKeyIndex (int Index))
Inherited Functions from GUI2K4.Settings_Tabs
AcceptClicked, Closed, DrawPerfWarn, GetNativeClassName, InitComponent, InternalOnChange, Opened, ResetClicked, SaveSettings, ShowPanel, ShowPerformanceWarning, Timer


Variables Detail

bFirstOpen Source code

var bool bFirstOpen;

BindingLabel[150] Source code

var localized string BindingLabel[150];

bindings_comm Source code

var array<string> bindings_comm;

bindings_game Source code

var array<string> bindings_game;

bindings_interface Source code

var array<string> bindings_interface;

bindings_looking Source code

var array<string> bindings_looking;

bindings_misc Source code

var array<string> bindings_misc;

bindings_movement Source code

var array<string> bindings_movement;

bindings_weapons Source code

var array<string> bindings_weapons;

captions_comm[15] Source code

var localized string captions_comm[15];

captions_game[15] Source code

var localized string captions_game[15];

captions_interface[15] Source code

var localized string captions_interface[15];

captions_looking[15] Source code

var localized string captions_looking[15];

captions_misc[15] Source code

var localized string captions_misc[15];

captions_movement[15] Source code

var localized string captions_movement[15];

captions_weapons[20] Source code

var localized string captions_weapons[20];

i_BG1 Source code

var automated GUISectionBackground i_BG1;

lb_Binds Source code

var automated GUIMultiColumnListBox lb_Binds;

li_Binds Source code

var GUIMultiColumnList li_Binds;

l_Hint Source code

var automated GUILabel l_Hint;

Section_Comm Source code

var localized string Section_Comm;

Section_Game Source code

var localized string Section_Game;

Section_Interface Source code

var localized string Section_Interface;

Section_Looking Source code

var localized string Section_Looking;

Section_Misc Source code

var localized string Section_Misc;

Section_Movement Source code

var localized string Section_Movement;

Section_Speech_Prefix Source code

var localized string Section_Speech_Prefix;

Section_Weapons Source code

var localized string Section_Weapons;

VoicePackClass Source code

var class<KFVoicePack> VoicePackClass;

KFTab_Controls

ActionText Source code

var(KFTab_Controls) localized string ActionText;

AllKeys[255] Source code

var(KFTab_Controls) noexport editconst InputKeyInfo AllKeys[255];

Bindings Source code

var(KFTab_Controls) array<KeyBinding> Bindings;

bPendingRawInput Source code

var(KFTab_Controls) bool bPendingRawInput;

ClearCaption Source code

var(KFTab_Controls) localized string ClearCaption;

Headings[3] Source code

var(KFTab_Controls) localized string Headings[3];

NewIndex Source code

var(KFTab_Controls) editconst noexport int NewIndex;

NewSubIndex Source code

var(KFTab_Controls) editconst noexport int NewSubIndex;

SectionLabelMargin Source code

var(KFTab_Controls) float SectionLabelMargin;

SectionStyle Source code

var(KFTab_Controls) editconst noexport GUIStyles SectionStyle;

SectionStyleName Source code

var(KFTab_Controls) string SectionStyleName;

SelStyle Source code

var(KFTab_Controls) editconst noexport GUIStyles SelStyle;


Enumerations Detail

ESectionIDs Source code

enum ESectionIDs
{
SID_Movement, SID_Looking, SID_Weapons, SID_Comm, SID_Game, SID_Misc, SID_Interface
};


Structures Detail

InputKeyInfo Source code

struct InputKeyInfo
{
var string KeyName;
var int KeyNumber;
var string LocalizedKeyName;
};


KeyBinding Source code

struct KeyBinding
{
var string Alias;
var bool bIsSectionLabel;
var array<int> BoundKeys;
var string KeyLabel;
};



Functions Detail

AddBindings Source code

function AddBindings ( string section_title, int num_elements, ESectionIDs section_id) )

AddCustomBindings Source code

function AddCustomBindings ( array<GUIUserKeyBinding.KeyInfo> KeyData ) )

BeginRawInput Source code

function bool BeginRawInput ( GUIComponent Sender) )

BindKeyToAlias Source code

function BindKeyToAlias ( int BindIndex, int KeyIndex ) )

ClearBindings Source code

function ClearBindings ( ) )

CreateAliasMapping Source code

function CreateAliasMapping ( string Command, string FriendlyName, bool bSectionLabel) )

DrawBinding Source code

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

FindAliasIndex Source code

function int FindAliasIndex ( string Alias ) )

GetCurrentKeyBind Source code

function string GetCurrentKeyBind ( int BindIndex, int SubIndex) )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner) )

Initialize Source code

function Initialize ( ) )

InitializeBindingsArray Source code

function InitializeBindingsArray ( ) )

InternalOnCreateComponent Source code

function InternalOnCreateComponent ( GUIComponent NewComp, GUIComponent Sender ) )

ListGetSortString Source code

function string ListGetSortString ( int Index ) )

ListOnKeyEvent Source code

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

ListTrack Source code

function ListTrack ( GUIComponent Sender, int LastIndex) )

LoadCommands Source code

function LoadCommands ( ) )

LoadCustomBindings Source code

protected function LoadCustomBindings ( ) )

MapBindings Source code

function MapBindings ( ) )

MouseOnCol1 Source code

function bool MouseOnCol1 ( ) )

MouseOnCol2 Source code

function bool MouseOnCol2 ( ) )

Opened Source code

event Opened ( 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 ResetClicked ( ) )

SearchDown Source code

function SearchDown ( int OldIndex) )

SearchUp Source code

function SearchUp ( int OldIndex) )

SetKeyBind Source code

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

UpdateHint Source code

function UpdateHint ( int BindIndex) )

UpdateVoicePackClass Source code

function UpdateVoicePackClass ( ) )

ValidBindIndex Source code

function bool ValidBindIndex ( int Index) )

ValidKeyIndex Source code

function bool ValidKeyIndex ( int Index) )


Defaultproperties

defaultproperties
{
     Begin Object Class=ROGUIProportionalContainer Name=InputBK1
         Caption="Bindings"
         LeftPadding=0.000000
         RightPadding=0.000000
         TopPadding=0.010000
         BottomPadding=0.000000
         WinTop=0.021641
         WinLeft=0.021641
         WinWidth=0.956718
         WinHeight=0.956718
         OnPreDraw=InputBK1.InternalPreDraw
     End Object
     i_BG1=ROGUIProportionalContainer'KFGui.KFTab_Controls.InputBK1'


     Begin Object Class=GUILabel Name=HintLabel
         TextAlign=TXTA_Center
         bMultiLine=True
         VertAlign=TXTA_Center
         FontScale=FNS_Small
         StyleName="textLabel"
         WinTop=0.950000
         WinHeight=0.050000
         bBoundToParent=True
         bScaleToParent=True
     End Object
     l_Hint=GUILabel'KFGui.KFTab_Controls.HintLabel'


     Begin Object Class=GUIMultiColumnListBox Name=BindListBox
         HeaderColumnPerc(0)=0.500000
         HeaderColumnPerc(1)=0.250000
         HeaderColumnPerc(2)=0.250000
         OnCreateComponent=KFTab_Controls.InternalOnCreateComponent
         WinHeight=0.900000
         TabOrder=0
         bBoundToParent=True
         bScaleToParent=True
     End Object
     lb_Binds=GUIMultiColumnListBox'KFGui.KFTab_Controls.BindListBox'


     bFirstOpen=True
     SectionStyleName="ListSection"
     Headings(0)="Action"
     Headings(1)="Key 1"
     Headings(2)="Key 2"
     SectionLabelMargin=10.000000
     ClearCaption="Press '%backspace%' to unbind %keybind% from %keyname%."
     ActionText="{%keybinds%} - currently bound to this key."
     Section_Movement="Movement"
     Section_Looking="Looking"
     Section_Weapons="Weapons"
     Section_Comm="Communication"
     Section_Game="Game"
     Section_Misc="Miscellaneous"
     Section_Interface="Interface"
     Section_Speech_Prefix="Voice Commands: "
     bindings_movement(0)="MoveForward"
     bindings_movement(1)="MoveBackward"
     bindings_movement(2)="StrafeLeft"
     bindings_movement(3)="StrafeRight"
     bindings_movement(4)="Jump"
     bindings_movement(5)="Duck"
     bindings_movement(6)="ToggleDuck"
     bindings_movement(7)="Walking"
     bindings_movement(8)="Strafe"
     bindings_looking(0)="TurnLeft"
     bindings_looking(1)="TurnRight"
     bindings_looking(2)="LookUp"
     bindings_looking(3)="LookDown"
     bindings_looking(4)="CenterView"
     bindings_looking(5)="ToggleBehindView"
     bindings_looking(6)="ToggleFreeCam"
     bindings_weapons(0)="Fire"
     bindings_weapons(1)="AltFire"
     bindings_weapons(2)="ReloadWeapon"
     bindings_weapons(3)="Aiming"
     bindings_weapons(4)="ToggleAiming"
     bindings_weapons(5)="ThrowWeapon"
     bindings_weapons(6)="NextWeapon"
     bindings_weapons(7)="PrevWeapon"
     bindings_weapons(8)="SwitchToBestWeapon"
     bindings_weapons(9)="SwitchToLastWeapon"
     bindings_weapons(10)="SwitchToBestMeleeWeapon"
     bindings_weapons(11)="SwitchWeapon 1"
     bindings_weapons(12)="SwitchWeapon 2"
     bindings_weapons(13)="SwitchWeapon 3"
     bindings_weapons(14)="SwitchWeapon 4"
     bindings_weapons(15)="SwitchWeapon 5"
     bindings_weapons(16)="ThrowNade"
     bindings_weapons(17)="ToggleFlashlight"
     bindings_weapons(18)="QuickHeal"
     bindings_comm(0)="Talk"
     bindings_comm(1)="TeamTalk"
     bindings_comm(2)="SpeechMenuToggle"
     bindings_comm(3)="VoiceTalk"
     bindings_comm(4)="Speak Public"
     bindings_comm(5)="Speak Local"
     bindings_comm(6)="Speak Team"
     bindings_game(0)="ShowMenu"
     bindings_game(1)="use"
     bindings_game(2)="TossCash"
     bindings_game(3)="shot"
     bindings_game(4)="Pause"
     bindings_misc(0)="ConsoleToggle"
     bindings_misc(1)="Stat Net"
     bindings_misc(2)="Cancel"
     bindings_misc(3)="demorec"
     bindings_misc(4)="stopdemo"
     bindings_interface(0)="ShowScores"
     bindings_interface(1)="ScoreToggle"
     bindings_interface(2)="ShowKickMenu"
     captions_movement(0)="Forward"
     captions_movement(1)="Backward"
     captions_movement(2)="Strafe Left"
     captions_movement(3)="Strafe Right"
     captions_movement(4)="Jump"
     captions_movement(5)="Crouch"
     captions_movement(6)="Toggle Crouch"
     captions_movement(7)="Walk"
     captions_movement(8)="Toggle Strafe"
     captions_looking(0)="Turn Left"
     captions_looking(1)="Turn Right"
     captions_looking(2)="Look Up"
     captions_looking(3)="Look Down"
     captions_looking(4)="Center View"
     captions_looking(5)="Toggle Third Person Mode (offline only)"
     captions_looking(6)="Toggle Camera Mode (offline only)"
     captions_weapons(0)="Primary Fire"
     captions_weapons(1)="Alternate Fire/Flashlight"
     captions_weapons(2)="Reload"
     captions_weapons(3)="Quick Iron Sights"
     captions_weapons(4)="Toggle Iron Sights"
     captions_weapons(5)="Drop Weapon"
     captions_weapons(6)="Next Weapon"
     captions_weapons(7)="Previous Weapon"
     captions_weapons(8)="Switch to Best Weapon"
     captions_weapons(9)="Switch to Last Weapon"
     captions_weapons(10)="Switch to Knife"
     captions_weapons(11)="Select Melee Weapons"
     captions_weapons(12)="Select Secondary Weapons"
     captions_weapons(13)="Select Primary Weapons"
     captions_weapons(14)="Select Specialty Weapons"
     captions_weapons(15)="Select Tools"
     captions_weapons(16)="Throw Grenade"
     captions_weapons(17)="Quick Flashlight"
     captions_weapons(18)="Quick Self-Heal"
     captions_comm(0)="Say"
     captions_comm(1)="Team Say"
     captions_comm(2)="Toggle Voice Commands Menu"
     captions_comm(3)="Activate Microphone"
     captions_comm(4)="Switch to Public Voice Channel"
     captions_comm(5)="Switch to Local Voice Channel"
     captions_comm(6)="Switch to Team Voice Channel"
     captions_game(0)="Open Game Menu"
     captions_game(1)="Use"
     captions_game(2)="Drop Cash"
     captions_game(3)="Screenshot"
     captions_game(4)="Pause Game"
     captions_misc(0)="Toggle Console"
     captions_misc(1)="View Connection Status"
     captions_misc(2)="Cancel Pending Connection"
     captions_misc(3)="Start Demo Recording"
     captions_misc(4)="Stop Demo Recording"
     captions_interface(0)="Toggle Scoreboard"
     captions_interface(1)="Quick Scoreboard"
     captions_interface(2)="Open Vote Kick Menu"
     VoicePackClass=Class'KFMod.KFVoicePack'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Fri 13-10-2023 03:18:47.604 - Created with UnCodeX