| 566 | } |
| 567 | |
| 568 | void ScriptModulationMatrix::onUpdateMessage(ScriptModulationMatrix& m, const String& source, const String& target, ConnectionEvent eventType) |
| 569 | { |
| 570 | if (m.connectionCallback) |
| 571 | { |
| 572 | static const StringArray eventNames = { |
| 573 | "Add", |
| 574 | "Delete", |
| 575 | "Update", |
| 576 | "Intensity", |
| 577 | "ValueMode", |
| 578 | "Rebuild" |
| 579 | }; |
| 580 | |
| 581 | m.connectionCallback.call({ var(source), var(target), var(eventNames[(int)eventType]) }); |
| 582 | } |
| 583 | } |
| 584 | |
| 585 | |
| 586 |