📄 histogram.cpp
字号:
// Histogram.cpp : implementation file
//
#include "stdafx.h"
#include "imageprocess.h"
#include "Histogram.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// Histogram dialog
Histogram::Histogram(CWnd* pParent /*=NULL*/)
: CDialog(Histogram::IDD, pParent)
{
//{{AFX_DATA_INIT(Histogram)
m_label = 0;
m_combhsi = _T("");
//}}AFX_DATA_INIT
}
void Histogram::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(Histogram)
DDX_Text(pDX, IDC_EDITLABEL, m_label);
DDV_MinMaxInt(pDX, m_label, 1, 100);
DDX_CBString(pDX, IDC_COMBO1, m_combhsi);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(Histogram, CDialog)
//{{AFX_MSG_MAP(Histogram)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// Histogram message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -