Quake's menus drawn as Quake draws them, on a 320 by 200 canvas whose colour 255 is see-through: the plaque and title pictures, the spinning cursor, options with their sliders and switches, the controls with their keys, the help pages and the quit box.
ElixirQuake.Menu.Draw.canvas(menu, seconds)
Summary
Functions
The menu, with the settings it holds, on a see-through 320 by 200 canvas, at time seconds for its animations.
Every other pixel of frame set to colour 0, as Quake darkens the game behind a menu.
Functions
@spec canvas(ElixirQuake.Menu.t(), number()) :: Cauldron3D.Frame.t()
The menu, with the settings it holds, on a see-through 320 by 200 canvas, at time seconds for its animations.
@spec fade(Cauldron3D.Frame.t()) :: Cauldron3D.Frame.t()
Every other pixel of frame set to colour 0, as Quake darkens the game behind a menu.