ForestDlg.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. //===========================================================================//
  2. // Copyright (C) Microsoft Corporation. All rights reserved. //
  3. //===========================================================================//
  4. #ifndef FORESTDLG_H
  5. #define FORESTDLG_H
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. #ifndef FOREST_H
  10. #include "Forest.h"
  11. #endif
  12. class ForestDlg : public CDialog
  13. {
  14. public:
  15. ForestDlg(CWnd* pParent = NULL);
  16. //{{AFX_DATA(ForestDlg)
  17. enum { IDD = IDD_FOREST_DLG };
  18. float m_maxDensity;
  19. float m_minDensity;
  20. float m_maxHeight;
  21. float m_minHeight;
  22. BOOL m_randomPlacement;
  23. float m_xLoc;
  24. float m_yLoc;
  25. float m_radius;
  26. CString m_Name;
  27. int m_1;
  28. int m_2;
  29. int m_3;
  30. int m_4;
  31. int m_5;
  32. int m_6;
  33. int m_7;
  34. int m_8;
  35. int m_9;
  36. int m_10;
  37. int m_12;
  38. int m_13;
  39. int m_14;
  40. int m_15;
  41. //}}AFX_DATA
  42. Forest forest;
  43. //{{AFX_VIRTUAL(ForestDlg)
  44. protected:
  45. virtual void DoDataExchange(CDataExchange* pDX);
  46. //}}AFX_VIRTUAL
  47. afx_msg void OnEditChanged( UINT nID );
  48. afx_msg void OnSliderChanged( UINT id, NMHDR * pNotifyStruct, LRESULT * result );
  49. protected:
  50. //{{AFX_MSG(ForestDlg)
  51. afx_msg void OnSave();
  52. virtual void OnOK();
  53. virtual void OnCancel();
  54. virtual BOOL OnInitDialog();
  55. afx_msg void OnLoad();
  56. //}}AFX_MSG
  57. DECLARE_MESSAGE_MAP()
  58. };
  59. #endif //