📄 imagewarpdialog.cpp
字号:
// ImageWarpDialog.cpp : implementation file
//
#include "stdafx.h"
#include "ImgWarp.h"
#include "ImageWarpDialog.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CImageWarpDialog dialog
CImageWarpDialog::CImageWarpDialog(CWnd* pParent /*=NULL*/)
: CDialog(CImageWarpDialog::IDD, pParent)
{
//{{AFX_DATA_INIT(CImageWarpDialog)
m_fAmplitude = 0.0f;
m_fPeriod = 0.0f;
m_fPhase = 0.0f;
m_nOperation = -1;
m_nQuality = -1;
//}}AFX_DATA_INIT
}
void CImageWarpDialog::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CImageWarpDialog)
DDX_Text(pDX, IDC_EDIT_AMPLITUDE, m_fAmplitude);
DDX_Text(pDX, IDC_EDIT_PERIOD, m_fPeriod);
DDX_Text(pDX, IDC_EDIT_PHASE, m_fPhase);
DDX_Radio(pDX, IDC_RADIO1, m_nOperation);
DDX_Radio(pDX, IDC_RADIO3, m_nQuality);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CImageWarpDialog, CDialog)
//{{AFX_MSG_MAP(CImageWarpDialog)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CImageWarpDialog message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -