n2xSlider.cpp (317B)
1 #include "n2xSlider.h" 2 3 #include "n2xEditor.h" 4 #include "n2xVmMap.h" 5 6 namespace n2xJucePlugin 7 { 8 Slider::Slider(Editor& _editor) : genericUI::Slider(), m_editor(_editor) 9 { 10 } 11 12 void Slider::modifierKeysChanged(const juce::ModifierKeys& _modifiers) 13 { 14 m_editor.getVmMap().setEnabled(_modifiers.isShiftDown()); 15 } 16 }