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. | |
KZ_NO_DISCARD windowing::Size | getResolution () const noexcept |
Gets screen resolution. | |
IVIScreen (const IVIWM &iviWM, const WaylandOutput &waylandOutput) noexcept | |
Constructor. | |
void | releaseLayer (uint32_t layerId) const noexcept |
Removes layer from this screen. | |
void | setResolution (int32_t width, int32_t height) noexcept |
Sets screen resolution. | |
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. | |
KZ_NO_DISCARD unsigned int | askVersion () const noexcept |
Requests compositor which interface version we use. | |
KZ_NO_DISCARD ivi_wm_screen * | getNativeHandle () const noexcept |
Gets the underlying native handle. | |
Additional Inherited Members | |
Public Types inherited from kanzi::wayland::WaylandInterface< IVIScreen, ivi_wm_screen, ivi_wm_screen_listener > | |
using | ListenerType |
Generic alias to query for appropriate listener type. | |
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. | |
IVI screen wrapper class.
|
explicitnoexcept |
Constructor.
iviWM | IVIWM object. |
waylandOutput | Associated WaylandOutput. |
Sets screen resolution.
width | Width of screen. |
height | Height of screen. |
|
noexcept |
Gets screen resolution.
Assigns layer to this screen.
layerId | Layer ID. |
Removes layer from this screen.
layerId | Layer ID. |