Classes | |
class | DefaultQnxEGLGraphicsOutput |
Class representing a default QNX EGL graphics output. More... | |
struct | DefaultQnxEGLGraphicsOutputProperties |
The structure that represents the default QNX EGL graphics output properties. More... | |
struct | DefaultQnxInputEventContext |
Structure representing the default context for an async input event. More... | |
class | DefaultQnxPulseHandler |
class | QnxChannelID |
Class representing Qnx communication channel ID. More... | |
class | QnxConnectionID |
Class representing Qnx connection ID. More... | |
class | QnxContext |
Class representing a Qnx context. More... | |
class | QnxDisplay |
Class representing a Qnx display. More... | |
class | QnxEGLPBufferGraphicsOutput |
Class representing a QNX EGL pixel buffer graphics output. More... | |
struct | QnxEGLPBufferGraphicsOutputProperties |
class | QnxEGLWindow |
Class representing a Qnx EGL window. More... | |
class | QnxEvent |
Class representing a Qnx event. More... | |
class | QnxSigEvent |
Class representing Qnx sig event. More... | |
class | QnxWindow |
Class representing a Qnx window. More... | |
Typedefs | |
typedef screen_context_t | QnxScreenContextHandleType |
Alias for the Qnx context handle type. More... | |
typedef screen_display_t | QnxScreenDisplayHandleType |
Alias for the Qnx display handle type. More... | |
typedef screen_event_t | QnxScreenEventHandleType |
Alias for the Qnx event handle type. More... | |
typedef screen_window_t | QnxScreenWindowHandleType |
Alias for the Qnx window handle type. More... | |
Enumerations | |
enum | QnxPulseCode : int { QnxPulseCode::Disconnect, QnxPulseCode::Input } |
Qnx pulse codes. More... | |
Functions | |
bool | bringToFront (QnxWindow &window) noexcept |
Brings the window to forefront. More... | |
bool | isKeyReleased (int keyFlags) noexcept |
Tests if key is released for a keyboard event. More... | |
KZ_NO_DISCARD kanzi::KeyModifier | qnxKeyModifiersToLogicalKeyModifiers (unsigned int qnxKeyModifiers) noexcept |
Maps native Qnx key modifiers to Kanzi logical key modifiers. More... | |
KZ_NO_DISCARD kanzi::LogicalKey | qnxKeyToLogicalKey (unsigned int qnxKey) noexcept |
Maps native Qnx key to Kanzi logical key. More... | |
bool | setWindowPipelineID (QnxWindow &window, int id) noexcept |
Sets pipeline ID for given window. More... | |
bool | setWindowTitle (QnxWindow &window, string_view windowTitle) noexcept |
Sets a window title. More... | |
KZ_NO_DISCARD PointerButton | translateQnxPointerButtonsToKanzi (int qnxPointerButtons) noexcept |
Translates Qnx pointer buttons to Kanzi pointer buttons. More... | |
KZ_NO_DISCARD optional< int > | tryGetButtonsProperty (const QnxEvent &qnxEvent) noexcept |
Tries to get the buttons property (SCREEN_PROPERTY_BUTTONS) of the Qnx event. More... | |
KZ_NO_DISCARD optional< int > | tryGetEventType (const QnxEvent &qnxEvent) noexcept |
Tries to get the type (SCREEN_PROPERTY_TYPE) of the Qnx event. More... | |
KZ_NO_DISCARD optional< int > | tryGetFlagsProperty (const QnxEvent &qnxEvent) noexcept |
Tries to get the key flags property (SCREEN_PROPERTY_FLAGS for Qnx version 700 and above or SCREEN_PROPERTY_KEY_FLAGS for below) of the Qnx event. More... | |
KZ_NO_DISCARD optional< int > | tryGetKeySymProperty (const QnxEvent &qnxEvent) noexcept |
Tries to get the key sym property (SCREEN_PROPERTY_SYM for Qnx version 700 and above or SCREEN_PROPERTY_KEY_SYM for below) of the Qnx event. More... | |
KZ_NO_DISCARD optional< int > | tryGetModifiersProperty (const QnxEvent &qnxEvent) noexcept |
Tries to get the modifiers property (SCREEN_PROPERTY_MODIFIERS for Qnx version 700 and above or SCREEN_PROPERTY_KEY_MODIFIERS for below) of the Qnx event. More... | |
KZ_NO_DISCARD optional< windowing::Position > | tryGetPositionProperty (const QnxEvent &qnxEvent) noexcept |
Tries to get the position property (SCREEN_PROPERTY_POSITION) of the Qnx event. More... | |
KZ_NO_DISCARD int | tryGetScreenUsageFlags (const EGLDisplay &eglDisplay, const EGLConfig &eglConfig) noexcept |
Queries the screen usage flags for the given display and EGL config. More... | |
KZ_NO_DISCARD optional< windowing::SizeU > | tryGetWindowSizeU (const QnxWindow &window) noexcept |
Tries to get the size for this window in unsigned format. More... | |
KZ_NO_DISCARD optional< string > | tryGetWindowTitle (const QnxWindow &window) noexcept |
Tries to get the window title. More... | |
Variables | |
constexpr int | QnxMouseButtonsBitMask |
Bitmask for Qnx mouse button events. More... | |
typedef screen_context_t kanzi::qnx::QnxScreenContextHandleType |
Alias for the Qnx context handle type.
typedef screen_display_t kanzi::qnx::QnxScreenDisplayHandleType |
Alias for the Qnx display handle type.
typedef screen_event_t kanzi::qnx::QnxScreenEventHandleType |
Alias for the Qnx event handle type.
typedef screen_window_t kanzi::qnx::QnxScreenWindowHandleType |
Alias for the Qnx window handle type.
|
strong |
|
noexcept |
Queries the screen usage flags for the given display and EGL config.
eglDisplay | The EGL display to use. |
eglConfig | The EGL config to use. |
|
noexcept |
Maps native Qnx key to Kanzi logical key.
qnxKey | The Qnx key to map. |
|
noexcept |
Maps native Qnx key modifiers to Kanzi logical key modifiers.
qnxKeyModifiers | The Qnx key modifiers to map. |
|
noexcept |
Translates Qnx pointer buttons to Kanzi pointer buttons.
qnxPointerButtons | Qnx pointer buttons to translate. |
|
noexcept |
Tries to get the type (SCREEN_PROPERTY_TYPE) of the Qnx event.
qnxEvent | Qnx event to get the type of. |
nullopt | Trying to get the type of the Qnx event has failed. |
|
noexcept |
Tries to get the key sym property (SCREEN_PROPERTY_SYM for Qnx version 700 and above or SCREEN_PROPERTY_KEY_SYM for below) of the Qnx event.
qnxEvent | Qnx event to get the sym property of. |
nullopt | Trying to get the key sym property has failed. |
|
noexcept |
Tries to get the modifiers property (SCREEN_PROPERTY_MODIFIERS for Qnx version 700 and above or SCREEN_PROPERTY_KEY_MODIFIERS for below) of the Qnx event.
qnxEvent | Qnx event to get the modifiers property of. |
nullopt | Trying to get the modifiers property has failed. |
|
noexcept |
Tries to get the key flags property (SCREEN_PROPERTY_FLAGS for Qnx version 700 and above or SCREEN_PROPERTY_KEY_FLAGS for below) of the Qnx event.
qnxEvent | Qnx event to get the flags property of. |
nullopt | Trying to get the key flags property has failed. |
|
noexcept |
Tries to get the buttons property (SCREEN_PROPERTY_BUTTONS) of the Qnx event.
qnxEvent | Qnx event to get the buttons property of. |
nullopt | Trying to get the buttons property has failed. |
|
noexcept |
Tries to get the position property (SCREEN_PROPERTY_POSITION) of the Qnx event.
qnxEvent | Qnx event to get the position property of. |
nullopt | Trying to get the position property has failed. |
|
noexcept |
Tests if key is released for a keyboard event.
keyFlags | Screen property flags. |
|
noexcept |
Tries to get the size for this window in unsigned format.
window | Window to get the size for. |
nullopt | Getting the size failed. |
|
noexcept |
Sets a window title.
window | Window to set the title for. |
windowTitle | Window title to set. |
|
noexcept |
Tries to get the window title.
window | Window to get the title from. |
nullopt | Getting the title failed. |
|
noexcept |
Brings the window to forefront.
window | Window to bring to front. |
|
noexcept |
Sets pipeline ID for given window.
Sets also SCREEN_USAGE_OVERLAY usage flag.
window | Reference to the window object. |
id | Value for pipeline ID. |
constexpr int kanzi::qnx::QnxMouseButtonsBitMask |
Bitmask for Qnx mouse button events.