FiltersDialog.h
上传用户:szled88
上传日期:2015-04-09
资源大小:43957k
文件大小:2k
源码类别:

对话框与窗口

开发平台:

Visual C++

  1. #if !defined(AFX_FILTERSDIALOG_H__491A15D4_A820_4C87_8E3B_4B3890956490__INCLUDED_)
  2. #define AFX_FILTERSDIALOG_H__491A15D4_A820_4C87_8E3B_4B3890956490__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // FiltersDialog.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CFiltersDialog dialog
  10. class CFiltersDialog : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CFiltersDialog(CWnd* pParent = NULL);   // standard constructor
  15. // Dialog Data
  16. //{{AFX_DATA(CFiltersDialog)
  17. enum { IDD = IDD_DIALOG_FILTERS };
  18. CSliderCtrl m_wndBlue;
  19. CSliderCtrl m_wndGreen;
  20. CSliderCtrl m_wndRed;
  21. CSliderCtrl m_wndSaturation;
  22. CSliderCtrl m_wndHue;
  23. CSliderCtrl m_wndBlend;
  24. int m_nHue;
  25. int m_nSaturation;
  26. int m_nBlend;
  27. BOOL    m_bColorize;
  28. BOOL    m_bColorShift;
  29. BOOL    m_bCustom;
  30. int m_nBlue;
  31. int m_nGreen;
  32. int m_nRed;
  33. //}}AFX_DATA
  34. // Overrides
  35. // ClassWizard generated virtual function overrides
  36. //{{AFX_VIRTUAL(CFiltersDialog)
  37. protected:
  38. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  39. //}}AFX_VIRTUAL
  40. void UpdateFilters();
  41. // Implementation
  42. protected:
  43. // Generated message map functions
  44. //{{AFX_MSG(CFiltersDialog)
  45. virtual BOOL OnInitDialog();
  46. afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
  47. //}}AFX_MSG
  48. DECLARE_MESSAGE_MAP()
  49. };
  50. //{{AFX_INSERT_LOCATION}}
  51. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  52. #endif // !defined(AFX_FILTERSDIALOG_H__491A15D4_A820_4C87_8E3B_4B3890956490__INCLUDED_)