📄 scale.cpp
字号:
// Scale.cpp : implementation file
//
#include "stdafx.h"
#include "Graph.h"
#include "Scale.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CScale dialog
CScale::CScale(CWnd* pParent /*=NULL*/)
: CDialog(CScale::IDD, pParent)
{
//{{AFX_DATA_INIT(CScale)
m_sx = 0.0f;
m_sy = 0.0f;
m_refptx = 0;
m_refpty = 0;
//}}AFX_DATA_INIT
}
void CScale::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CScale)
DDX_Text(pDX, IDC_EDIT1, m_sx);
DDX_Text(pDX, IDC_EDIT2, m_sy);
DDX_Text(pDX, IDC_EDIT3, m_refptx);
DDX_Text(pDX, IDC_EDIT4, m_refpty);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CScale, CDialog)
//{{AFX_MSG_MAP(CScale)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CScale message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -