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.

42 lines
926B

  1. #pragma once
  2. #include "asset.hpp"
  3. #include "rack.hpp"
  4. using namespace rack;
  5. #define plugin "SynthKit"
  6. struct RCJackSmallRed : SVGPort {
  7. RCJackSmallRed() {
  8. background->svg = SVG::load(assetPlugin(plugin, "res/JackSmallRed.svg"));
  9. background->wrap();
  10. box.size = background->box.size;
  11. }
  12. };
  13. struct RCJackSmallGrey : SVGPort {
  14. RCJackSmallGrey() {
  15. background->svg = SVG::load(assetPlugin(plugin, "res/JackSmallGrey.svg"));
  16. background->wrap();
  17. box.size = background->box.size;
  18. }
  19. };
  20. struct RCJackSmallDark : SVGPort {
  21. RCJackSmallDark() {
  22. background->svg = SVG::load(assetPlugin(plugin, "res/JackSmallDark.svg"));
  23. background->wrap();
  24. box.size = background->box.size;
  25. }
  26. };
  27. struct RCJackSmallLight : SVGPort {
  28. RCJackSmallLight() {
  29. background->svg = SVG::load(assetPlugin(plugin, "res/JackSmallLight.svg"));
  30. background->wrap();
  31. box.size = background->box.size;
  32. }
  33. };