#include "util/linux/wayland/WaylandWindow.h"
#include <cerrno>
#include <cstring>
WaylandWindow::WaylandWindow()
: … { … }
WaylandWindow::~WaylandWindow()
{ … }
void WaylandWindow::RegistryHandleGlobal(void *data,
struct wl_registry *registry,
uint32_t name,
const char *interface,
uint32_t version)
{ … }
void WaylandWindow::RegistryHandleGlobalRemove(void *data,
struct wl_registry *registry,
uint32_t name)
{ … }
const struct wl_registry_listener WaylandWindow::registryListener = …;
bool WaylandWindow::initializeImpl(const std::string &name, int width, int height)
{ … }
void WaylandWindow::disableErrorMessageDialog() { … }
void WaylandWindow::destroy()
{ … }
void WaylandWindow::resetNativeWindow() { … }
void WaylandWindow::setNativeDisplay(EGLNativeDisplayType display)
{ … }
EGLNativeWindowType WaylandWindow::getNativeWindow() const
{ … }
EGLNativeDisplayType WaylandWindow::getNativeDisplay() const
{ … }
void WaylandWindow::messageLoop()
{ … }
void WaylandWindow::setMousePosition(int x, int y) { … }
bool WaylandWindow::setOrientation(int width, int height)
{ … }
bool WaylandWindow::setPosition(int x, int y)
{ … }
bool WaylandWindow::resize(int width, int height)
{ … }
void WaylandWindow::setVisible(bool isVisible) { … }
void WaylandWindow::signalTestEvent() { … }
bool IsWaylandWindowAvailable()
{ … }