// ErrorDlg.cpp : implementation file
//

#include "stdafx.h"
#include "animationsuite.h"
#include "ErrorDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CErrorDlg dialog


CErrorDlg::CErrorDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CErrorDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CErrorDlg)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void CErrorDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CErrorDlg)
	DDX_Control(pDX, IDC_LIGHT, m_btnLight);
	DDX_Control(pDX, IDC_GEOMETRY, m_btnGeom);
	DDX_Control(pDX, IDC_CV, m_btnCv);
	DDX_Control(pDX, IDC_BATCH, m_btnBatch);
	DDX_Control(pDX, IDC_ANIMATION, m_btnAnim);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CErrorDlg, CDialog)
	//{{AFX_MSG_MAP(CErrorDlg)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CErrorDlg message handlers

void CErrorDlg::OnOK() 
{
	m_bErf = m_btnGeom.GetCheck() != 0;
	m_bBatch = m_btnBatch.GetCheck() != 0;
	m_bObb = m_btnCv.GetCheck() != 0;
	m_bLights = m_btnLight.GetCheck() != 0;
	m_bAnim = m_btnAnim.GetCheck() != 0;
	CDialog::OnOK();
}
