| 821 | } |
| 822 | |
| 823 | void CMainFrame::SetRowCount(int Count) |
| 824 | { |
| 825 | if (!GetDoc().IsFileLoaded()) |
| 826 | return; |
| 827 | |
| 828 | Count = std::clamp(Count, 1, MAX_PATTERN_LENGTH); // // // |
| 829 | if (AddAction(std::make_unique<CPActionPatternLen>(Count))) // // // |
| 830 | if (m_wndDialogBar.GetDlgItemInt(IDC_ROWS) != Count) |
| 831 | m_wndDialogBar.SetDlgItemInt(IDC_ROWS, Count, FALSE); |
| 832 | } |
| 833 | |
| 834 | void CMainFrame::SetFrameCount(int Count) |
| 835 | { |
nothing calls this directly
no test coverage detected