67 lines
1.4 KiB
C++
67 lines
1.4 KiB
C++
/*=========================================================================
|
|
*
|
|
* EDTdVect.cpp : Vector Dialog - Implementation file
|
|
*
|
|
*
|
|
* Version 1.0
|
|
* Creation date
|
|
* Revision date
|
|
*
|
|
* Corneliu Babiuc
|
|
*=======================================================================*/
|
|
|
|
#include "stdafx.h"
|
|
#ifdef ACTIVE_EDITOR
|
|
#include "edtres.h"
|
|
#include "edtdvect.hpp"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// EDT_DialogVector dialog
|
|
|
|
|
|
EDT_DialogVector::EDT_DialogVector(CWnd* pParent /*=NULL*/)
|
|
: CDialog(EDT_DialogVector::IDD, pParent)
|
|
{
|
|
//{{AFX_DATA_INIT(EDT_DialogVector)
|
|
m_xComponentX = 0.0f;
|
|
m_xComponentY = 0.0f;
|
|
m_xComponentZ = 0.0f;
|
|
//}}AFX_DATA_INIT
|
|
}
|
|
|
|
|
|
void EDT_DialogVector::DoDataExchange(CDataExchange* pDX)
|
|
{
|
|
CDialog::DoDataExchange(pDX);
|
|
//{{AFX_DATA_MAP(EDT_DialogVector)
|
|
DDX_Text(pDX, EDT_IDC_COMPONENTX, m_xComponentX);
|
|
DDX_Text(pDX, EDT_IDC_COMPONENTY, m_xComponentY);
|
|
DDX_Text(pDX, EDT_IDC_COMPONENTZ, m_xComponentZ);
|
|
//}}AFX_DATA_MAP
|
|
}
|
|
|
|
|
|
BEGIN_MESSAGE_MAP(EDT_DialogVector, CDialog)
|
|
//{{AFX_MSG_MAP(EDT_DialogVector)
|
|
//}}AFX_MSG_MAP
|
|
END_MESSAGE_MAP()
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// EDT_DialogVector message handlers
|
|
|
|
void EDT_DialogVector::OnOK()
|
|
{
|
|
// TODO: Add extra validation here
|
|
|
|
CDialog::OnOK();
|
|
}
|
|
|
|
void EDT_DialogVector::OnCancel()
|
|
{
|
|
// TODO: Add extra cleanup here
|
|
|
|
CDialog::OnCancel();
|
|
}
|
|
|
|
|
|
#endif // ACTIVE_EDITOR
|