| 6 | #include "VASTButton.h" |
| 7 | |
| 8 | VASTButton::VASTButton(const juce::String &componentName) { |
| 9 | this->setName(componentName); |
| 10 | this->setComponentID(componentName); |
| 11 | vastPopupHandler.setComponentName(componentName); |
| 12 | this->addMouseListener(&vastPopupHandler, true); |
| 13 | |
| 14 | setRepaintsOnMouseActivity(true); //performance |
| 15 | setBufferedToImage(true); //performance |
| 16 | |
| 17 | m_editor = NULL; |
| 18 | m_processor = NULL; |
| 19 | } |
| 20 | |
| 21 | VASTButton::~VASTButton() { |
| 22 | this->setLookAndFeel(nullptr); |
nothing calls this directly
no test coverage detected