- Extends
- LockedFloatingWindow
Core.Object
|
+-- XInterface.GUI
|
+-- XInterface.GUIComponent
|
+-- XInterface.GUIMultiComponent
|
+-- XInterface.GUIPage
|
+-- XInterface.UT2K4GUIPage
|
+-- GUI2K4.PopupPageBase
|
+-- GUI2K4.FloatingWindow
|
+-- GUI2K4.LockedFloatingWindow
|
+-- GUI2K4.KeyBindMenu
Direct Known Subclasses:
ControlBinder, SpeechBinder
Inherited Variables from GUI2K4.FloatingWindow |
BLSizing, bMoveAllowed, bMoving, bResizeHeightAllowed, bResizeWidthAllowed, bResizing, BRSizing, BtSizing, b_ExitButton, DefaultHeight, DefaultLeft, DefaultTop, DefaultWidth, HeaderMouseCursorIndex, LSizing, MaxPageHeight, MaxPageWidth, MinPageHeight, MinPageWidth, RSizing, TLSizing, TRSizing, TSizing, t_WindowTitle, WindowName |
Structures Summary |
InputKeyInfo KeyNumber, KeyName, LocalizedKeyName |
KeyBinding bIsSectionLabel, KeyLabel, Alias, BoundKeys |
Functions Summary |
| bool | BeginRawInput (GUIComponent Sender)
|
| | BindKeyToAlias (int BindIndex, int KeyIndex)
|
| | ClearBindings ()
|
| | CreateAliasMapping (string Command, string FriendlyName, bool bSectionLabel)
|
| | DrawBinding (Canvas Canvas, int Item, float X, float Y, float W, float H, bool bSelected, bool bPending)
|
| int | FindAliasIndex (string Alias)
|
| string | GetCurrentKeyBind (int BindIndex, int SubIndex)
|
| | InitComponent (GUIController MyController, GUIComponent MyOwner)
|
| | Initialize ()
|
| | InitializeBindingsArray ()
|
| bool | InternalOnClick (GUIComponent Sender)
|
| | InternalOnCreateComponent (GUIComponent NewComp, GUIComponent Sender)
|
| string | ListGetSortString (int Index)
|
| bool | ListOnKeyEvent (out byte Key, out byte State, float delta)
|
| | ListTrack (GUIComponent Sender, int LastIndex)
|
| | LoadCommands ()
|
| | MapBindings ()
|
| bool | MouseOnCol1 ()
|
| bool | MouseOnCol2 ()
|
| | OnFadeIn ()
|
| bool | RawKey (byte NewKey)
|
| | RemoveAllOccurance (byte NewKey)
|
| | RemoveExistingKey (int Index, int SubIndex)
|
| | SearchDown (int OldIndex)
|
| | SearchUp (int OldIndex)
|
| | SetKeyBind (int Index, int SubIndex, byte NewKey)
|
| | UpdateHint (int BindIndex)
|
| bool | ValidBindIndex (int Index)
|
| bool | ValidKeyIndex (int Index)
|
Inherited Functions from GUI2K4.FloatingWindow |
AddSystemMenu, AlignFrame, CheckBounds, FloatingHover, FloatingMousePressed, FloatingMouseRelease, FloatingPreDraw, FloatingRendered, HoveringBottomBorder, HoveringBottomLeft, HoveringLeftBorder, HoveringRightBorder, HoveringTopBorder, HoveringTopLeft, InitComponent, InternalOnCreateComponent, ResizeAllowed, ResizedBoth, ResizedHeight, ResizedWidth, ResolutionChanged, SaveCurrentPosition, SetDefaultPosition, SetFocus, SetMouseCursorIndex, SetPanelPosition, SystemMenuPreDraw, XButtonClicked |
KeyBindMenu
struct InputKeyInfo
{
var string KeyName;
var int KeyNumber;
var string LocalizedKeyName;
};
struct KeyBinding
{
var string Alias;
var bool bIsSectionLabel;
var array<int> BoundKeys;
var string KeyLabel;
};
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 )
function int FindAliasIndex ( string Alias )
function string GetCurrentKeyBind ( int BindIndex, int SubIndex )
function Initialize ( )
InitializeBindingsArray Source code
function InitializeBindingsArray ( )
InternalOnCreateComponent Source code
function string ListGetSortString ( int Index )
function bool ListOnKeyEvent ( out byte Key, out byte State, float delta )
function LoadCommands ( )
function MapBindings ( )
function bool MouseOnCol1 ( )
function bool MouseOnCol2 ( )
function OnFadeIn ( )
function bool RawKey ( byte NewKey )
function RemoveAllOccurance ( byte NewKey )
function RemoveExistingKey ( int Index, int SubIndex )
function SearchDown ( int OldIndex )
function SearchUp ( int OldIndex )
function SetKeyBind ( int Index, int SubIndex, byte NewKey )
function UpdateHint ( int BindIndex )
function bool ValidBindIndex ( int Index )
function bool ValidKeyIndex ( int Index )
defaultproperties
{
SectionStyleName="ListSection"
Begin Object Class=GUIMultiColumnListBox Name=BindListBox
HeaderColumnPerc(0)=0.500000
HeaderColumnPerc(1)=0.250000
HeaderColumnPerc(2)=0.250000
OnCreateComponent=KeyBindMenu.InternalOnCreateComponent
WinTop=0.085586
WinLeft=0.043604
WinWidth=0.911572
WinHeight=0.705742
TabOrder=0
bBoundToParent=True
bScaleToParent=True
End Object
lb_Binds=GUIMultiColumnListBox'GUI2K4.KeyBindMenu.BindListBox'
Begin Object Class=GUIImage Name=BindBk
Image=Texture'2K4Menus.NewControls.Display99'
ImageStyle=ISTY_Stretched
WinTop=0.057552
WinLeft=0.031397
WinWidth=0.937207
WinHeight=0.808281
bBoundToParent=True
bScaleToParent=True
End Object
i_bk=GUIImage'GUI2K4.KeyBindMenu.BindBk'
Begin Object Class=GUILabel Name=HintLabel
TextAlign=TXTA_Center
bMultiLine=True
VertAlign=TXTA_Center
FontScale=FNS_Small
StyleName="textLabel"
WinTop=0.872222
WinLeft=0.032813
WinWidth=0.520313
WinHeight=0.085000
bBoundToParent=True
bScaleToParent=True
End Object
l_Hint=GUILabel'GUI2K4.KeyBindMenu.HintLabel'
Headings(1)="Key 1"
Headings(2)="Key 2"
SectionLabelMargin=10.000000
CloseCaption="CLOSE"
ResetCaption="RESET"
ClearCaption="Press '%backspace%' to unbind %keybind% from %keyname%."
ActionText="{%keybinds%} - currently bound to this key."
sb_Main=None
DefaultLeft=0.100000
DefaultTop=0.050000
DefaultWidth=0.800000
DefaultHeight=0.900000
FadedIn=KeyBindMenu.OnFadeIn
WinTop=0.050000
WinLeft=0.100000
WinWidth=0.800000
WinHeight=0.900000
}
|
Creation time: Wed 7/2/2007 19:16:03.734 - Created with
UnCodeX