📄 waveview.h
字号:
// WaveView.h : interface of the CWaveView class///////////////////////////////////////////////////////////////////////////////#if !defined(AFX_WAVEVIEW_H__6D82679C_7A3A_4A81_B782_B732B7545517__INCLUDED_)#define AFX_WAVEVIEW_H__6D82679C_7A3A_4A81_B782_B732B7545517__INCLUDED_#if _MSC_VER > 1000#pragma once#endif // _MSC_VER > 1000class CWaveView : public CView{protected: // create from serialization only CWaveView(); DECLARE_DYNCREATE(CWaveView)// Attributespublic: CWaveDoc* GetDocument();// Operationspublic:// Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CWaveView) public: virtual void OnDraw(CDC* pDC); // overridden to draw this view virtual BOOL PreCreateWindow(CREATESTRUCT& cs); protected: virtual BOOL OnPreparePrinting(CPrintInfo* pInfo); virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo); virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo); //}}AFX_VIRTUAL// Implementationpublic: virtual ~CWaveView();#ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const;#endifprotected: CPen *pRedPen, *pGreenPen, *pBluePen, *pBlackPen; // Generated message map functionsprotected: //{{AFX_MSG(CWaveView) afx_msg void OnEditPlay();
afx_msg void OnEditStop();
afx_msg void OnStop();
afx_msg void OnPlay();
afx_msg void OnSerialPort();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()};#ifndef _DEBUG // debug version in WaveView.cppinline CWaveDoc* CWaveView::GetDocument() { return (CWaveDoc*)m_pDocument; }#endif///////////////////////////////////////////////////////////////////////////////{{AFX_INSERT_LOCATION}}// Microsoft Visual C++ will insert additional declarations immediately before the previous line.#endif // !defined(AFX_WAVEVIEW_H__6D82679C_7A3A_4A81_B782_B732B7545517__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -