-
Notifications
You must be signed in to change notification settings - Fork 63
/
DlgMorph.cpp
68 lines (58 loc) · 1.56 KB
/
DlgMorph.cpp
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
// DlgMorph.cpp : implementation file
//
#include "stdafx.h"
#include "DIPDemo.h"
#include "DlgMorph.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgMorph dialog
CDlgMorph::CDlgMorph(CWnd* pParent /*=NULL*/)
: CDialog(CDlgMorph::IDD, pParent)
{
//{{AFX_DATA_INIT(CDlgMorph)
m_se00 = 1;
m_se01 = 1;
m_se02 = 1;
m_se10 = 1;
m_se11 = 1;
m_se12 = 1;
m_se20 = 1;
m_se21 = 1;
m_se22 = 1;
//}}AFX_DATA_INIT
}
void CDlgMorph::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlgMorph)
DDX_Text(pDX, IDC_EDIT1, m_se00);
DDV_MinMaxInt(pDX, m_se00, -1, 1);
DDX_Text(pDX, IDC_EDIT2, m_se01);
DDV_MinMaxInt(pDX, m_se01, -1, 1);
DDX_Text(pDX, IDC_EDIT3, m_se02);
DDV_MinMaxInt(pDX, m_se02, -1, 1);
DDX_Text(pDX, IDC_EDIT4, m_se10);
DDV_MinMaxInt(pDX, m_se10, -1, 1);
DDX_Text(pDX, IDC_EDIT5, m_se11);
DDV_MinMaxInt(pDX, m_se11, -1, 1);
DDX_Text(pDX, IDC_EDIT6, m_se12);
DDV_MinMaxInt(pDX, m_se12, -1, 1);
DDX_Text(pDX, IDC_EDIT7, m_se20);
DDV_MinMaxInt(pDX, m_se20, -1, 1);
DDX_Text(pDX, IDC_EDIT8, m_se21);
DDV_MinMaxInt(pDX, m_se21, -1, 1);
DDX_Text(pDX, IDC_EDIT9, m_se22);
DDV_MinMaxInt(pDX, m_se22, -1, 1);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlgMorph, CDialog)
//{{AFX_MSG_MAP(CDlgMorph)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlgMorph message handlers