You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #include <ui/MarginLayout.hpp>
- #include <vector>
-
-
- namespace rack {
- namespace ui {
-
-
- void MarginLayout::step() {
- Widget::step();
-
- math::Rect childBox = box.zeroPos().grow(margin.neg());
- for (Widget* child : children) {
- child->box = childBox;
- }
- }
-
-
- } // namespace ui
- } // namespace rack
|