| 123 | |
| 124 | template <class TPortWidget> |
| 125 | TPortWidget* createOutput(math::Vec pos, engine::Module* module, int outputId) { |
| 126 | TPortWidget* o = new TPortWidget; |
| 127 | o->box.pos = pos; |
| 128 | o->app::PortWidget::module = module; |
| 129 | o->app::PortWidget::type = engine::Port::OUTPUT; |
| 130 | o->app::PortWidget::portId = outputId; |
| 131 | return o; |
| 132 | } |
| 133 | |
| 134 | |
| 135 | template <class TPortWidget> |
nothing calls this directly
no outgoing calls
no test coverage detected