| 1267 | } |
| 1268 | |
| 1269 | void 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 |
no test coverage detected