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.

21 lines
320B

  1. #pragma once
  2. #include <app/common.hpp>
  3. #include <widget/TransparentWidget.hpp>
  4. namespace rack {
  5. namespace app {
  6. struct RailWidget : widget::TransparentWidget {
  7. std::shared_ptr<Svg> svg;
  8. RailWidget();
  9. void draw(const DrawArgs& args) override;
  10. math::Vec getTileSize();
  11. };
  12. } // namespace app
  13. } // namespace rack