www.pudn.com > spline_c++.rar > intensity.h
#if !defined(AFX_INTENSITY_H__D7A84374_94BD_4B0A_90FA_C636474FE751__INCLUDED_)
#define AFX_INTENSITY_H__D7A84374_94BD_4B0A_90FA_C636474FE751__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// intensity.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// intensity dialog
class intensity
: public CDialog
{
// Construction
public:
intensity(CWnd* pParent = NULL); // standard constructor
long m_lHeight;
long m_lWidth;
char* m_lpDIBBits;
long m_lCount[256];
// 显示灰度区间的下限
int m_iLowGray;
// 显示灰度区间的上限
int m_iUpGray;
int m_iIsDraging;
// 相应鼠标事件的矩形区域
CRect m_MouseRect;
// Dialog Data
//{{AFX_DATA(intensity)
enum { IDD = IDD_DIALOG1 };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(intensity)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(intensity)
afx_msg void OnPaint();
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_INTENSITY_H__D7A84374_94BD_4B0A_90FA_C636474FE751__INCLUDED_)