-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathAnimationSpeed.cpp
More file actions
executable file
·42 lines (35 loc) · 1.03 KB
/
Copy pathAnimationSpeed.cpp
File metadata and controls
executable file
·42 lines (35 loc) · 1.03 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
// AnimationSpeed.cpp : implementation file
//
#include "stdafx.h"
#include "CarEditor.h"
#include "AnimationSpeed.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CAnimationSpeed dialog
CAnimationSpeed::CAnimationSpeed(CWnd* pParent /*=NULL*/)
: CDialog(CAnimationSpeed::IDD, pParent)
{
//{{AFX_DATA_INIT(CAnimationSpeed)
m_Speed = 0;
//}}AFX_DATA_INIT
}
void
CAnimationSpeed::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CAnimationSpeed)
DDX_Text(pDX, IDC_EDIT1, m_Speed);
DDV_MinMaxUInt(pDX, m_Speed, 0, 65535);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CAnimationSpeed, CDialog)
//{{AFX_MSG_MAP(CAnimationSpeed)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CAnimationSpeed message handlers