| 302 | } |
| 303 | |
| 304 | void |
| 305 | SelectionService::begin (const db::DPoint &pos) |
| 306 | { |
| 307 | if (mp_box) { |
| 308 | delete mp_box; |
| 309 | } |
| 310 | |
| 311 | m_p1 = pos; |
| 312 | m_p2 = pos; |
| 313 | mp_box = new lay::RubberBox (ui (), m_color, pos, pos); |
| 314 | mp_box->set_stipple (6); // coarse hatched |
| 315 | |
| 316 | ui ()->grab_mouse (this, true); |
| 317 | } |
| 318 | |
| 319 | // ---------------------------------------------------------------------------- |
| 320 |
nothing calls this directly
no test coverage detected