Represents IVI surface from WM point of view. More...
#include <kanzi/core.ui/platform/windowing_ng/wayland_ivi_egl/wayland_ivi_wm_surface.hpp>
Public Member Functions | |
void | configure (const IVISurfaceProps &surfaceProps) const noexcept |
Helper function that will request compositor to change surface state to match supplied properties. | |
KZ_NO_DISCARD const IVISurfaceProps & | getProps () const noexcept |
Gets internal surface state. | |
KZ_NO_DISCARD uint32_t | getSurfaceId () const noexcept |
Gets surface ID. | |
KZ_NO_DISCARD bool | isCreated () const noexcept |
Gets m_isCreated value. | |
IVIWMSurface (IVIWM &iviWM, const IVISurfaceProps &iviSurfaceProps) noexcept | |
Constructor. | |
void | setCreated (bool value) noexcept |
Sets m_isCreated value. | |
void | setDestination (int32_t x, int32_t y, int32_t width, int32_t height) const noexcept |
Requests compositor to change destination rectangle. | |
void | setOpacity (double opacity) const noexcept |
Requests compositor to change opacity. | |
void | setProps (const IVISurfaceProps &props) noexcept |
Sets internal surface state. | |
void | setSource (int32_t x, int32_t y, int32_t width, int32_t height) const noexcept |
Requests compositor to change source rectangle. | |
void | setType (ivi_wm_surface_type type) const noexcept |
Requests compositor to change surface type. | |
void | setVisibility (uint32_t visibility) const noexcept |
Requests compositor to change visibility. | |
void | syncStart () const noexcept |
Request compositor to start sending event about surface changes. | |
void | syncStop () const noexcept |
Request compositor to stop sending event about surface changes. | |
Represents IVI surface from WM point of view.
|
explicitnoexcept |
|
noexcept |
Requests compositor to change surface type.
type | Surface type to set. |
Requests compositor to change visibility.
visibility | Visibility to set. |
|
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. |
Requests compositor to change opacity.
opacity | Opacity value. |
|
noexcept |
Helper function that will request compositor to change surface state to match supplied properties.
surfaceProps | Properties to use. |
|
noexcept |
Request compositor to start sending event about surface changes.
|
noexcept |
Request compositor to stop sending event about surface changes.
|
noexcept |
Sets m_isCreated
value.
value | Value to set. |
|
noexcept |
Gets surface ID.
|
noexcept |
Gets internal surface state.
|
noexcept |
Sets internal surface state.
props | Properties to use. |