| 310 | } |
| 311 | |
| 312 | void appendContextMenu(Menu* menu) override { |
| 313 | Bandit* module = dynamic_cast<Bandit*>(this->module); |
| 314 | assert(module); |
| 315 | |
| 316 | menu->addChild(new MenuSeparator()); |
| 317 | menu->addChild(createBoolPtrMenuItem("Soft clip at ±10V", "", &module->applySaturation)); |
| 318 | |
| 319 | } |
| 320 | }; |
| 321 | |
| 322 | Model* modelBandit = createModel<Bandit, BanditWidget>("Bandit"); |
nothing calls this directly
no outgoing calls
no test coverage detected