| 32 | |
| 33 | |
| 34 | void Widget::setPosition(math::Vec pos) { |
| 35 | if (pos.equals(box.pos)) |
| 36 | return; |
| 37 | box.pos = pos; |
| 38 | // Dispatch Reposition event |
| 39 | RepositionEvent eReposition; |
| 40 | onReposition(eReposition); |
| 41 | } |
| 42 | |
| 43 | |
| 44 | math::Vec Widget::getSize() { |
no test coverage detected