Class representing a Qnx display. More...
#include <kanzi/core.ui/platform/windowing_ng/qnx_screen/qnx_screen_display.hpp>
Public Member Functions | |
KZ_NO_DISCARD QnxScreenDisplayHandleType | getNativeHandle () const noexcept |
Gets Qnx display handle. More... | |
KZ_NO_DISCARD bool | isAttached () const noexcept |
Checks whether the display is attached. More... | |
KZ_NO_DISCARD bool | isDetachable () const noexcept |
Checks whether the display is detachable. More... | |
QnxDisplay (const QnxContext &qnxContext) | |
Constructor. More... | |
QnxDisplay (const QnxScreenDisplayHandleType displayHandle) | |
Constructor. More... | |
KZ_NO_DISCARD int | tryGetId () const noexcept |
Tries to get a display ID for a display handle. More... | |
KZ_NO_DISCARD optional< windowing::Size > | tryGetSize () const noexcept |
Tries to get the size of this display. More... | |
Class representing a Qnx display.
|
explicit |
Constructor.
qnxContext | Qnx context. |
|
explicit |
Constructor.
displayHandle | Qnx display handle. |
|
noexcept |
Tries to get the size of this display.
nullopt | Getting the size has failed. |
|
noexcept |
Gets Qnx display handle.
|
noexcept |
Tries to get a display ID for a display handle.
|
noexcept |
Checks whether the display is attached.
|
noexcept |
Checks whether the display is detachable.