OmegaEngine API
1.0.3
|
Processes keyboard events into higher-level navigational commands. More...
Public Member Functions | |
KeyboardInputProvider (Control control) | |
Starts monitoring and processing keyboard events receieved by a specififc control. More... | |
Public Member Functions inherited from OmegaEngine.Input.InputProvider | |
void | AddReceiver (IInputReceiver receiver) |
Adds an object that wishes to be notified about navigational commands that are triggered by input. More... | |
void | RemoveReceiver (IInputReceiver receiver) |
Removes an object that no longer wishes to be notified about navigational commands. More... | |
void | Dispose () |
Protected Member Functions | |
override void | Dispose (bool disposing) |
To be called by IDisposable.Dispose and the object destructor. | |
Protected Member Functions inherited from OmegaEngine.Input.InputProvider | |
virtual void | OnPerspectiveChange (Point pan, int rotation, int zoom) |
Raises all registered IInputReceiver.PerspectiveChanges. More... | |
virtual void | OnAreaSelection (Rectangle area, bool accumulate, bool done=false) |
Raises all registered IInputReceiver.AreaSelections. More... | |
virtual void | OnHover (Point target) |
Raises all registered IInputReceiver.Hovers. More... | |
virtual void | OnClick (MouseEventArgs e, bool accumulate) |
Raises all registered IInputReceiver.Clicks. More... | |
virtual void | OnDoubleClick (MouseEventArgs e) |
Raises all registered IInputReceiver.DoubleClicks. More... | |
Additional Inherited Members | |
Public Attributes inherited from OmegaEngine.Input.InputProvider | |
bool | HasReceivers => _receivers.Count != 0 |
Indicates whether this handler currently has IInputReceiver attached to it. More... | |
Processes keyboard events into higher-level navigational commands.
Pressing the left and right arrow keys allows rotating.
Pressing the up and down arrow keys allows zooming.
|
inline |
Starts monitoring and processing keyboard events receieved by a specififc control.
control | The control receiving the keyboard events. |