ui
kn::ui Declared in kraken/ui/UI.hpp
At a glance
9 membersReference
C++ APIDirection
enumenum DirectionNo description in the source header.
| Value | Initializer | Description |
|---|---|---|
Horizontal | Automatic | — |
Vertical | Automatic | — |
Stack | Automatic | — |
Align
enumenum AlignNo description in the source header.
| Value | Initializer | Description |
|---|---|---|
Start | Automatic | — |
Center | Automatic | — |
End | Automatic | — |
Stretch | Automatic | — |
root
functionRootContext root(const Rect &bounds, Direction dir=Direction::Vertical, Align align=Align::Start, Align justify=Align::Start)No description in the source header.
row
functionNo description in the source header.
column
functionNo description in the source header.
stack
functionNo description in the source header.
button
functionbool button(const std::string &text, const Style &style)No description in the source header.
label
functionvoid label(const std::string &text, const Style &style)No description in the source header.
panel
functionvoid panel(const Style &style)No description in the source header.