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.

MarginLayout.hpp 294B

12345678910111213141516171819
  1. #pragma once
  2. #include <widget/Widget.hpp>
  3. #include <ui/common.hpp>
  4. namespace rack {
  5. namespace ui {
  6. /** Positions children with a margin between the layout's box. */
  7. struct MarginLayout : widget::Widget {
  8. math::Vec margin;
  9. void step() override;
  10. };
  11. } // namespace ui
  12. } // namespace rack