MODULE v1.8.0

ui

kn::ui

Declared in kraken/ui/UI.hpp

Reference

C++ API
enum Direction

No description in the source header.

ValueInitializerDescription
HorizontalAutomatic—
VerticalAutomatic—
StackAutomatic—

Align

enum
enum Align

No description in the source header.

ValueInitializerDescription
StartAutomatic—
CenterAutomatic—
EndAutomatic—
StretchAutomatic—

root

function
RootContext root(const Rect &bounds, Direction dir=Direction::Vertical, Align align=Align::Start, Align justify=Align::Start)

No description in the source header.

row

function
Context row(const std::optional< Style > &style=std::nullopt, double gap=0.0, double padding=0.0, Align align=Align::Start, Align justify=Align::Start)

No description in the source header.

column

function
Context column(const std::optional< Style > &style=std::nullopt, double gap=0.0, double padding=0.0, Align align=Align::Start, Align justify=Align::Start)

No description in the source header.

stack

function
Context stack(const std::optional< Style > &style=std::nullopt, double padding=0.0, Align align=Align::Start, Align justify=Align::Start)

No description in the source header.

button

function
bool button(const std::string &text, const Style &style)

No description in the source header.

label

function
void label(const std::string &text, const Style &style)

No description in the source header.

panel

function
void panel(const Style &style)

No description in the source header.

Find your next step

Start typing to search the manual.