Options for headless.
options := Headless_Options.{ width = 1024, height = 768, scale = 2 };
ui := headless(options);
defer free_ui(*ui);
assert(ui.size.x == 1024);Fields
- width: float
- height: float
- scale: float
- system_fonts: bool
- load the platform's fonts instead of fixed-width synthetic ones
- theme: Theme_Mode