TilingFactorsDialog.cpp 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. //===========================================================================//
  2. // Copyright (C) Microsoft Corporation. All rights reserved. //
  3. //===========================================================================//
  4. // TilingFactorsDialog.cpp : implementation file
  5. //
  6. #include "stdafx.h"
  7. #include "resource.h"
  8. #include "TilingFactorsDialog.h"
  9. #ifdef _DEBUG
  10. #define new DEBUG_NEW
  11. #undef THIS_FILE
  12. static char THIS_FILE[] = __FILE__;
  13. #endif
  14. /////////////////////////////////////////////////////////////////////////////
  15. // TilingFactorsDialog dialog
  16. TilingFactorsDialog::TilingFactorsDialog(CWnd* pParent /*=NULL*/)
  17. : CDialog(TilingFactorsDialog::IDD, pParent)
  18. {
  19. //{{AFX_DATA_INIT(TilingFactorsDialog)
  20. m_TerrainDetailTilingFactor = 0.0f;
  21. m_WaterDetailTilingFactor = 0.0f;
  22. m_WaterTilingFactor = 0.0f;
  23. //}}AFX_DATA_INIT
  24. }
  25. void TilingFactorsDialog::DoDataExchange(CDataExchange* pDX)
  26. {
  27. CDialog::DoDataExchange(pDX);
  28. //{{AFX_DATA_MAP(TilingFactorsDialog)
  29. DDX_Text(pDX, IDC_TILING_FACTORS_TERRAIN_DETAIL_EDIT, m_TerrainDetailTilingFactor);
  30. DDX_Text(pDX, IDC_TILING_FACTORS_WATER_DETAIL_EDIT, m_WaterDetailTilingFactor);
  31. DDX_Text(pDX, IDC_TILING_FACTORS_WATER_EDIT, m_WaterTilingFactor);
  32. //}}AFX_DATA_MAP
  33. }
  34. BEGIN_MESSAGE_MAP(TilingFactorsDialog, CDialog)
  35. //{{AFX_MSG_MAP(TilingFactorsDialog)
  36. // NOTE: the ClassWizard will add message map macros here
  37. //}}AFX_MSG_MAP
  38. END_MESSAGE_MAP()
  39. /////////////////////////////////////////////////////////////////////////////
  40. // TilingFactorsDialog message handlers