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.

Toolbar.hpp 360B

123456789101112131415161718192021
  1. #pragma once
  2. #include "app/common.hpp"
  3. #include "widget/OpaqueWidget.hpp"
  4. namespace rack {
  5. namespace app {
  6. struct Toolbar : widget::OpaqueWidget {
  7. // TODO Move these to future Rack app state
  8. float cableOpacity = 0.5;
  9. float cableTension = 0.5;
  10. Toolbar();
  11. void draw(const widget::DrawContext &ctx) override;
  12. };
  13. } // namespace app
  14. } // namespace rack