#if !defined(AFX_CAMINFODLG_H__4A5F2F61_6CB8_11D2_8409_00A0C933BCAC__INCLUDED_)
#define AFX_CAMINFODLG_H__4A5F2F61_6CB8_11D2_8409_00A0C933BCAC__INCLUDED_

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

#include "CameraInfo.h"

/////////////////////////////////////////////////////////////////////////////
// CCamInfoDlg dialog

class CCamInfoDlg : public CDialog
{
	// Construction
public:
	void DelayedValidate(int tme);
	bool NoUpdate;
	void Validate();
	void SetCamInfo(CameraInfo *CIn);
	void UpdateControlStates();
	void UpdateInfo();
	CCamInfoDlg(CWnd* pParent = NULL);   // standard constructor
	CameraInfo *CamInfo;
	
	// Dialog Data
	//{{AFX_DATA(CCamInfoDlg)
	enum { IDD = IDD_CAMINFO };
	CEdit	m_NearClipCtrl;
	CEdit	m_FarClipCtrl;
	CEdit	m_FOVTextCtrl;
	CSliderCtrl	m_FOVSliCtrl;
	CStatic	m_VelText;
	CSliderCtrl	m_VelSliCtrl;
	CEdit	m_CLOCZCtrl;
	CEdit	m_CLOCYCtrl;
	CEdit	m_CLOCXCtrl;
	CSliderCtrl	m_TSliCtrl;
	CStatic	m_PosText;
	CEdit	m_CTAlt;
	CButton	m_TTT;
	CEdit	m_TTACtrl;
	CEdit	m_TLZCtrl;
	CEdit	m_TLYCtrl;
	CEdit	m_TLXCtrl;
	double	m_CamLocX;
	double	m_CamLocZ;
	double	m_CamLocY;
	double	m_CamTrkAlt;
	double	m_TarLocX;
	double	m_TarLocY;
	double	m_TarLocZ;
	double	m_TarTAlt;
	int		m_TmeSli;
	int		m_VelSli;
	int		m_FOVSli;
	double	m_FarClip;
	double	m_NearClip;
	int		m_FOVText;
	//}}AFX_DATA
	
	
	// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCamInfoDlg)
protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL
	
	// Implementation
protected:
	DWORD FCon;
	
	// Generated message map functions
	//{{AFX_MSG(CCamInfoDlg)
	virtual void OnCancel();
	virtual void OnOK();
	afx_msg void OnClose();
	afx_msg void OnCloctt();
	afx_msg void OnUsetarget();
	afx_msg void OnTloctt();
	afx_msg void OnTrack();
	afx_msg void OnFree();
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	virtual BOOL OnInitDialog();
	afx_msg void OnAnimate();
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnChangeCamlocx();
	afx_msg void OnChangeCamlocy();
	afx_msg void OnChangeCamlocz();
	afx_msg void OnChangeTarlocx();
	afx_msg void OnChangeTarlocy();
	afx_msg void OnChangeTarlocz();
	afx_msg void OnResetcurve();
	afx_msg void OnChangeFarclip();
	afx_msg void OnChangeNearclip();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnChangeTartalt();
	afx_msg void OnChangeFovtext();
	afx_msg void OnChangeCamtalt();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_CAMINFODLG_H__4A5F2F61_6CB8_11D2_8409_00A0C933BCAC__INCLUDED_)
