diff --git a/ear-production-suite-plugins/plugins/hoa/src/hoa_component.hpp b/ear-production-suite-plugins/plugins/hoa/src/hoa_component.hpp index 72e91c449..c500c8649 100644 --- a/ear-production-suite-plugins/plugins/hoa/src/hoa_component.hpp +++ b/ear-production-suite-plugins/plugins/hoa/src/hoa_component.hpp @@ -2,6 +2,7 @@ #include "JuceHeader.h" +#include "components/look_and_feel/tooltips.hpp" #include "components/onboarding.hpp" #include "components/overlay.hpp" #include "helper/properties_file.hpp" @@ -32,6 +33,9 @@ class HoaComponent : public Component, std::make_unique("EPS_preferences")), propertiesFile(getPropertiesFile(propertiesFileLock.get())) { + tooltipWindow.setLookAndFeel(&tooltipLookAndFeel); + tooltipWindow.setOpaque(false); + header->setName("EarHeader (HoaComponent::header)"); onBoardingButton->setName("EarButton (HoaComponent::onBoardingButton)"); onBoardingOverlay->setName("Overlay (HoaComponent::onBoardingOverlay)"); @@ -65,6 +69,7 @@ class HoaComponent : public Component, addAndMakeVisible(onBoardingButton.get()); addChildComponent(onBoardingOverlay.get()); + mainValueBox->showRoutingTooltip(p->getNumDawChannels() < 128); addAndMakeVisible(mainValueBox.get()); addAndMakeVisible(orderDisplayValueBox.get()); @@ -128,6 +133,10 @@ class HoaComponent : public Component, private: HoaAudioProcessor* p_; + + TooltipWindow tooltipWindow{this}; + TooltipLookAndFeel tooltipLookAndFeel; + JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(HoaComponent) }; diff --git a/ear-production-suite-plugins/plugins/hoa/src/value_box_main.hpp b/ear-production-suite-plugins/plugins/hoa/src/value_box_main.hpp index fea2a9f10..b5a8640c5 100644 --- a/ear-production-suite-plugins/plugins/hoa/src/value_box_main.hpp +++ b/ear-production-suite-plugins/plugins/hoa/src/value_box_main.hpp @@ -19,6 +19,7 @@ class ValueBoxMain : public Component { hoaTypeLabel_(std::make_unique