62 lines
1.7 KiB
C
62 lines
1.7 KiB
C
|
|
#if !defined(AFX_HistWaveView_H__D442B984_8439_11D1_B87A_A3845A0CA5FE__INCLUDED_)
|
|||
|
|
#define AFX_HistWaveView_H__D442B984_8439_11D1_B87A_A3845A0CA5FE__INCLUDED_
|
|||
|
|
|
|||
|
|
#if _MSC_VER > 1000
|
|||
|
|
#pragma once
|
|||
|
|
#endif // _MSC_VER > 1000
|
|||
|
|
// HistWaveView.h : header file
|
|||
|
|
//
|
|||
|
|
#include "ADHistScope.h"
|
|||
|
|
|
|||
|
|
/////////////////////////////////////////////////////////////////////////////
|
|||
|
|
// CADHistWaveView view
|
|||
|
|
|
|||
|
|
class CADHistWaveView : public CScrollView
|
|||
|
|
{
|
|||
|
|
protected:
|
|||
|
|
CADHistWaveView(); // protected constructor used by dynamic creation
|
|||
|
|
DECLARE_DYNCREATE(CADHistWaveView)
|
|||
|
|
|
|||
|
|
// Attributes
|
|||
|
|
public:
|
|||
|
|
CScrollBar m_ScrollBar;
|
|||
|
|
int m_ScreenVolume; // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ļ<EFBFBD><C4BB>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
CADHistScope m_ADHistScope;
|
|||
|
|
int m_ChannelCount;
|
|||
|
|
// Operations
|
|||
|
|
public:
|
|||
|
|
// int m_nWidth;
|
|||
|
|
void OnDrawPolyLine();
|
|||
|
|
// Overrides
|
|||
|
|
// ClassWizard generated virtual function overrides
|
|||
|
|
//{{AFX_VIRTUAL(CADHistWaveView)
|
|||
|
|
protected:
|
|||
|
|
virtual void OnDraw(CDC* pDC); // overridden to draw this view
|
|||
|
|
virtual void OnInitialUpdate(); // first time after construct
|
|||
|
|
//}}AFX_VIRTUAL
|
|||
|
|
|
|||
|
|
// Implementation
|
|||
|
|
protected:
|
|||
|
|
virtual ~CADHistWaveView();
|
|||
|
|
#ifdef _DEBUG
|
|||
|
|
virtual void AssertValid() const;
|
|||
|
|
virtual void Dump(CDumpContext& dc) const;
|
|||
|
|
#endif
|
|||
|
|
|
|||
|
|
// Generated message map functions
|
|||
|
|
//{{AFX_MSG(CADHistWaveView)
|
|||
|
|
afx_msg void OnSize(UINT nType, int cx, int cy);
|
|||
|
|
afx_msg void OnDestroy();
|
|||
|
|
afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
|
|||
|
|
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
|
|||
|
|
//}}AFX_MSG
|
|||
|
|
DECLARE_MESSAGE_MAP()
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
/////////////////////////////////////////////////////////////////////////////
|
|||
|
|
|
|||
|
|
//{{AFX_INSERT_LOCATION}}
|
|||
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|||
|
|
|
|||
|
|
#endif // !defined(AFX_HistWaveView_H__D442B984_8439_11D1_B87A_A3845A0CA5FE__INCLUDED_)
|