summaryrefslogtreecommitdiffstats
path: root/src/effects/effectchainslot.cpp
diff options
context:
space:
mode:
authorronso0 <ronso0@mixxx.org>2020-03-30 02:30:52 +0200
committerronso0 <ronso0@mixxx.org>2020-04-17 17:45:29 +0200
commitd9ae8ed2f96b079ca9a4e30bc2ebdbf4e761e788 (patch)
tree36c94ac9302175d6dea8810d28dd17e2634e470c /src/effects/effectchainslot.cpp
parent2944e2f2214e10e617e31b5f0c13d2938adf177f (diff)
add controller focus control to effectchainslot & components
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 da4396fb6d..9ee2abda72 100644
--- a/src/effects/effectchainslot.cpp
+++ b/src/effects/effectchainslot.cpp
@@ -77,6 +77,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);
@@ -103,6 +107,7 @@ EffectChainSlot::~EffectChainSlot() {
delete m_pControlChainNextPreset;
delete m_pControlChainSelector;
delete m_pControlChainShowFocus;
+ delete m_pControlChainHasControllerFocus;
delete m_pControlChainShowParameters;
delete m_pControlChainFocusedEffect;