Declares a navigation gesture. More...
#include <kanzi/core.ui/input/navigation_manipulator.hpp>
Public Member Functions | |
| NavigationGesture (NavigationDirection navigationDirection, LogicalKey key) | |
Public Member Functions inherited from kanzi::KeyGestureInfo | |
| void | grab () |
| Grabs the key gesture, increases the grab count by 1. | |
| bool | isGrabbed () const |
| Returns whether the key gesture is grabbed. | |
| KeyGestureInfo ()=default | |
| Default constructor. | |
| KeyGestureInfo (LogicalKey key) | |
| Constructor. | |
| KeyGestureInfo (LogicalKey key, CapsLockState capsLockState) | |
| Constructor. | |
| KeyGestureInfo (LogicalKey key, KeyModifier modifier) | |
| Constructor. | |
| KeyGestureInfo (LogicalKey key, KeyModifier modifier, CapsLockState capsLockState) | |
| Constructor. | |
| void | ungrab () |
| Resets the grab count of the key gesture. | |
Public Attributes | |
| bool | isEnabled |
| The enabled state of the navigation gesture. | |
| NavigationDirection | navigationDirection |
| The navigation direction identifier of the gesture. | |
Public Attributes inherited from kanzi::KeyGestureInfo | |
| CapsLockState | capsLockState |
| Holds the required Caps Lock state for the key gesture. | |
| const KeyEvent * | grabbedKeyEvent |
| The grabbed key event. | |
| size_t | grabCount |
| Holds the grab count of the key gesture. | |
| bool | isCapsLockGrabbed |
| Holds the Caps Lock state at the time Kanzi grabs the key gesture. | |
| LogicalKey | key |
| The logical key value. | |
| KeyModifier | modifier |
| The key modifier. | |
| size_t | repeatCount |
| Holds the key press repetition count. | |
Declares a navigation gesture.
|
inlineexplicit |
| NavigationDirection kanzi::NavigationGesture::navigationDirection |
The navigation direction identifier of the gesture.
| bool kanzi::NavigationGesture::isEnabled |
The enabled state of the navigation gesture.