UE2:KeyBindMenu (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
(Redirected from UE2:InputKeyInfo (UT2004))
Jump to navigation Jump to search
Package: 
GUI2K4

Created on: 11/23/2003 Base class for menus that allow configuration of keybinds

Written by Ron Prestenback © 2003, Epic Games, Inc. All Rights Reserved

Properties

Property group 'KeyBindMenu'

ActionText

Type: string

Modifiers: localized


Default value: "{%keybinds%} - currently bound to this key."

AllKeys

Type: InputKeyInfo

Array size: 255

Modifiers: noexport, editconst


Bindings

Type: array<KeyBinding>


bPendingRawInput

Type: bool

Waiting for input - changing a keybind

ClearCaption

Type: string

Modifiers: localized


Default value: "Press '%backspace%' to unbind %keybind% from %keyname%."

CloseCaption

Type: string

Modifiers: localized


Default value: "CLOSE"

Headings

Type: string

Array size: 3

Modifiers: localized


Default value, index 1: "Key 1"

Default value, index 2: "Key 2"

NewIndex

Type: int

Modifiers: editconst, noexport


NewSubIndex

Type: int

Modifiers: editconst, noexport


PageCaption

Type: string

Modifiers: localized


ResetCaption

Type: string

Modifiers: localized


Default value: "RESET"

SectionLabelMargin

Type: float


Default value: 10.0

SectionStyle

Type: GUIStyles

Modifiers: editconst, noexport


SectionStyleName

Type: string


Default value: "ListSection"

SelStyle

Type: GUIStyles

Modifiers: editconst, noexport


SpeechLabel

Type: string

Modifiers: localized


Internal variables

i_Bk

Type: GUIImage

Modifiers: automated


Default value: GUIImage'BindBk'

l_Hint

Type: GUILabel

Modifiers: automated


Default value: GUILabel'HintLabel'

lb_Binds

Type: GUIMultiColumnListBox

Modifiers: automated


Default value: GUIMultiColumnListBox'BindListBox'

li_Binds

Type: GUIMultiColumnList

Modifiers: automated


Default values

Property Value
DefaultHeight 0.9
DefaultLeft 0.1
DefaultTop 0.05
DefaultWidth 0.8
FadedIn OnFadeIn
sb_Main None
WinHeight 0.9
WinLeft 0.1
WinTop 0.05
WinWidth 0.8

Subobjects

BindBk

Class: XInterface.GUIImage

Property Value
bBoundToParent True
bScaleToParent True
Image Material'2K4Menus.Newcontrols.Display99'
ImageStyle ISTY_Stretched
WinHeight 0.808281
WinLeft 0.031397
WinTop 0.057552
WinWidth 0.937207

BindListBox

Class: XInterface.GUIMultiColumnListBox

Property Value
bBoundToParent True
bScaleToParent True
HeaderColumnPerc[0] 0.5
HeaderColumnPerc[1] 0.25
HeaderColumnPerc[2] 0.25
OnCreateComponent InternalOnCreateComponent
TabOrder 0
WinHeight 0.705742
WinLeft 0.043604
WinTop 0.085586
WinWidth 0.911572

HintLabel

Class: XInterface.GUILabel

Property Value
bBoundToParent True
bMultiLine True
bScaleToParent True
FontScale FNS_Small
StyleName "textLabel"
TextAlign TXTA_Center
VertAlign TXTA_Center
WinHeight 0.085
WinLeft 0.032813
WinTop 0.872222
WinWidth 0.520313

Structs

InputKeyInfo

int KeyNumber 
string KeyName 
string LocalizedKeyName 

KeyBinding

bool bIsSectionLabel 
string KeyLabel 
string Alias 
array<int> BoundKeys 

Functions

Events

InitComponent

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: LockedFloatingWindow.InitComponent


Other instance functions

BeginRawInput

function bool BeginRawInput (GUIComponent Sender)


BindKeyToAlias

function BindKeyToAlias (int BindIndex, int KeyIndex)


ClearBindings

function ClearBindings ()


CreateAliasMapping

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


DrawBinding

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


FindAliasIndex

function int FindAliasIndex (string Alias)


GetCurrentKeyBind

function string GetCurrentKeyBind (int BindIndex, int SubIndex)


Initialize

function Initialize ()


InitializeBindingsArray

function InitializeBindingsArray ()


InternalOnClick

function bool InternalOnClick (GUIComponent Sender)

Overrides: LockedFloatingWindow.InternalOnClick


InternalOnCreateComponent

function InternalOnCreateComponent (GUIComponent NewComp, GUIComponent Sender)

Overrides: LockedFloatingWindow.InternalOnCreateComponent


ListGetSortString

function string ListGetSortString (int Index)


ListOnKeyEvent

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


ListTrack

function ListTrack (GUIComponent Sender, int LastIndex)


LoadCommands

function LoadCommands ()


MapBindings

function MapBindings ()


MouseOnCol1

function bool MouseOnCol1 ()


MouseOnCol2

function bool MouseOnCol2 ()


OnFadeIn

function OnFadeIn ()


RawKey

function bool RawKey (byte NewKey)


RemoveAllOccurance

function RemoveAllOccurance (byte NewKey)


RemoveExistingKey

function RemoveExistingKey (int Index, int SubIndex)


SearchDown

function SearchDown (int OldIndex)


SearchUp

function SearchUp (int OldIndex)


SetKeyBind

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


UpdateHint

function UpdateHint (int BindIndex)


ValidBindIndex

function bool ValidBindIndex (int Index)


ValidKeyIndex

function bool ValidKeyIndex (int Index)