www.pudn.com > partsumhist.rar > HistogramDlg.h


#if !defined(AFX_HISTOGRAMDLG_H__CFC0E234_260D_41EF_AB27_0BFB8779E49F__INCLUDED_) 
#define AFX_HISTOGRAMDLG_H__CFC0E234_260D_41EF_AB27_0BFB8779E49F__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// HistogramDlg.h : header file 
// 
 
///////////////////////////////////////////////////////////////////////////// 
// CHistogramDlg dialog 
 
class CHistogramDlg : public CDialog 
{ 
// Construction 
public: 
	 
	void DrawData(CDC *dc, char type); 
	void GenHistogramData(void); 
	double	ratior, ratiog, ratiob; 
    DWORD	m_Histogram[5][256]; 
	RECT	m_ChartRect; 
	 
 
	CHistogramDlg(CWnd* pParent = NULL);   // standard constructor 
 
// Dialog Data 
	//{{AFX_DATA(CHistogramDlg) 
	enum { IDD = IDD_histogram }; 
		// NOTE: the ClassWizard will add data members here 
	//}}AFX_DATA 
 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CHistogramDlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
 
	// Generated message map functions 
	//{{AFX_MSG(CHistogramDlg) 
	virtual BOOL OnInitDialog(void);	 
	afx_msg void Onred(); 
	afx_msg void Ongreen(); 
	afx_msg void Onblue(); 
	afx_msg void Onmean(); 
	afx_msg void Onsumhist(); 
	afx_msg void OnPaint(); 
	DECLARE_EVENTSINK_MAP() 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_HISTOGRAMDLG_H__CFC0E234_260D_41EF_AB27_0BFB8779E49F__INCLUDED_)