Wayland IVI Shell abstraction. More...
#include <kanzi/core.ui/platform/windowing_ng/wayland/shells/ivi/wayland_ivi_shell.hpp>
Public Types | |
using | InterfaceType = IVIApplication |
Generic alias to query the underlying interface type. More... | |
Public Member Functions | |
bool | addListener (const ivi_surface_listener &listener, void *data) const noexcept |
Adds a listener to the underlying IVISurface. More... | |
KZ_NO_DISCARD const IVISurface & | getIVISurface () const noexcept |
Gets the underlying IVISurface. More... | |
IVIShell (ivi_application *nativeHandle, const WaylandSurface &waylandSurface, uint32_t iviId) noexcept | |
Constructor. More... | |
Public Member Functions inherited from kanzi::wayland::AbstractWaylandShell< IVIShell > | |
bool | bringToFront () const noexcept |
Displays the window on top of all other windows. More... | |
KZ_NO_DISCARD optional< string > | getWindowTitle () noexcept |
Gets the current window title. More... | |
bool | hideWindow () noexcept |
Hides the window. More... | |
bool | makeFullscreen () const noexcept |
Enters the full-screen mode. More... | |
bool | makeMaximized () const noexcept |
Resizes the window to take up the entire screen. More... | |
bool | makeMinimized () noexcept |
Minimizes the window. More... | |
bool | makeRegular () const noexcept |
Exits the full-screen mode. More... | |
bool | setWindowTitle (string_view title) const noexcept |
Sets the window title. More... | |
bool | showWindow () noexcept |
Shows the hidden window. More... | |
Static Public Member Functions | |
static bool | bringToFront () noexcept |
AbstractWaylandShell::bringToFront() implementation. More... | |
static KZ_NO_DISCARD optional< string > | getWindowTitle () noexcept |
AbstractWaylandShell::getWindowTitle() implementation. More... | |
static bool | hideWindow () noexcept |
AbstractWaylandShell::hideWindow() implementation. More... | |
static bool | makeFullscreen () noexcept |
AbstractWaylandShell::makeFullscreen() implementation. More... | |
static bool | makeMaximized () noexcept |
AbstractWaylandShell::makeMaximized() implementation. More... | |
static bool | makeMinimized () noexcept |
AbstractWaylandShell::makeMinimized() implementation. More... | |
static bool | makeRegular () noexcept |
AbstractWaylandShell::makeRegular() implementation. More... | |
static bool | setWindowTitle (string_view title) noexcept |
AbstractWaylandShell::setWindowTitle() implementation. More... | |
static bool | showWindow () noexcept |
AbstractWaylandShell::showWindow() implementation. More... | |
Wayland IVI Shell abstraction.
Generic alias to query the underlying interface type.
|
explicitnoexcept |
Constructor.
nativeHandle | Native handle provided by Wayland. |
waylandSurface | Associated Wayland surface. |
iviId | IVI ID to assign to the created shell. |
|
staticnoexcept |
AbstractWaylandShell::makeFullscreen() implementation.
|
staticnoexcept |
AbstractWaylandShell::makeRegular() implementation.
|
staticnoexcept |
AbstractWaylandShell::makeMaximized() implementation.
|
staticnoexcept |
AbstractWaylandShell::makeMinimized() implementation.
|
staticnoexcept |
AbstractWaylandShell::bringToFront() implementation.
|
staticnoexcept |
AbstractWaylandShell::showWindow() implementation.
|
staticnoexcept |
AbstractWaylandShell::hideWindow() implementation.
|
staticnoexcept |
AbstractWaylandShell::setWindowTitle() implementation.
|
staticnoexcept |
AbstractWaylandShell::getWindowTitle() implementation.
|
noexcept |
Adds a listener to the underlying IVISurface.
listener | Listener to attach. |
data | Data pointer to receive when the listener is called. |
|
noexcept |
Gets the underlying IVISurface.