| 104 | |
| 105 | template <class TPortWidget> |
| 106 | TPortWidget* createInput(math::Vec pos, engine::Module* module, int inputId) { |
| 107 | TPortWidget* o = new TPortWidget; |
| 108 | o->box.pos = pos; |
| 109 | o->app::PortWidget::module = module; |
| 110 | o->app::PortWidget::type = engine::Port::INPUT; |
| 111 | o->app::PortWidget::portId = inputId; |
| 112 | return o; |
| 113 | } |
| 114 | |
| 115 | |
| 116 | template <class TPortWidget> |
nothing calls this directly
no outgoing calls
no test coverage detected