Kanzi  3.9.9
Kanzi Engine C++ API
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. 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...
 

Detailed Description

IVI screen wrapper class.

Since
Kanzi 3.9.8

Constructor & Destructor Documentation

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

Constructor.

Parameters
iviWMIVIWM object.
waylandOutputAssociated WaylandOutput.

Member Function Documentation

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

Sets screen resolution.

Parameters
widthWidth of screen.
heightHeight of screen.
KZ_NO_DISCARD windowing::Size kanzi::wayland::IVIScreen::getResolution ( ) const
noexcept

Gets screen resolution.

Returns
Screen resolution.
void kanzi::wayland::IVIScreen::bindLayer ( uint32_t  layerId) const
noexcept

Assigns layer to this screen.

Parameters
layerIdLayer ID.
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: