Navigation
API > API/Editor > API/Editor/SequencerCore > API/Editor/SequencerCore/MVVM > API/Editor/SequencerCore/MVVM/Views
References
| Module | SequencerCore |
| Header | /Engine/Source/Editor/SequencerCore/Public/MVVM/Views/SequencerInputHandlerStack.h |
| Include | #include "MVVM/Views/SequencerInputHandlerStack.h" |
Syntax
class FInputHandlerStack
Remarks
Class responsible for handling input to multiple objects that reside at the same level in the widget hierarchy.
The sequencer track area is one such example of a single widget that delegates its input handling to multiple sources (edit tool, or time slider controller). To alleviate the complexity of handling input for such sources, where each may fight for mouse capture, this class keeps track of which handler captured the mouse and routs input accordingly.
When no mouse capture is active, handlers are called sequentially in the order they were added, until the event is handled.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FSimpleMulticastDelegate | OnBeginCapture | ||
| FSimpleMulticastDelegate | OnEndCapture |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddHandler
(
ISequencerInputHandler* Handler |
Add a handler to the stack | |
| int32 | Get the index of the currently captured handler, or INDEX_NONE | ||
| FReply | HandleKeyDown
(
SWidget& OwnerWidget, |
||
| FReply | HandleKeyUp
(
SWidget& OwnerWidget, |
||
| FReply | HandleMouseButtonDown
(
SWidget& OwnerWidget, |
Handle a mouse down | |
| FReply | HandleMouseButtonUp
(
SWidget& OwnerWidget, |
Handle a mouse up | |
| FReply | HandleMouseMove
(
SWidget& OwnerWidget, |
Handle a mouse move | |
| FReply | HandleMouseWheel
(
SWidget& OwnerWidget, |
Handle a mouse wheel | |
| void | SetHandlerAt
(
int32 Index, |
Reset an existing entry in the stack to a new handler |
Typedefs
| Name | Description |
|---|---|
| InputHandlerFunction | |
| KeyInputHandlerFunction | A Reply is something that a Slate event returns to the system to notify it about certain aspect of how an event was handled. |