TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::SDLWindowBackendOptions Struct Reference

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.

Detailed Description

Member Data Documentation

◆ hooks

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.

◆ pumpEvents

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).


The documentation for this struct was generated from the following file: