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
kanzi::wayland::IVIWMSurface::IVIWMSurface |
( |
IVIWM & |
iviWM, |
|
|
const IVISurfaceProps & |
iviSurfaceProps |
|
) |
| |
|
explicitnoexcept |
Constructor.
- Parameters
-
iviWM | IVIWM object. |
iviSurfaceProps | Surface properties to use for this surface. |
void kanzi::wayland::IVIWMSurface::setType |
( |
ivi_wm_surface_type |
type | ) |
const |
|
noexcept |
Requests compositor to change surface type.
- Parameters
-
void kanzi::wayland::IVIWMSurface::setVisibility |
( |
uint32_t |
visibility | ) |
const |
|
noexcept |
Requests compositor to change visibility.
- Parameters
-
visibility | Visibility to set. |
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. |
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. |
void kanzi::wayland::IVIWMSurface::setOpacity |
( |
double |
opacity | ) |
const |
|
noexcept |
Requests compositor to change opacity.
- Parameters
-
void kanzi::wayland::IVIWMSurface::configure |
( |
const IVISurfaceProps & |
surfaceProps | ) |
const |
|
noexcept |
Helper function that will request compositor to change surface state to match supplied properties.
- Parameters
-
surfaceProps | Properties to use. |
void kanzi::wayland::IVIWMSurface::syncStart |
( |
| ) |
const |
|
noexcept |
Request compositor to start sending event about surface changes.
- See also
- syncStop()
void kanzi::wayland::IVIWMSurface::syncStop |
( |
| ) |
const |
|
noexcept |
Request compositor to stop sending event about surface changes.
- See also
- syncStart()
KZ_NO_DISCARD bool kanzi::wayland::IVIWMSurface::isCreated |
( |
| ) |
const |
|
noexcept |
Gets m_isCreated
value.
- Return values
-
void kanzi::wayland::IVIWMSurface::setCreated |
( |
bool |
value | ) |
|
|
noexcept |
Sets m_isCreated
value.
- Parameters
-
KZ_NO_DISCARD uint32_t kanzi::wayland::IVIWMSurface::getSurfaceId |
( |
| ) |
const |
|
noexcept |
Gets surface ID.
- Returns
- Surface ID.
Gets internal surface state.
- Returns
- Internal surface state.
void kanzi::wayland::IVIWMSurface::setProps |
( |
const IVISurfaceProps & |
props | ) |
|
|
noexcept |
Sets internal surface state.
- Parameters
-
The documentation for this class was generated from the following file: