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

Method OnMouseWheel

Source/FrameEditor.cpp:885–897  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

883}
884
885BOOL CFrameEditor::OnMouseWheel(UINT nFlags, short zDelta, CPoint pt)
886{
887 if (zDelta > 0) {
888 // Up
889 m_pView->SelectPrevFrame();
890 }
891 else {
892 // Down
893 m_pView->SelectNextFrame();
894 }
895
896 return CWnd::OnMouseWheel(nFlags, zDelta, pt);
897}
898
899void CFrameEditor::AutoScroll(const CPoint &point)
900{

Callers

nothing calls this directly

Calls 2

SelectPrevFrameMethod · 0.80
SelectNextFrameMethod · 0.80

Tested by

no test coverage detected