Skip to content

raisin::tcp_viewer::ViewerHostWindow ​

struct · #include <rayrai/TcpViewerApp.hpp>

The host window, for the controls that act on it. An empty callback hides its control.

Public attributes ​

resize ​

cpp
std::function<void(int width, int height)> resize

Resizes the window to a server's request (clamped to 160x120..8192x8192).

isFullscreen ​

cpp
std::function<bool()> isFullscreen

Both or neither: whether the window is fullscreen, and switching it.

setFullscreen ​

cpp
std::function<void(bool fullscreen)> setFullscreen

RaiSim — physics for robotics and AI.