Struct std::GuiWindowState
struct GuiWindowState {
unsigned int id;
unsigned long long key;
?&Erased native;
?&Erased presenterData;
?&struct GuiPresenter presenter;
struct Vec<struct GuiEvent> queue;
unsigned long qhead;
struct String title;
int x;
int y;
int logicalW;
int logicalH;
int pixelW;
int pixelH;
double scale;
int hiDpi;
int minW;
int minH;
int maxW;
int maxH;
int visible;
int focused;
int hovered;
int cursor;
int resizable;
int decorated;
int topmost;
double lastDownMs;
double lastDownX;
double lastDownY;
int lastDownButton;
int clickCount;
}The backend-neutral state behind GuiWindow.platform. Backends read and update the fields their contract above names; the rest is the portable layer's.
Fields
== GuiWindow.id
backend: native window identifier (see window_create)
backend-private per-window data (see std/erased.h)
presenter-private per-window data
the attached presenter (gui_window_set_presenter); null = the backend's own window_present
pending events, FIFO from 'qhead'
logical position, GUI_POS_DEFAULT if unknown
logical client size
buffer size the window currently wants
double-click detection (gui_backend_post)
double-click detection (gui_backend_post)
double-click detection (gui_backend_post)
double-click detection (gui_backend_post)
double-click detection (gui_backend_post)