| 897 | } |
| 898 | |
| 899 | void CFrameEditor::AutoScroll(const CPoint &point) |
| 900 | { |
| 901 | const int Row = GetRowFromPoint(point, true); // // // |
| 902 | const int Frames = GetSongFrameCount() + 1; // // // |
| 903 | |
| 904 | if (point.y <= m_iTopScrollArea && Row > 0) { |
| 905 | m_pView->SelectPrevFrame(); |
| 906 | } |
| 907 | else if (point.y >= m_iBottomScrollArea && Row < (Frames - 1)) { |
| 908 | m_pView->SelectNextFrame(); |
| 909 | } |
| 910 | } |
| 911 | |
| 912 | void CFrameEditor::OnContextMenu(CWnd* /*pWnd*/, CPoint point) |
| 913 | { |
nothing calls this directly
no test coverage detected