std :: gui::gui_app
Struct std::GuiAppWindow
struct GuiAppWindow {
&GuiWindow win;
?&GuiUi ui;
?fn int(&struct GuiApp, &GuiWindow, &GuiEvent, ?&Erased) onEvent;
?&Erased onEventData;
?fn void(&struct GuiApp, &GuiWindow, &GuiCanvas, ?&Erased) onDraw;
?&Erased onDrawData;
?fn int(&struct GuiApp, &GuiWindow, double, ?&Erased) onFrame;
?&Erased onFrameData;
struct GuiCanvas canvas;
int canvasReady;
int dirty;
int closing;
}One window and what the app does with it (internal; see the methods).
Fields
The callbacks with their contexts, erased (see std/erased.h).
The callbacks with their contexts, erased (see std/erased.h).