| 195 | } |
| 196 | |
| 197 | std::vector<PortWidget*> ModuleWidget::getOutputs() { |
| 198 | std::vector<PortWidget*> pws; |
| 199 | doIfTypeRecursive<PortWidget>(this, [&](PortWidget* pw) { |
| 200 | if (pw->type == engine::Port::OUTPUT) |
| 201 | pws.push_back(pw); |
| 202 | }); |
| 203 | return pws; |
| 204 | } |
| 205 | |
| 206 | void ModuleWidget::draw(const DrawArgs& args) { |
| 207 | nvgScissor(args.vg, RECT_ARGS(args.clipBox)); |
nothing calls this directly
no outgoing calls
no test coverage detected