Kanzi 3.9.10
kanzi::wayland::IVIScreen Class Reference

IVI screen wrapper class. More...

#include <kanzi/core.ui/platform/windowing_ng/wayland_ivi_egl/wayland_ivi_screen.hpp>

Inheritance diagram for kanzi::wayland::IVIScreen:
[legend]

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.
 

Detailed Description

IVI screen wrapper class.

Since
Kanzi 3.9.8

Constructor & Destructor Documentation

◆ IVIScreen()

kanzi::wayland::IVIScreen::IVIScreen ( const IVIWM & iviWM,
const WaylandOutput & waylandOutput )
explicitnoexcept

Constructor.

Parameters
iviWMIVIWM object.
waylandOutputAssociated WaylandOutput.

Member Function Documentation

◆ setResolution()

void kanzi::wayland::IVIScreen::setResolution ( int32_t width,
int32_t height )
noexcept

Sets screen resolution.

Parameters
widthWidth of screen.
heightHeight of screen.

◆ getResolution()

KZ_NO_DISCARD windowing::Size kanzi::wayland::IVIScreen::getResolution ( ) const
noexcept

Gets screen resolution.

Returns
Screen resolution.

◆ bindLayer()

void kanzi::wayland::IVIScreen::bindLayer ( uint32_t layerId) const
noexcept

Assigns layer to this screen.

Parameters
layerIdLayer ID.

◆ releaseLayer()

void kanzi::wayland::IVIScreen::releaseLayer ( uint32_t layerId) const
noexcept

Removes layer from this screen.

Parameters
layerIdLayer ID.

The documentation for this class was generated from the following file: