leocad/win/Terrdlg.h

59 lines
1.3 KiB
C
Raw Normal View History

2012-06-23 02:14:09 +02:00
#ifndef _TERRDLG_H_
#define _TERRDLG_H_
2011-09-07 23:06:51 +02:00
#include "TerrCtrl.h"
/////////////////////////////////////////////////////////////////////////////
// CTerrainDlg dialog
2012-06-23 02:14:09 +02:00
class Terrain;
class lcTerrainView;
2011-09-07 23:06:51 +02:00
class CTerrainDlg : public CDialog
{
// Construction
public:
2012-10-12 20:21:45 +02:00
CTerrainDlg(Terrain* pTerrain, CWnd* pParent = NULL); // standard constructor
2011-09-07 23:06:51 +02:00
virtual ~CTerrainDlg();
// Dialog Data
//{{AFX_DATA(CTerrainDlg)
enum { IDD = IDD_TERRAIN };
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTerrainDlg)
public:
2012-06-23 02:14:09 +02:00
virtual BOOL DestroyWindow();
2011-09-07 23:06:51 +02:00
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
//}}AFX_VIRTUAL
// Implementation
protected:
void CheckControl(UINT nID, BOOL bEnable);
CToolBar m_wndToolBar;
CTerrainCtrl m_Grid;
2012-06-23 02:14:09 +02:00
CWnd* mTerrainWnd;
lcTerrainView* mView;
Terrain* mTerrain;
2011-09-07 23:06:51 +02:00
// Generated message map functions
//{{AFX_MSG(CTerrainDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
//}}AFX_MSG
afx_msg LRESULT OnGridChange(WPARAM wParam, LPARAM lParam);
DECLARE_MESSAGE_MAP()
};
2012-06-23 02:14:09 +02:00
#endif // _TERRDLG_H_