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)> resizeResizes the window to a server's request (clamped to 160x120..8192x8192).
isFullscreen
cpp
std::function<bool()> isFullscreenBoth or neither: whether the window is fullscreen, and switching it.
setFullscreen
cpp
std::function<void(bool fullscreen)> setFullscreen