Represents IVI layer. More...
#include <kanzi/core.ui/platform/windowing_ng/wayland_ivi_egl/wayland_ivi_layer.hpp>
Public Member Functions | |
void | bindSurface (uint32_t surfaceId) const noexcept |
Assigns surface to this layer. More... | |
void | clear () const noexcept |
Requests the compositor to remove all surfaces from this layer. More... | |
void | configure (const IVILayerProps &layerProps) const noexcept |
Helper function that requests the compositor to change surface state to match the provided properties. More... | |
KZ_NO_DISCARD uint32_t | getLayerId () const noexcept |
Gets the layer ID. More... | |
KZ_NO_DISCARD const IVILayerProps & | getProps () const noexcept |
Gets the internal layer state. More... | |
KZ_NO_DISCARD bool | isCreated () const noexcept |
Gets the m_isCreated value. More... | |
IVILayer (IVIWM &iviWM, const IVILayerProps &iviLayerProps) noexcept | |
Constructor. More... | |
IVILayer (const IVILayer &)=delete | |
Copy constructor. More... | |
IVILayer (IVILayer &&) noexcept=delete | |
Move constructor. More... | |
IVILayer & | operator= (const IVILayer &)=delete |
Copy assignment operator. More... | |
IVILayer & | operator= (IVILayer &&) noexcept=delete |
Move assignment operator. More... | |
void | releaseSurface (uint32_t surfaceId) const noexcept |
Removes surface from this layer. More... | |
void | setCreated (bool value) noexcept |
Sets the m_isCreated value. More... | |
void | setDestination (int32_t x, int32_t y, int32_t width, int32_t height) const noexcept |
Requests compositor to change destination rectangle. More... | |
void | setOpacity (double opacity) const noexcept |
Requests compositor to change opacity. More... | |
void | setProps (const IVILayerProps &props) noexcept |
Sets the internal layer state. More... | |
void | setSource (int32_t x, int32_t y, int32_t width, int32_t height) const noexcept |
Requests compositor to change source rectangle. More... | |
void | setVisibility (uint32_t visibility) const noexcept |
Requests compositor to change visibility. More... | |
void | syncStart () const noexcept |
Requests the compositor to start sending the event about the layer changes. More... | |
void | syncStop () const noexcept |
Requests the compositor to stop sending the event about the layer changes. More... | |
~IVILayer () | |
Destructor. More... | |
Represents IVI layer.
|
explicitnoexcept |
Constructor.
iviWM | IVIWM object. |
iviLayerProps | Layer properties to use for this layer. |
kanzi::wayland::IVILayer::~IVILayer | ( | ) |
Destructor.
|
delete |
Copy constructor.
|
deletenoexcept |
Move constructor.
Move assignment operator.
|
noexcept |
Assigns surface to this layer.
surfaceId | Surface ID. |
|
noexcept |
Removes surface from this layer.
surfaceId | Surface ID. |
|
noexcept |
Requests compositor to change source rectangle.
x | X coordinate. |
y | Y coordinate. |
width | Width. |
height | Height. |
|
noexcept |
Requests compositor to change destination rectangle.
x | X coordinate. |
y | Y coordinate. |
width | Width. |
height | Height. |
|
noexcept |
Requests compositor to change visibility.
visibility | Visibility to set. |
|
noexcept |
Requests compositor to change opacity.
opacity | Opacity value. |
|
noexcept |
Helper function that requests the compositor to change surface state to match the provided properties.
layerProps | Properties to use. |
|
noexcept |
Requests the compositor to start sending the event about the layer changes.
|
noexcept |
Requests the compositor to stop sending the event about the layer changes.
|
noexcept |
Requests the compositor to remove all surfaces from this layer.
|
noexcept |
Gets the m_isCreated
value.
true | Layer was created. |
false | Layer was not created. |
|
noexcept |
Sets the m_isCreated
value.
value | Value to set. |
|
noexcept |
Gets the layer ID.
|
noexcept |
Gets the internal layer state.
|
noexcept |
Sets the internal layer state.
props | Properties to use. |