VCV Rack API v2
Loading...
Searching...
No Matches
SequentialLayout.hpp
Go to the documentation of this file.
1#pragma once
2#include <widget/Widget.hpp>
3#include <ui/common.hpp>
4
5
6namespace rack {
7namespace ui {
8
9
36
37
38} // namespace ui
39} // namespace rack
Root namespace for the Rack API.
Definition AudioDisplay.hpp:9
2-dimensional vector of floats, representing a point on the plane for graphics.
Definition math.hpp:189
Positions children in a row/column based on their widths/heights.
Definition SequentialLayout.hpp:11
Orientation orientation
Definition SequentialLayout.hpp:26
void step() override
Advances the module by one frame.
math::Vec margin
Space between box bounds.
Definition SequentialLayout.hpp:30
Alignment alignment
Definition SequentialLayout.hpp:27
math::Vec spacing
Space between adjacent elements, and adjacent lines if wrapped.
Definition SequentialLayout.hpp:32
bool wrap
Definition SequentialLayout.hpp:28
Alignment
Definition SequentialLayout.hpp:16
@ BOTTOM_ALIGNMENT
Definition SequentialLayout.hpp:23
@ LEFT_ALIGNMENT
Definition SequentialLayout.hpp:17
@ RIGHT_ALIGNMENT
Definition SequentialLayout.hpp:19
@ MIDDLE_ALIGNMENT
Definition SequentialLayout.hpp:22
@ TOP_ALIGNMENT
Definition SequentialLayout.hpp:21
@ CENTER_ALIGNMENT
Definition SequentialLayout.hpp:18
Orientation
Definition SequentialLayout.hpp:12
@ VERTICAL_ORIENTATION
Definition SequentialLayout.hpp:14
@ HORIZONTAL_ORIENTATION
Definition SequentialLayout.hpp:13
A node in the 2D scene graph.
Definition Widget.hpp:21