Move the sources to trunk
[opencv] / apps / HMMDemo / MiscParams.cpp
1 // MiscParams.cpp : implementation file
2 //
3
4 #include "stdafx.h"
5 #include "hmmdemo.h"
6 #include "MiscParams.h"
7
8 #ifdef _DEBUG
9 #define new DEBUG_NEW
10 #undef THIS_FILE
11 static char THIS_FILE[] = __FILE__;
12 #endif
13
14 /////////////////////////////////////////////////////////////////////////////
15 // CMiscParams property page
16
17 IMPLEMENT_DYNCREATE(CMiscParams, CPropertyPage)
18
19 CMiscParams::CMiscParams() : CPropertyPage(CMiscParams::IDD)
20 {
21         //{{AFX_DATA_INIT(CMiscParams)
22         m_FixedWidth = 0;
23         m_FixedHeight = 0;
24         m_useHeight = FALSE;
25         m_useWidth = FALSE;
26         m_SuppressIntensity = FALSE;
27         //}}AFX_DATA_INIT
28 }
29
30 CMiscParams::~CMiscParams()
31 {
32 }
33
34 void CMiscParams::DoDataExchange(CDataExchange* pDX)
35 {
36         CPropertyPage::DoDataExchange(pDX);
37         //{{AFX_DATA_MAP(CMiscParams)
38         DDX_Text(pDX, IDC_FIX_WIDTH, m_FixedWidth);
39         DDX_Text(pDX, IDC_FIX_HEIGHT, m_FixedHeight);
40         DDX_Check(pDX, IDC_TO_HEIGHT, m_useHeight);
41         DDX_Check(pDX, IDC_TO_WIDTH, m_useWidth);
42         DDX_Check(pDX, IDC_SUPPRESS_INTENSITY, m_SuppressIntensity);
43         //}}AFX_DATA_MAP
44 }
45
46
47 BEGIN_MESSAGE_MAP(CMiscParams, CPropertyPage)
48         //{{AFX_MSG_MAP(CMiscParams)
49                 // NOTE: the ClassWizard will add message map macros here
50         //}}AFX_MSG_MAP
51 END_MESSAGE_MAP()
52
53 /////////////////////////////////////////////////////////////////////////////
54 // CMiscParams message handlers