Class TInputShortcutList

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TInputShortcutList = class(specialize TFPGObjectList<TInputShortcut>)

Description

TODO: Maybe introduce a way to limit (TKey, or all shortcuts?) to activate only when specific modifier is pressed.

Right now both TWalkCamera and TExamineCamera check modifiers and have not configurable behavior:

- TWalkCamera allows inputs only when modifiers = []. Except Input_Right/LeftRot and Input_Up/DownRotate that have special meaning when Ctrl is pressed (see TWalkCamera.AllowSlowerRotations). - TExamineCamera allows Inputs_Move only when modifiers = [mkCtrl]. Other TExamineCamera are allowed only when modifiers = [].

Hierarchy

  • TFPGObjectList
  • TInputShortcutList

Overview

Methods

Public function SeekMatchingShortcut(const Event: TInputPressRelease): TInputShortcut;
Public procedure RestoreDefaults;
Public function SeekConflict(out ConflictDescription: string): boolean;

Description

Methods

Public function SeekMatchingShortcut(const Event: TInputPressRelease): TInputShortcut;

Seeks for a shortcut that has matching key or mouse button or mouse wheel. Nil if not found.

Public procedure RestoreDefaults;
 
Public function SeekConflict(out ConflictDescription: string): boolean;
 

Generated by PasDoc 0.13.0 on 2014-10-26 05:15:13