📄 dlgaddsphere.cpp
字号:
// DlgAddSphere.cpp : implementation file
//
#include "stdafx.h"
#include "ClothSimulation.h"
#include "DlgAddSphere.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgAddSphere dialog
CDlgAddSphere::CDlgAddSphere(CWnd* pParent /*=NULL*/)
: CDialog(CDlgAddSphere::IDD, pParent)
{
//{{AFX_DATA_INIT(CDlgAddSphere)
// NOTE: the ClassWizard will add member initialization here
m_Radius = 0.0f;
m_XPos = 0.0f;
m_YPos = 0.0f;
m_ZPos = 0.0f;
//}}AFX_DATA_INIT
}
void CDlgAddSphere::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlgAddSphere)
// NOTE: the ClassWizard will add DDX and DDV calls here
DDX_Text(pDX, IDC_RADIUS, m_Radius);
DDV_MinMaxFloat(pDX, m_Radius, 1.e-003f, 10.f);
DDX_Text(pDX, IDC_XPOS, m_XPos);
DDX_Text(pDX, IDC_YPOS, m_YPos);
DDX_Text(pDX, IDC_ZPOS, m_ZPos);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlgAddSphere, CDialog)
//{{AFX_MSG_MAP(CDlgAddSphere)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlgAddSphere message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -