$darkmode
Helper for automatic vertical stacking of UI elements. More...
#include <ui.h>
Data Fields | |
| UIContext * | ui |
| float | start_x |
| float | cursor_y |
| float | padding |
| int | screen_width |
| int | screen_height |
Helper for automatic vertical stacking of UI elements.
| float UILayout::cursor_y |
Current vertical insertion point.
| float UILayout::padding |
Space between elements.
| int UILayout::screen_height |
Current window height.
| int UILayout::screen_width |
Current window width.
| float UILayout::start_x |
Anchor X position.
| UIContext* UILayout::ui |
Reference to the UI context.