// IrScopeConfigDlg.cpp : implementation file // #include "stdafx.h" #include "IRScope.h" #include "IrScopeConfigDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CIrScopeConfigDlg dialog CIrScopeConfigDlg::CIrScopeConfigDlg(CWnd* pParent /*=NULL*/) : CDialog(CIrScopeConfigDlg::IDD, pParent) { //{{AFX_DATA_INIT(CIrScopeConfigDlg) m_bShowPulseTimes = FALSE; m_uPixelTime = 0; m_bShowElapsedTime = FALSE; m_bShowPulseCounts = FALSE; //}}AFX_DATA_INIT } void CIrScopeConfigDlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CIrScopeConfigDlg) DDX_Check(pDX, IDC_PULSE_TIMES, m_bShowPulseTimes); DDX_Text(pDX, IDC_PIXEL_TIME, m_uPixelTime); DDV_MinMaxUInt(pDX, m_uPixelTime, 1, 2000); DDX_Check(pDX, IDC_ELAPSED_TIME, m_bShowElapsedTime); DDX_Check(pDX, IDC_PULSE_COUNTS, m_bShowPulseCounts); //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CIrScopeConfigDlg, CDialog) //{{AFX_MSG_MAP(CIrScopeConfigDlg) // NOTE: the ClassWizard will add message map macros here //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CIrScopeConfigDlg message handlers