-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathVertexDataValue.cpp
More file actions
executable file
·47 lines (37 loc) · 1.12 KB
/
Copy pathVertexDataValue.cpp
File metadata and controls
executable file
·47 lines (37 loc) · 1.12 KB
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
// VertexDataValue.cpp : implementation file
//
#include "stdafx.h"
#include "ObjectEditor.h"
#include "VertexDataValue.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CVertexDataValue dialog
CVertexDataValue::CVertexDataValue(CWnd* pParent /*=NULL*/)
: CDialog(CVertexDataValue::IDD, pParent)
{
//{{AFX_DATA_INIT(CVertexDataValue)
m_From = 0;
m_To = 0;
//}}AFX_DATA_INIT
}
void CVertexDataValue::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CVertexDataValue)
DDX_Text(pDX, IDC_EDIT1, m_From);
DDV_MinMaxInt(pDX, m_From, 0, 255);
DDX_Text(pDX, IDC_EDIT2, m_To);
DDV_MinMaxInt(pDX, m_To, 0, 255);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CVertexDataValue, CDialog)
//{{AFX_MSG_MAP(CVertexDataValue)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CVertexDataValue message handlers