| 50 | /** Creates a Widget subclass with its top-left at a position. */ |
| 51 | template <class TWidget> |
| 52 | TWidget* createWidget(math::Vec pos) { |
| 53 | TWidget* o = new TWidget; |
| 54 | o->box.pos = pos; |
| 55 | return o; |
| 56 | } |
| 57 | |
| 58 | |
| 59 | /** Creates a Widget subclass with its center at a position. */ |
nothing calls this directly
no outgoing calls
no test coverage detected