|
TachyonUI 0.1.0
High-performance UI for building tools.
|
Options for SDLWindowBackend (SDLWindowBackend::Options). More...
#include <gui_core/windows/sdl/gui_window_backend_sdl.h>
Public Attributes | |
| const AllocationHooks * | hooks = nullptr |
| Hooks for SDL's memory functions, which are process-wide. | |
| bool | pumpEvents = true |
| PollEvents empties SDL's event queue. | |
Options for SDLWindowBackend (SDLWindowBackend::Options).
| const AllocationHooks* tachyon::SDLWindowBackendOptions::hooks = nullptr |
Hooks for SDL's memory functions, which are process-wide.
Used only when this backend starts SDL and SDL holds no memory yet.
| bool tachyon::SDLWindowBackendOptions::pumpEvents = true |
PollEvents empties SDL's event queue.
A host that runs SDL's event loop itself turns this off; the GUI's windows still get their events while the host pumps (SDL_PollEvent / SDL_PumpEvents).