⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 imagestandard.cpp

📁 Visual C++_ 600 编程学习捷径
💻 CPP
字号:
// ImageStandard.cpp : implementation file
//

#include "stdafx.h"
#include "ImageTest.h"
#include "ImageStandard.h"

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

/////////////////////////////////////////////////////////////////////////////
// CImageStandard dialog


CImageStandard::CImageStandard(CWnd* pParent /*=NULL*/)
	: CDialog(CImageStandard::IDD, pParent)
{
	//{{AFX_DATA_INIT(CImageStandard)
	m_strMapName = _T("");
	m_dScale = 0.0f;
	m_dX1 = 0.0f;
	m_dX2 = 0.0f;
	m_dY1 = 0.0f;
	m_dY2 = 0.0f;
	//}}AFX_DATA_INIT
}


void CImageStandard::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CImageStandard)
	DDX_Text(pDX, IDC_MAP_NAME, m_strMapName);
	DDX_Text(pDX, IDC_SCALE_EDIT, m_dScale);
	DDV_MinMaxFloat(pDX, m_dScale, 5.f, 1.e+007f);
	DDX_Text(pDX, IDC_X1_EDIT, m_dX1);
	DDV_MinMaxFloat(pDX, m_dX1, 80.f, 150.f);
	DDX_Text(pDX, IDC_X2_EDIT, m_dX2);
	DDV_MinMaxFloat(pDX, m_dX2, 80.f, 150.f);
	DDX_Text(pDX, IDC_Y1_EDIT, m_dY1);
	DDV_MinMaxFloat(pDX, m_dY1, 1.f, 65.f);
	DDX_Text(pDX, IDC_Y2_EDIT, m_dY2);
	DDV_MinMaxFloat(pDX, m_dY2, 1.f, 65.f);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CImageStandard, CDialog)
	//{{AFX_MSG_MAP(CImageStandard)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CImageStandard message handlers

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -