Represents IVI surface from WM point of view.
More...
#include <kanzi/core.ui/platform/windowing_ng/wayland_ivi_egl/wayland_ivi_wm_surface.hpp>
Represents IVI surface from WM point of view.
- Since
- Kanzi 3.9.8
◆ IVIWMSurface()
| kanzi::wayland::IVIWMSurface::IVIWMSurface |
( |
IVIWM & |
iviWM, |
|
|
const IVISurfaceProps & |
iviSurfaceProps |
|
) |
| |
|
explicitnoexcept |
Constructor.
- Parameters
-
| iviWM | IVIWM object. |
| iviSurfaceProps | Surface properties to use for this surface. |
◆ setType()
| void kanzi::wayland::IVIWMSurface::setType |
( |
ivi_wm_surface_type |
type | ) |
const |
|
noexcept |
Requests compositor to change surface type.
- Parameters
-
◆ setVisibility()
| void kanzi::wayland::IVIWMSurface::setVisibility |
( |
uint32_t |
visibility | ) |
const |
|
noexcept |
Requests compositor to change visibility.
- Parameters
-
| visibility | Visibility to set. |
◆ setSource()
| void kanzi::wayland::IVIWMSurface::setSource |
( |
int32_t |
x, |
|
|
int32_t |
y, |
|
|
int32_t |
width, |
|
|
int32_t |
height |
|
) |
| const |
|
noexcept |
Requests compositor to change source rectangle.
- Parameters
-
| x | X coordinate. |
| y | Y coordinate. |
| width | Width. |
| height | Height. |
◆ setDestination()
| void kanzi::wayland::IVIWMSurface::setDestination |
( |
int32_t |
x, |
|
|
int32_t |
y, |
|
|
int32_t |
width, |
|
|
int32_t |
height |
|
) |
| const |
|
noexcept |
Requests compositor to change destination rectangle.
- Parameters
-
| x | X coordinate. |
| y | Y coordinate. |
| width | Width. |
| height | Height. |
◆ setOpacity()
| void kanzi::wayland::IVIWMSurface::setOpacity |
( |
double |
opacity | ) |
const |
|
noexcept |
Requests compositor to change opacity.
- Parameters
-
◆ configure()
Helper function that will request compositor to change surface state to match supplied properties.
- Parameters
-
| surfaceProps | Properties to use. |
◆ syncStart()
| void kanzi::wayland::IVIWMSurface::syncStart |
( |
| ) |
const |
|
noexcept |
Request compositor to start sending event about surface changes.
- See also
- syncStop()
◆ syncStop()
| void kanzi::wayland::IVIWMSurface::syncStop |
( |
| ) |
const |
|
noexcept |
Request compositor to stop sending event about surface changes.
- See also
- syncStart()
◆ isCreated()
| KZ_NO_DISCARD bool kanzi::wayland::IVIWMSurface::isCreated |
( |
| ) |
const |
|
noexcept |
Gets m_isCreated value.
- Return values
-
◆ setCreated()
| void kanzi::wayland::IVIWMSurface::setCreated |
( |
bool |
value | ) |
|
|
noexcept |
Sets m_isCreated value.
- Parameters
-
◆ getSurfaceId()
| KZ_NO_DISCARD uint32_t kanzi::wayland::IVIWMSurface::getSurfaceId |
( |
| ) |
const |
|
noexcept |
Gets surface ID.
- Returns
- Surface ID.
◆ getProps()
Gets internal surface state.
- Returns
- Internal surface state.
◆ setProps()
Sets internal surface state.
- Parameters
-
The documentation for this class was generated from the following file: