|
coastline 0.0.4
|
What a frame of a screen shows, the arguments of ProcessScreenState(). More...
#include <menuscreen.h>

Public Attributes | |
| std::string_view | title |
| std::span< const MenuItem > | items |
| int * | selection = nullptr |
| std::function< bool(int)> | isSelectable |
| std::array< int, 3 > | top {} |
| std::array< int, 3 > | bottom {} |
What a frame of a screen shows, the arguments of ProcessScreenState().
| std::string_view coastline::MenuSetup::title |
The heading, drawn in red and yellow.
| int* coastline::MenuSetup::selection = nullptr |
The item chosen, read when the screen starts.
| std::function<bool(int)> coastline::MenuSetup::isSelectable |
Whether an item may be moved to, or none for all.
| std::array<int, 3> coastline::MenuSetup::top {} |
The red, green, and blue of the dark background.
| std::array<int, 3> coastline::MenuSetup::bottom {} |
The colour the texels of the background lerp to.