| 669 | } |
| 670 | |
| 671 | void step() override { |
| 672 | text = outPort ? outPort->getDeviceName(outPort->deviceId) : ""; |
| 673 | if (text.empty()) { |
| 674 | text = "(No device)"; |
| 675 | color.a = 0.5f; |
| 676 | } |
| 677 | else { |
| 678 | color.a = 1.f; |
| 679 | } |
| 680 | } |
| 681 | }; |
| 682 | |
| 683 | struct MidiWidget : LedDisplay { |
nothing calls this directly
no outgoing calls
no test coverage detected