2013-04-22 05:25:59 +00:00
|
|
|
// ScaleDialog.cpp : implementation file
|
|
|
|
//
|
|
|
|
|
|
|
|
#include "stdafx.h"
|
|
|
|
#include "Radiant.h"
|
|
|
|
#include "ScaleDialog.h"
|
|
|
|
|
|
|
|
#ifdef _DEBUG
|
|
|
|
#define new DEBUG_NEW
|
|
|
|
#undef THIS_FILE
|
|
|
|
static char THIS_FILE[] = __FILE__;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// CScaleDialog dialog
|
|
|
|
|
|
|
|
|
|
|
|
CScaleDialog::CScaleDialog(CWnd* pParent /*=NULL*/)
|
|
|
|
: CDialog(CScaleDialog::IDD, pParent)
|
|
|
|
{
|
|
|
|
//{{AFX_DATA_INIT(CScaleDialog)
|
|
|
|
m_fZ = 1.0f;
|
|
|
|
m_fX = 1.0f;
|
|
|
|
m_fY = 1.0f;
|
|
|
|
//}}AFX_DATA_INIT
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void CScaleDialog::DoDataExchange(CDataExchange* pDX)
|
|
|
|
{
|
|
|
|
CDialog::DoDataExchange(pDX);
|
|
|
|
//{{AFX_DATA_MAP(CScaleDialog)
|
|
|
|
DDX_Text(pDX, IDC_EDIT_Z, m_fZ);
|
|
|
|
DDX_Text(pDX, IDC_EDIT_X, m_fX);
|
|
|
|
DDX_Text(pDX, IDC_EDIT_Y, m_fY);
|
|
|
|
//}}AFX_DATA_MAP
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
BEGIN_MESSAGE_MAP(CScaleDialog, CDialog)
|
|
|
|
//{{AFX_MSG_MAP(CScaleDialog)
|
|
|
|
// NOTE: the ClassWizard will add message map macros here
|
|
|
|
//}}AFX_MSG_MAP
|
|
|
|
END_MESSAGE_MAP()
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// CScaleDialog message handlers
|