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.

75 lines
2.7KB

  1. #ifndef TROWASOFT_HPP
  2. #define TROWASOFT_HPP
  3. #include "rack.hpp"
  4. using namespace rack;
  5. RACK_PLUGIN_DECLARE(trowaSoft);
  6. #ifdef USE_VST2
  7. #define plugin "trowaSoft"
  8. #endif // USE_VST2
  9. #define TROWA_PLUGIN_NAME "trowaSoft"
  10. // An internal version number (integer) value. Simple int value for quick/dirty easy comparison.
  11. #define TROWA_INTERNAL_VERSION_INT 11 // 11: 0.6.3
  12. // 7: 0.5.5.2
  13. // 8: 0.6.5.2dev - For Rack 0.6.0dev
  14. // 9: 0.6.1
  15. //10: 0.6.2
  16. //11: 0.6.3
  17. //#include "TSSModuleWidgetBase.hpp"
  18. #include "TSSequencerWidgetBase.hpp"
  19. #include "Module_trigSeq.hpp"
  20. #include "Module_voltSeq.hpp"
  21. /////////////////////////////////////////////////////////////////////////////////
  22. // Module Widgets
  23. /////////////////////////////////////////////////////////////////////////////////
  24. //-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
  25. // trigSeqWidget
  26. // Widget for the trowaSoft pad / trigger sequencer.
  27. //-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
  28. struct trigSeqWidget : TSSequencerWidgetBase {
  29. //-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
  30. // trigSeqWidget()
  31. // Widget for the trowaSoft 16-step pad / trigger sequencer.
  32. // @seqModule : (IN) Pointer to the sequencer module.
  33. //-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
  34. trigSeqWidget(trigSeq* seqModule);
  35. };
  36. //-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
  37. // voltSeqWidget
  38. // Widget for the trowaSoft knob / voltage sequencer.
  39. //-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
  40. struct voltSeqWidget : TSSequencerWidgetBase {
  41. //-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
  42. // voltSeqWidget()
  43. // Widget for the trowaSoft 16-step voltage/knobby sequencer.
  44. // @seqModule : (IN) Pointer to the sequencer module.
  45. //-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
  46. voltSeqWidget(voltSeq* seqModule);
  47. // Create context menu with shifting.
  48. Menu *createContextMenu() override;
  49. };
  50. //-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
  51. // trigSeq64Widget
  52. // Widget for the trowaSoft 64-step sequencer.
  53. //-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
  54. struct trigSeq64Widget : TSSequencerWidgetBase {
  55. //-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
  56. // trigSeq64Widget()
  57. // Widget for the trowaSoft 64-step sequencer.
  58. // @seqModule : (IN) Pointer to the sequencer module.
  59. //-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
  60. trigSeq64Widget(trigSeq* seqModule);
  61. };
  62. #endif