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.

20 lines
456B

  1. #include "rack.hpp"
  2. using namespace rack;
  3. RACK_PLUGIN_DECLARE(SubmarineFree);
  4. #ifdef USE_VST2
  5. #define plugin "SubmarineFree"
  6. #endif // USE_VST2
  7. #include "ComponentLibrary/components.hpp"
  8. struct SubHelper {
  9. static std::shared_ptr<SVG> LoadPanel(const char/*Plugin*/ *_plugin, const char *str, int num) {
  10. char workingSpace[100];
  11. snprintf(workingSpace, 100, "res/%s%02d.svg", str, num);
  12. return SVG::load(assetPlugin(_plugin, workingSpace));
  13. }
  14. };