| 110 | } |
| 111 | |
| 112 | int CGraphBase::GetItemIndex(CPoint point) const { // // // |
| 113 | return parent_.GetItemCount() && point.x >= CGraphEditor::GRAPH_LEFT ? (point.x - CGraphEditor::GRAPH_LEFT) / GetItemWidth() : -1; |
| 114 | } |
| 115 | |
| 116 | int CGraphBase::GetItemGridIndex(CPoint point) const { // // // |
| 117 | int ItemWidth = GetItemWidth(); |
no test coverage detected