FogDlg.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. #ifndef FOGDLG_H
  2. #define FOGDLG_H
  3. /*************************************************************************************************\
  4. FogDlg.h : Interface for the FogDlg component. This thing lets the user input fog
  5. settings
  6. //---------------------------------------------------------------------------//
  7. // Copyright (C) Microsoft Corporation. All rights reserved. //
  8. //===========================================================================//
  9. \*************************************************************************************************/
  10. #include "stdafx.h"
  11. #include "resource.h"
  12. /////////////////////////////////////////////////////////////////////////////
  13. // FogDlg dialog
  14. class FogDlg : public CDialog
  15. {
  16. // Construction
  17. public:
  18. FogDlg(CWnd* pParent = NULL); // standard constructor
  19. // Dialog Data
  20. //{{AFX_DATA(FogDlg)
  21. enum { IDD = IDD_FOG };
  22. BYTE m_blue;
  23. BYTE m_green;
  24. BYTE m_red;
  25. float m_start;
  26. float m_end;
  27. //}}AFX_DATA
  28. // Overrides
  29. // ClassWizard generated virtual function overrides
  30. //{{AFX_VIRTUAL(FogDlg)
  31. protected:
  32. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  33. //}}AFX_VIRTUAL
  34. // Implementation
  35. protected:
  36. // Generated message map functions
  37. //{{AFX_MSG(FogDlg)
  38. afx_msg void OnChangeBlue1();
  39. afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
  40. //}}AFX_MSG
  41. DECLARE_MESSAGE_MAP()
  42. CBrush brush;
  43. };
  44. #endif // end of file ( FogDlg.h )