SelectTerrainTypeDlg.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. //===========================================================================//
  2. // Copyright (C) Microsoft Corporation. All rights reserved. //
  3. //===========================================================================//
  4. #if !defined(AFX_SELECTTERRAINTYPEDLG_H__48CD1D5A_9E04_4C8A_95C4_39A1C6D659D0__INCLUDED_)
  5. #define AFX_SELECTTERRAINTYPEDLG_H__48CD1D5A_9E04_4C8A_95C4_39A1C6D659D0__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. // SelectTerrainTypeDlg.h : header file
  10. //
  11. /////////////////////////////////////////////////////////////////////////////
  12. // SelectTerrainTypeDlg dialog
  13. class SelectTerrainTypeDlg : public CDialog
  14. {
  15. // Construction
  16. public:
  17. SelectTerrainTypeDlg(CWnd* pParent = NULL); // standard constructor
  18. // Dialog Data
  19. //{{AFX_DATA(SelectTerrainTypeDlg)
  20. enum { IDD = IDD_SELECT_TERRAIN_TYPE };
  21. CListBox m_terrainTypeList;
  22. //}}AFX_DATA
  23. long m_selectedTerrainType;
  24. long SelectedTerrainType() { return m_selectedTerrainType; }
  25. void SelectedTerrainType(long selectedTerrainType) { m_selectedTerrainType = selectedTerrainType; }
  26. // Overrides
  27. // ClassWizard generated virtual function overrides
  28. //{{AFX_VIRTUAL(SelectTerrainTypeDlg)
  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(SelectTerrainTypeDlg)
  36. virtual BOOL OnInitDialog();
  37. virtual void OnOK();
  38. //}}AFX_MSG
  39. DECLARE_MESSAGE_MAP()
  40. };
  41. //{{AFX_INSERT_LOCATION}}
  42. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  43. #endif // !defined(AFX_SELECTTERRAINTYPEDLG_H__48CD1D5A_9E04_4C8A_95C4_39A1C6D659D0__INCLUDED_)