IVI screen wrapper class. More...
#include <kanzi/core.ui/platform/windowing_ng/wayland_ivi_egl/wayland_ivi_screen.hpp>
Public Member Functions | |
void | bindLayer (uint32_t layerId) const noexcept |
Assigns layer to this screen. More... | |
KZ_NO_DISCARD windowing::Size | getResolution () const noexcept |
Gets screen resolution. More... | |
IVIScreen (const IVIWM &iviWM, const WaylandOutput &waylandOutput) noexcept | |
Constructor. More... | |
void | releaseLayer (uint32_t layerId) const noexcept |
Removes layer from this screen. More... | |
void | setResolution (int32_t width, int32_t height) noexcept |
Sets screen resolution. More... | |
Public Member Functions inherited from kanzi::wayland::WaylandInterface< IVIScreen, ivi_wm_screen, ivi_wm_screen_listener > | |
bool | addListener (enable_if_t<!is_same< L, void >::value, const L & > listener, void *data) const noexcept |
Adds a listener to Wayland object. More... | |
KZ_NO_DISCARD unsigned int | askVersion () const noexcept |
Requests compositor which interface version we use. More... | |
KZ_NO_DISCARD ivi_wm_screen * | getNativeHandle () const noexcept |
Gets the underlying native handle. More... | |
Additional Inherited Members | |
Public Types inherited from kanzi::wayland::WaylandInterface< IVIScreen, ivi_wm_screen, ivi_wm_screen_listener > | |
using | ListenerType = ivi_wm_screen_listener |
Generic alias to query for appropriate listener type. More... | |
Static Public Member Functions inherited from kanzi::wayland::WaylandInterface< IVIScreen, ivi_wm_screen, ivi_wm_screen_listener > | |
static KZ_NO_DISCARD unsigned int | askVersion (ivi_wm_screen *handle) noexcept |
Requests compositor which interface version we use. More... | |
IVI screen wrapper class.
|
explicitnoexcept |
Constructor.
iviWM | IVIWM object. |
waylandOutput | Associated WaylandOutput. |
|
noexcept |
Sets screen resolution.
width | Width of screen. |
height | Height of screen. |
|
noexcept |
Gets screen resolution.
|
noexcept |
Assigns layer to this screen.
layerId | Layer ID. |
|
noexcept |
Removes layer from this screen.
layerId | Layer ID. |