| 1792 | } |
| 1793 | |
| 1794 | void CMainFrame::OnUpdateHighlight2(CCmdUI *pCmdUI) // // // |
| 1795 | { |
| 1796 | if (!m_cLockedEditHighlight2.IsEditable()) { |
| 1797 | const stHighlight &hl = GetCurrentSong()->GetRowHighlight(); |
| 1798 | if (m_cLockedEditHighlight2.Update()) |
| 1799 | AddAction(std::make_unique<CPActionHighlight>(stHighlight { |
| 1800 | hl.First, std::clamp(m_cLockedEditHighlight2.GetValue(), 0, MAX_PATTERN_LENGTH), 0})); |
| 1801 | else |
| 1802 | pCmdUI->SetText(FormattedW(L"%i", hl.Second)); |
| 1803 | } |
| 1804 | } |
| 1805 | |
| 1806 | void CMainFrame::OnFileGeneralsettings() |
| 1807 | { |
nothing calls this directly
no test coverage detected