| 3166 | // Other //////////////////////////////////////////////////////////////////////////////////////////////////// |
| 3167 | |
| 3168 | int CPatternEditor::GetCurrentPatternLength(int Frame) const // // // |
| 3169 | { |
| 3170 | CSongView *pSongView = m_pView->GetSongView(); // // // |
| 3171 | int Frames = pSongView->GetSong().GetFrameCount(); |
| 3172 | int f = Frame % Frames; |
| 3173 | return pSongView->GetFrameLength(f < 0 ? f + Frames : f); |
| 3174 | } |
| 3175 | |
| 3176 | void CPatternEditor::SetHighlight(const stHighlight &Hl) // // // |
| 3177 | { |
no test coverage detected