|
ASW Lib
A.D.S. Games SDL Wrapper Library. A library targeted at Allegro4 users who want to switch to SDL3 and use modern c++.
|
Layout widgets for the ASW UI module. More...
Go to the source code of this file.
Classes | |
| class | asw::ui::detail::ForcedSizes |
| Sizes a layout forced on its children, so a child gets its own size back when the layout stops forcing it, e.g. a grid row after its tallest child is hidden. More... | |
| struct | asw::ui::detail::ForcedSizes::Entry |
| class | asw::ui::Stack |
| Places children one after another, top to bottom or left to right. More... | |
| class | asw::ui::VBox |
| A vertical stack with padding, for a column of rows. More... | |
| class | asw::ui::Grid |
| Places children in a grid, filling each row left to right, e.g. a level select or a 2 by 2 menu. More... | |
Namespaces | |
| namespace | asw |
| namespace | asw::ui |
| namespace | asw::ui::detail |
Enumerations | |
| enum class | asw::ui::Direction { asw::ui::Vertical , asw::ui::Horizontal } |
| Stack direction. More... | |
| enum class | asw::ui::Align { asw::ui::Start , asw::ui::Center , asw::ui::End , asw::ui::Stretch } |
| Where children sit across the stack: left to right for a vertical stack, top to bottom for a horizontal one. More... | |
Functions | |
| bool | asw::ui::in_row_with_focusables (const Widget &w) |
| Whether a widget sits in a row with other widgets that can take focus: its parent is a horizontal Stack, or a Grid with more than one column, holding another visible, enabled, focusable child. | |
Layout widgets for the ASW UI module.
Definition in file layout.h.