gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

xtPartButton.h (483B)


      1 #pragma once
      2 
      3 #include "jucePluginEditorLib/partbutton.h"
      4 
      5 namespace xtJucePlugin
      6 {
      7 	class Editor;
      8 
      9 	class PartButton : public jucePluginEditorLib::PartButton<juce::DrawableButton>
     10 	{
     11 	public:
     12 		PartButton(Editor& _editor, const std::string& _name, ButtonStyle _buttonStyle);
     13 
     14 		void onClick() override;
     15 
     16 		bool isInterestedInDragSource(const SourceDetails& dragSourceDetails) override;
     17 		void mouseDrag(const juce::MouseEvent& _event) override;
     18 
     19 	private:
     20 		Editor& m_editor;
     21 	};
     22 }