/****************************************************************************************/
/*  TEMPLATECYLND.H                                                                     */
/*                                                                                      */
/*  Author:                                                                             */
/*  Description:                                                                        */
/*                                                                                      */
/*  The contents of this file are subject to the Jet3D Public License                   */
/*  Version 1.02 (the "License"); you may not use this file except in                   */
/*  compliance with the License. You may obtain a copy of the License at                */
/*  http://www.jet3d.com                                                                */
/*                                                                                      */
/*  Software distributed under the License is distributed on an "AS IS"                 */
/*  basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.  See                */
/*  the License for the specific language governing rights and limitations              */
/*  under the License.                                                                  */
/*                                                                                      */
/*  The Original Code is Jet3D, released December 12, 1999.                             */
/*  Copyright (C) 1996-1999 Eclipse Entertainment, L.L.C. All Rights Reserved           */
/*                                                                                      */
/****************************************************************************************/
#if !defined(AFX_TEMPLATECYLND_H__8AE5CCA0_07B4_11D3_B322_004033AA0441__INCLUDED_)
#define AFX_TEMPLATECYLND_H__8AE5CCA0_07B4_11D3_B322_004033AA0441__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// TemplateCylnd dialog

class TemplateCylnd : public CDialog
{
// Construction
public:
	TemplateCylnd(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(TemplateCylnd)
	enum { IDD = IDD_TEMPLATECYLND };
	float	m_BotX;
	float	m_BotZ;
	CString	m_Name;
	UINT	m_Stripes;
	float	m_TopX;
	float	m_TopZ;
	BOOL	m_Arch;
	BOOL	m_Cone;
	BOOL	m_Cube;
	BOOL	m_Cylinder;
	BOOL	m_Entity;
	BOOL	m_Light;
	BOOL	m_Sphere;
	BOOL	m_Stair;
	BOOL	m_Terrain;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(TemplateCylnd)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(TemplateCylnd)
	virtual BOOL OnInitDialog();
	afx_msg void OnKillfocusEdBotx();
	afx_msg void OnKillfocusEdBotz();
	afx_msg void OnKillfocusEdName();
	afx_msg void OnKillfocusEdStripes();
	afx_msg void OnKillfocusEdTopx();
	afx_msg void OnKillfocusEdTopz();
	afx_msg void OnToolsPlacecube();
	afx_msg void OnToolsPlacecylinder();
	afx_msg void OnToolsPlaceentity();
	afx_msg void OnToolsPlacelight();
	afx_msg void OnToolsPlacespheroid();
	afx_msg void OnToolsPlaceterrain();
	afx_msg void OnAdd();
	afx_msg void OnSubtract();
	afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
	afx_msg void OnToolsPlacesheet();
	afx_msg void OnReset();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

private:
	void UpdateTemplate();

};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TEMPLATECYLND_H__8AE5CCA0_07B4_11D3_B322_004033AA0441__INCLUDED_)
