Wayland EGL window wrapper class. More...
#include <kanzi/core.ui/platform/windowing_ng/wayland_egl/wayland_egl_window.hpp>
Public Member Functions | |
| KZ_NO_DISCARD wl_egl_window * | getNativeHandle () const noexcept |
| Gets the underlying native handle. | |
| KZ_NO_DISCARD windowing::Size | getSize () const noexcept |
| Gets the size of a Wayland EGL window. | |
| KZ_NO_DISCARD windowing::SizeU | getSizeU () const noexcept |
| Gets the size of a Wayland EGL window. | |
| WaylandEGLWindow & | operator= (const WaylandEGLWindow &)=delete |
| Copy assignment operator. | |
| WaylandEGLWindow & | operator= (WaylandEGLWindow &&)=delete |
| Move assignment operator. | |
| void | resize (int width, int height) noexcept |
| Requests change of window size. | |
| WaylandEGLWindow (const WaylandEGLWindow &)=delete | |
| Copy constructor. | |
| WaylandEGLWindow (const WaylandSurface &waylandSurface, int width, int height) | |
| Constructor. | |
| WaylandEGLWindow (WaylandEGLWindow &&)=delete | |
| Move constructor. | |
| WaylandEGLWindow (wl_egl_window *nativeHandle) | |
| Constructor. | |
| ~WaylandEGLWindow () | |
| Destructor. | |
Wayland EGL window wrapper class.
|
explicit |
Constructor.
| waylandSurface | WaylandSurface from which to construct WaylandEGLWindow. |
| width | Window width. |
| height | Window height. |
|
explicit |
Constructor.
| nativeHandle | Native Wayland handle. |
| kanzi::wayland::WaylandEGLWindow::~WaylandEGLWindow | ( | ) |
Destructor.
|
delete |
Copy constructor.
|
delete |
Move constructor.
|
delete |
Copy assignment operator.
|
delete |
Move assignment operator.
Requests change of window size.
| width | Window width. |
| height | Window height |
|
noexcept |
Gets the size of a Wayland EGL window.
|
noexcept |
|
noexcept |
Gets the underlying native handle.