-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGrayGamaTransform.cpp
More file actions
52 lines (36 loc) · 1013 Bytes
/
GrayGamaTransform.cpp
File metadata and controls
52 lines (36 loc) · 1013 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// GrayGamaTransform.cpp: 实现文件
//
#include "pch.h"
#include "CImageProcessing.h"
#include "afxdialogex.h"
#include "GrayGamaTransform.h"
// GrayGamaTransform 对话框
IMPLEMENT_DYNAMIC(GrayGamaTransform, CDialogEx)
GrayGamaTransform::GrayGamaTransform(CWnd* pParent /*=nullptr*/)
: CDialogEx(IDD_GrayGamaTransform, pParent)
, m_gama(0)
{
}
GrayGamaTransform::~GrayGamaTransform()
{
}
void GrayGamaTransform::DoDataExchange(CDataExchange* pDX)
{
CDialogEx::DoDataExchange(pDX);
DDX_Text(pDX, IDC_EDIT1, m_gama);
}
BEGIN_MESSAGE_MAP(GrayGamaTransform, CDialogEx)
ON_BN_CLICKED(IDCANCEL, &GrayGamaTransform::OnBnClickedCancel)
ON_BN_CLICKED(IDOK, &GrayGamaTransform::OnBnClickedOk)
END_MESSAGE_MAP()
// GrayGamaTransform 消息处理程序
void GrayGamaTransform::OnBnClickedCancel()
{
// TODO: 在此添加控件通知处理程序代码
CDialogEx::OnCancel();
}
void GrayGamaTransform::OnBnClickedOk()
{
// TODO: 在此添加控件通知处理程序代码
CDialogEx::OnOK();
}