summaryrefslogtreecommitdiff
path: root/win/Teropdlg.h
blob: d1f6ca8b70df0fce266b3cf26e655624bf073a65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#if !defined(AFX_TEROPDLG_H__16D85803_DBE0_11D2_8204_C46524CA8617__INCLUDED_)
#define AFX_TEROPDLG_H__16D85803_DBE0_11D2_8204_C46524CA8617__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// TerOpDlg.h : header file
//

class Terrain;

/////////////////////////////////////////////////////////////////////////////
// CTerrainOptionsDlg dialog

class CTerrainOptionsDlg : public CDialog
{
// Construction
public:
	void GetOptions(Terrain* pTerrain);
	void SetOptions(Terrain* pTerrain);
	CTerrainOptionsDlg(CWnd* pParent = NULL);   // standard constructor
	COLORREF m_crTerrain;

// Dialog Data
	//{{AFX_DATA(CTerrainOptionsDlg)
	enum { IDD = IDD_TERRAIN_OPTIONS };
	CButton	m_btnColor;
	int		m_nXPatches;
	int		m_nYPatches;
	float	m_fXSize;
	float	m_fYSize;
	BOOL	m_bFlat;
	BOOL	m_bTexture;
	CString	m_strTexture;
	BOOL	m_bSmooth;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTerrainOptionsDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CTerrainOptionsDlg)
	afx_msg void OnTeroptColor();
	afx_msg void OnTeroptTexturebrowse();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TEROPDLG_H__16D85803_DBE0_11D2_8204_C46524CA8617__INCLUDED_)