16#ifndef vtkWaylandHardwareWindow_h
17#define vtkWaylandHardwareWindow_h
20#include "vtkRenderingUIModule.h"
36struct zxdg_decoration_manager_v1;
38VTK_ABI_NAMESPACE_BEGIN
104 void* data, wl_registry* registry, uint32_t name,
const char* interface, uint32_t version);
112 void* data, xdg_toplevel* xdg_toplevel, int32_t width, int32_t height, wl_array* states);
148 bool IsConfigured =
false;
a simple class to control print indentation
~vtkWaylandHardwareWindow() override
xdg_toplevel * XdgToplevel
static void RegistryHandleGlobalRemove(void *data, wl_registry *registry, uint32_t name)
void ShowCursor() override
Hide or Show the mouse cursor, it is nice to be able to hide the default cursor if you want VTK to di...
static void XdgWmBaseHandlePing(void *data, xdg_wm_base *xdg_wm_base, uint32_t serial)
static vtkWaylandHardwareWindow * New()
wl_display * GetDisplayId()
Get the Wayland display.
void SetSize(int, int) override
Set the size of the window in pixels.
static void XdgSurfaceHandleConfigure(void *data, xdg_surface *xdg_surface, uint32_t serial)
void SetCurrentCursor(int) override
Change the shape of the cursor.
void * GetGenericWindowId() override
These are window system independent methods that are used to help interface vtkWindow to native windo...
wl_callback * FrameCallback
static void XdgToplevelHandleConfigure(void *data, xdg_toplevel *xdg_toplevel, int32_t width, int32_t height, wl_array *states)
static void RegistryHandleGlobal(void *data, wl_registry *registry, uint32_t name, const char *interface, uint32_t version)
static void FrameHandleDone(void *data, wl_callback *callback, uint32_t time)
void * GetGenericDisplayId() override
These are window system independent methods that are used to help interface vtkWindow to native windo...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
wl_compositor * Compositor
vtkWaylandHardwareWindow()
static void XdgToplevelHandleClose(void *data, xdg_toplevel *xdg_toplevel)
void SetPosition(int, int) override
Set the position of the window.
void SetWindowName(const char *) override
Set the name of the window (the title).
void HideCursor() override
Hide or Show the mouse cursor.
wl_surface * GetWindowId()
Get the Wayland surface.
zxdg_decoration_manager_v1 * DecorationManager
virtual void SetPosition(int x, int y)
Set the position (x and y) of the rendering window in screen coordinates (in pixels).
virtual void SetSize(int width, int height)
Set the size (width and height) of the rendering window in screen coordinates (in pixels).