MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / modulatorValueChanged

Method modulatorValueChanged

Source/Core/CtrlrPanel/CtrlrPanel.cpp:1269–1285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1267}
1268
1269void CtrlrPanel::modulatorValueChanged(CtrlrModulator *m)
1270{
1271 if (m->getComponent())
1272 {
1273 m->getComponent()->setComponentValue(m->getProperty(Ids::modulatorValue), false);
1274 }
1275
1276 if (luaPanelModulatorValueChangedCbk && !luaPanelModulatorValueChangedCbk.wasObjectDeleted())
1277 {
1278 if (luaPanelModulatorValueChangedCbk->isValid())
1279 {
1280 getCtrlrLuaManager().getMethodManager().call (luaPanelModulatorValueChangedCbk, m, m->getValueNonMapped());
1281 }
1282 }
1283
1284 listeners.call (&CtrlrPanel::Listener::modulatorChanged, m);
1285}
1286
1287/** Radio group stuff
1288

Callers 1

Calls 6

getValueNonMappedMethod · 0.80
getComponentMethod · 0.45
setComponentValueMethod · 0.45
getPropertyMethod · 0.45
isValidMethod · 0.45
callMethod · 0.45

Tested by

no test coverage detected