UI module

App_Options

structextensionexperimentalsince 0.31.0Source

Options for run_app.

Example↗
options := App_Options.{ title = "Notes", width = 900, height = 600 };

This one is only checked to compile, not run.

Fields

title: string
width: int
logical size in points
height: int
theme: Theme_Mode
fonts: bool
load the platform's fonts
frame_limit: int
stop after this many frames (0: run until the window closes); for smoke tests

See also