summaryrefslogtreecommitdiffstats
path: root/src/effects/effectchainslot.cpp
diff options
context:
space:
mode:
authorBe <be@mixxx.org>2020-04-22 08:20:29 -0500
committerGitHub <noreply@github.com>2020-04-22 08:20:29 -0500
commitc647bc999d99c1f0a0b10c8dc495e0c2dd522637 (patch)
tree83c1f2341f339a0fce7945422d758ca821bb3d0c /src/effects/effectchainslot.cpp
parenta34e358a18de909c28f751324ed42836f8328036 (diff)
parentd9ae8ed2f96b079ca9a4e30bc2ebdbf4e761e788 (diff)
Merge pull request #2322 from ronso0/components-fx-focus-feedback
add 'has_controller_focus' control to midi-components Fx mapping
Diffstat (limited to 'src/effects/effectchainslot.cpp')
-rw-r--r--src/effects/effectchainslot.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/effects/effectchainslot.cpp b/src/effects/effectchainslot.cpp
index 446a3d6129..ab83e2b517 100644
--- a/src/effects/effectchainslot.cpp
+++ b/src/effects/effectchainslot.cpp
@@ -74,6 +74,10 @@ EffectChainSlot::EffectChainSlot(EffectRack* pRack, const QString& group,
ConfigKey(m_group, "show_focus"));
m_pControlChainShowFocus->setButtonMode(ControlPushButton::TOGGLE);
+ m_pControlChainHasControllerFocus = new ControlPushButton(
+ ConfigKey(m_group, "controller_input_active"));
+ m_pControlChainHasControllerFocus->setButtonMode(ControlPushButton::TOGGLE);
+
m_pControlChainShowParameters = new ControlPushButton(
ConfigKey(m_group, "show_parameters"),
true);
@@ -100,6 +104,7 @@ EffectChainSlot::~EffectChainSlot() {
delete m_pControlChainNextPreset;
delete m_pControlChainSelector;
delete m_pControlChainShowFocus;
+ delete m_pControlChainHasControllerFocus;
delete m_pControlChainShowParameters;
delete m_pControlChainFocusedEffect;