dithermo.cpp

来自「嵌入式」· C++ 代码 · 共 46 行

CPP
46
字号
// DitherMo.cpp : implementation file
//

#include "stdafx.h"
#include "ImageTool.h"
#include "DitherMo.h"

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

/////////////////////////////////////////////////////////////////////////////
// CDitherMo dialog


CDitherMo::CDitherMo(CWnd* pParent /*=NULL*/)
	: CDialog(CDitherMo::IDD, pParent)
{
	//{{AFX_DATA_INIT(CDitherMo)
	m_nBitCount = _T("");
	m_nDitherMethod = -1;
	//}}AFX_DATA_INIT
}


void CDitherMo::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CDitherMo)
	DDX_Text(pDX, IDC_EDIT1, m_nBitCount);
	DDX_Radio(pDX, IDC_RADIO1, m_nDitherMethod);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// CDitherMo message handlers

⌨️ 快捷键说明

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