level.cpp

来自「可用的基于小波的spiht算法」· C++ 代码 · 共 50 行

CPP
50
字号
// LEVEL.cpp : implementation file
//

#include "stdafx.h"
#include "ImgProcess.h"
#include "LEVEL.h"

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

/////////////////////////////////////////////////////////////////////////////
// CLEVEL dialog


CLEVEL::CLEVEL(CWnd* pParent /*=NULL*/)
	: CDialog(CLEVEL::IDD, pParent)
{
	//{{AFX_DATA_INIT(CLEVEL)
		// NOTE: the ClassWizard will add member initialization here
	m_level = 1;
	m_supp = 1;
	//}}AFX_DATA_INIT
}


void CLEVEL::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CLEVEL)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	DDX_Text(pDX, IDC_EDIT1, m_level);
	DDV_MinMaxInt(pDX, m_level, 0, 6);
	DDX_Text(pDX, IDC_EDIT2, m_supp);
	DDV_MinMaxInt(pDX, m_supp, 1, 10);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// CLEVEL message handlers

⌨️ 快捷键说明

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