www.pudn.com > isee_code01231.zip > ContrastDlg.h


/******************************************************************** 
 
	ContrastDlg.h - ISee图像浏览器—图像处理模块类ContrastDlg头文件 
 
    版权所有(C) VCHelp-coPathway-ISee workgroup 2000 all member's 
 
    这一程序是自由软件,你可以遵照自由软件基金会出版的GNU 通用许可证 
	条款来修改和重新发布这一程序。或者用许可证的第二版,或者(根据你 
	的选择)用任何更新的版本。 
 
    发布这一程序的目的是希望它有用,但没有任何担保。甚至没有适合特定 
	目地的隐含的担保。更详细的情况请参阅GNU通用许可证。 
 
    你应该已经和程序一起收到一份GNU通用许可证(GPL)的副本。如果还没有, 
	写信给: 
    The Free Software Foundation, Inc.,  675  Mass Ave,  Cambridge, 
    MA02139,  USA 
 
	如果你在使用本软件时有什么问题或建议,用以下地址可以与我们取得联 
	系: 
		http://isee.126.com 
		http://www.vchelp.net 
	或: 
		iseesoft@china.com 
 
	作者:马翔 
   e-mail:hugesoft@yeah.net 
 
   功能实现:界面对话模框 
 
	文件版本: 
		Build 000123 
		Date  2000-12-3 
 
********************************************************************/ 
#if !defined(AFX_CONTRASTDLG_H__489FF9FD_9B47_4682_BE04_58DE8DD9DDE0__INCLUDED_) 
#define AFX_CONTRASTDLG_H__489FF9FD_9B47_4682_BE04_58DE8DD9DDE0__INCLUDED_ 
 
#include "LineTrackBar.h"	// Added by ClassView 
#include "SignEdit.h" 
#include "ModuleLogo.h" 
//#include "TrackLookButton.h" 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// ContrastDlg.h : header file 
// 
 
///////////////////////////////////////////////////////////////////////////// 
// CContrastDlg dialog 
 
class CContrastDlg : public CDialog 
{ 
// Construction 
public: 
	int m_nContrast; 
	int m_nBright; 
	CModuleLogo	  m_wndLogo; 
	CLineTrackBar m_wndBrightBar; 
	CLineTrackBar m_wndContrastBar; 
	CContrastDlg(CWnd* pParent = NULL);   // standard constructor 
 
// Dialog Data 
	//{{AFX_DATA(CContrastDlg) 
	enum { IDD = IDD_DLG_CONTRAST }; 
	CSignEdit	m_cContrast; 
	CSignEdit	m_cBright; 
	CString		m_strBright; 
	CString	m_strContrast; 
	//}}AFX_DATA 
 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CContrastDlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
//protected: 
public: 
	// Generated message map functions 
	//{{AFX_MSG(CContrastDlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnChangeEditBright(); 
	virtual void OnOK(); 
	virtual void OnCancel(); 
	afx_msg void OnChangeEditContrast(); 
	afx_msg void OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct); 
	afx_msg void OnMouseMove(UINT nFlags, CPoint point); 
	afx_msg void OnTimer(UINT nIDEvent); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
private: 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_CONTRASTDLG_H__489FF9FD_9B47_4682_BE04_58DE8DD9DDE0__INCLUDED_)