www.pudn.com > DalsaNetlink.rar > ColorAdjustmentDialog.h


#if !defined(AFX_COLORADJUSTMENTDIALOG_H__2460A589_12C7_4F79_8C1B_5FA4A2ECBE66__INCLUDED_) 
#define AFX_COLORADJUSTMENTDIALOG_H__2460A589_12C7_4F79_8C1B_5FA4A2ECBE66__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// ColorAdjustmentDialog.h : header file 
// 
 
class CyRGBFilter; 
class CyAcquisitionPage; 
 
///////////////////////////////////////////////////////////////////////////// 
// ColorAdjustmentDialog dialog 
 
class ColorAdjustmentDialog : public CDialog 
{ 
// Construction 
public: 
	ColorAdjustmentDialog( CWnd*              pParent, 
                           CyAcquisitionPage& aOwner, 
                           CyRGBFilter&       aFilter, 
                           CyImageBuffer&     aBuffer, 
                           unsigned long      aFlags ); 
 
// Dialog Data 
	//{{AFX_DATA(ColorAdjustmentDialog) 
	enum { IDD = IDD_COLOR_ADJUST_DIALOG }; 
	CStatic	mWBResultControl; 
	double	mBlueGain; 
	UINT	mBlueOffset; 
	double	mGreenGain; 
	UINT	mGreenOffset; 
	double	mRedGain; 
	UINT	mRedOffset; 
	//}}AFX_DATA 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(ColorAdjustmentDialog) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
 
	// Generated message map functions 
	//{{AFX_MSG(ColorAdjustmentDialog) 
	virtual void OnOK(); 
	virtual void OnCancel(); 
	afx_msg void OnClose(); 
	afx_msg void OnColorAdjustWbAnalyze(); 
	afx_msg void OnColorAdjustWbApply(); 
	afx_msg void OnApplyGainsOffsets(); 
	afx_msg void OnResetGainsOffsets(); 
	//}}AFX_MSG 
 
	afx_msg void OnReleasedcaptureColor(NMHDR* pNMHDR, LRESULT* pResult); 
    DECLARE_MESSAGE_MAP() 
 
    CyRGBFilter&       mFilter; 
    CyAcquisitionPage& mOwner; 
    CyImageBuffer&     mBuffer; 
    unsigned long      mFlags; 
 
    double mWBRedGain; 
    double mWBGreenGain; 
    double mWBBlueGain; 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_COLORADJUSTMENTDIALOG_H__2460A589_12C7_4F79_8C1B_5FA4A2ECBE66__INCLUDED_)