Class representing a Qnx window. More...
#include <kanzi/core.ui/platform/windowing_ng/qnx_screen/qnx_screen_window.hpp>
Public Member Functions | |
| bool | createBuffers (int bufferCount) noexcept |
| Creates buffers for this window. More... | |
| KZ_NO_DISCARD optional< windowing::Size > | getBufferSize () const noexcept |
| Tries to get the buffer size for this window. More... | |
| KZ_NO_DISCARD QnxScreenWindowHandleType | getNativeHandle () const noexcept |
| Gets Qnx window handle. More... | |
| bool | getUsageFlags (int &out_usageFlags) noexcept |
| Gets usage flags for this window. More... | |
| bool | hide () noexcept |
| Hides this window. More... | |
| QnxWindow & | operator= (QnxWindow &&qnxWindow) noexcept |
| Move assignment. More... | |
| QnxWindow (const QnxContext &qnxContext) | |
| Constructor. More... | |
| QnxWindow (const QnxScreenWindowHandleType windowHandle) | |
| Constructor. More... | |
| QnxWindow (QnxWindow &&qnxWindow) noexcept | |
| Move constructor. More... | |
| bool | setBufferSize (windowing::Size bufferSize) noexcept |
| Sets buffer size for this window. More... | |
| bool | setPipelineID (int id) noexcept |
| Sets screen pipeline ID for this window. More... | |
| bool | setPosition (windowing::Position windowPosition) noexcept |
| Sets position for this window. More... | |
| bool | setPropertyDisplay (const QnxDisplay &qnxDisplay) noexcept |
| Sets display property for this window. More... | |
| bool | setPropertyIDString (string_view propertyString) noexcept |
| Sets a property ID string for this window. More... | |
| bool | setPropertyUserHandle (void *userHandle) noexcept |
| Sets user data for this window. More... | |
| bool | setSize (windowing::Size windowSize) noexcept |
| Sets size for this window. More... | |
| bool | setSwapInterval (int interval) noexcept |
| Sets minimum number of displayed video frames before a buffer swap for this window. More... | |
| bool | setTransparency (int level) noexcept |
| Sets transparency level for this window. More... | |
| bool | setUsageFlags (int usageFlags) noexcept |
| Sets usage flags for this window. More... | |
| bool | setZOrder (int zorder) noexcept |
| Sets z-order for this window. More... | |
| bool | show () noexcept |
| Shows this window. More... | |
| KZ_NO_DISCARD optional< windowing::Position > | tryGetPosition () const noexcept |
| Tries to get the x and y screen coordinates for this window. More... | |
| KZ_NO_DISCARD optional< string > | tryGetPropertyIDString (unsigned int bufferSize) const noexcept |
| Tries to get the current ID string for this window. More... | |
| KZ_NO_DISCARD optional< void * > | tryGetPropertyUserHandle () const noexcept |
| Gets user data for this window. More... | |
| KZ_NO_DISCARD optional< windowing::Size > | tryGetSize () const noexcept |
| Tries to get the size for this window. More... | |
| ~QnxWindow () | |
| Destructor. More... | |
Static Public Member Functions | |
| static KZ_NO_DISCARD optional< QnxWindow > | tryCreate (QnxContext &qnxContext, const QnxDisplay &qnxDisplay, windowing::Size windowSize, unsigned int bufferCount, int usageFlags, optional< int > pipelineID) noexcept |
| Tries to create a Qnx window. More... | |
Class representing a Qnx window.
|
explicit |
Constructor.
| qnxContext | Qnx context. |
|
explicit |
Constructor.
| windowHandle | Qnx window handle. |
| kanzi::qnx::QnxWindow::~QnxWindow | ( | ) |
Destructor.
|
noexcept |
Move constructor.
|
staticnoexcept |
Tries to create a Qnx window.
| qnxContext | Qnx context. |
| qnxDisplay | Qnx display. |
| windowSize | Size of the window and the window buffer. |
| bufferCount | Amount of buffers to create for a window. |
| usageFlags | Usage flag bit mask to use for a window. |
| pipelineID | Qnx screen pipeline ID |
| nullopt | Window creation failed. |
|
noexcept |
Creates buffers for this window.
| bufferCount | Amount of buffers to create. |
|
noexcept |
Sets buffer size for this window.
| bufferSize | Buffer size to set in pixels. |
|
noexcept |
Tries to get the buffer size for this window.
| nullopt | Getting the buffer size failed. |
|
noexcept |
Sets usage flags for this window.
| usageFlags | Usage flag bit mask to use. |
|
noexcept |
Gets usage flags for this window.
| out_usageFlags | Reference to output integer for the usage flags. |
|
noexcept |
Sets z-order for this window.
| zorder | Z order to set. |
|
noexcept |
Shows this window.
|
noexcept |
Hides this window.
|
noexcept |
Sets size for this window.
| windowSize | Window size to set in pixels. |
|
noexcept |
Sets position for this window.
Child window and embedded window positions are relative to their parent window positions.
| windowPosition | Window position to set in pixels. |
|
noexcept |
Sets transparency level for this window.
| level | Screen transparency level to set. |
|
noexcept |
Tries to get the size for this window.
| nullopt | Getting the size failed. |
|
noexcept |
Tries to get the x and y screen coordinates for this window.
| nullopt | Getting the position failed. |
|
noexcept |
Sets user data for this window.
| userHandle | User data to set. |
|
noexcept |
Gets user data for this window.
| nullopt | Getting user data failed. |
|
noexcept |
Tries to get the current ID string for this window.
| bufferSize | Maximum buffer size for property ID string. |
| nullopt | Getting the property ID string failed. |
|
noexcept |
Sets a property ID string for this window.
| propertyString | Property name to set. |
|
noexcept |
Sets display property for this window.
| qnxDisplay | Qnx display to use. |
|
noexcept |
Sets screen pipeline ID for this window.
| id | Screen pipeline id to set. |
|
noexcept |
Sets minimum number of displayed video frames before a buffer swap for this window.
| interval | Minimum number of video frames to wait before buffer swap. |
|
noexcept |
Gets Qnx window handle.