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. More... | |
KZ_NO_DISCARD windowing::Size | getSize () const noexcept |
Gets the size of a Wayland EGL window. More... | |
KZ_NO_DISCARD windowing::SizeU | getSizeU () const noexcept |
Gets the size of a Wayland EGL window. More... | |
WaylandEGLWindow & | operator= (const WaylandEGLWindow &)=delete |
Copy assignment operator. More... | |
WaylandEGLWindow & | operator= (WaylandEGLWindow &&)=delete |
Move assignment operator. More... | |
void | resize (int width, int height) noexcept |
Requests change of window size. More... | |
WaylandEGLWindow (const WaylandSurface &waylandSurface, int width, int height) | |
Constructor. More... | |
WaylandEGLWindow (wl_egl_window *nativeHandle) | |
Constructor. More... | |
WaylandEGLWindow (const WaylandEGLWindow &)=delete | |
Copy constructor. More... | |
WaylandEGLWindow (WaylandEGLWindow &&)=delete | |
Move constructor. More... | |
~WaylandEGLWindow () | |
Destructor. More... | |
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.
|
noexcept |
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.