GrayDlg.h
上传用户:hstieta88
上传日期:2007-01-14
资源大小:106k
文件大小:1k
源码类别:

图形图像处理

开发平台:

Visual C++

  1. #if !defined(AFX_GRAYDLG_H__6CC3FA63_9687_11D2_9481_000021003EA5__INCLUDED_)
  2. #define AFX_GRAYDLG_H__6CC3FA63_9687_11D2_9481_000021003EA5__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // GrayDlg.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CGrayDlg dialog
  10. class CGrayDlg : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CGrayDlg(CWnd* pParent = NULL);   // standard constructor
  15. // Dialog Data
  16. //{{AFX_DATA(CGrayDlg)
  17. enum { IDD = IDD_GRAY };
  18. CString m_strWeightR;
  19. CString m_strWeightG;
  20. CString m_strWeightB;
  21. //}}AFX_DATA
  22. int m_nMethod;
  23. double m_fWeightR;
  24. double m_fWeightG;
  25. double m_fWeightB;
  26. // Overrides
  27. // ClassWizard generated virtual function overrides
  28. //{{AFX_VIRTUAL(CGrayDlg)
  29. protected:
  30. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  31. //}}AFX_VIRTUAL
  32. // Implementation
  33. protected:
  34. // Generated message map functions
  35. //{{AFX_MSG(CGrayDlg)
  36. afx_msg void OnRadio1();
  37. afx_msg void OnRadio2();
  38. afx_msg void OnRadio3();
  39. virtual BOOL OnInitDialog();
  40. virtual void OnOK();
  41. //}}AFX_MSG
  42. DECLARE_MESSAGE_MAP()
  43. };
  44. //{{AFX_INSERT_LOCATION}}
  45. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  46. #endif // !defined(AFX_GRAYDLG_H__6CC3FA63_9687_11D2_9481_000021003EA5__INCLUDED_)