MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / UpdateSampleView

Method UpdateSampleView

Source/SampleEditorDlg.cpp:221–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219}
220
221void CSampleEditorDlg::UpdateSampleView()
222{
223 m_pSampleEditorView->ExpandSample(*m_pSample, IsDlgButtonChecked(IDC_DELTASTART) ? 64 : 0); // // //
224 m_pSampleEditorView->UpdateInfo();
225 m_pSampleEditorView->Invalidate();
226 m_pSampleEditorView->RedrawWindow();
227
228 CSliderCtrl *pZoom = static_cast<CSliderCtrl*>(GetDlgItem(IDC_ZOOM));
229 pZoom->SetRange(0, 20); // // //
230}
231
232void CSampleEditorDlg::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags)
233{

Callers

nothing calls this directly

Calls 2

ExpandSampleMethod · 0.80
UpdateInfoMethod · 0.45

Tested by

no test coverage detected