//////////////////////////////////////////////////////////////// TEditorClient -------------
| 1583 | // ------------- |
| 1584 | // |
| 1585 | void TEditorClient::EvLButtonDblClk (UINT modKeys, const TPoint& point) |
| 1586 | { |
| 1587 | PointerX = point.x; |
| 1588 | PointerY = point.y; |
| 1589 | |
| 1590 | // Ignore if "insert object" mode |
| 1591 | if ( InsertingObject ) |
| 1592 | return; |
| 1593 | |
| 1594 | TLayoutWindow::EvLButtonDblClk(modKeys, point); |
| 1595 | |
| 1596 | // Check if double click on current object |
| 1597 | if ( CurObject == GetCurObject (EditMode, |
| 1598 | MAPX(PointerX - 4), MAPY(PointerY - 4), |
| 1599 | MAPX(PointerX + 4), MAPY(PointerY + 4)) ) |
| 1600 | { |
| 1601 | EditCurObject (); |
| 1602 | } |
| 1603 | } |
| 1604 | |
| 1605 | |
| 1606 | ///////////////////////////////////////////////////////////////////// |
nothing calls this directly
no test coverage detected