DlgEdgeDetect.cpp
上传用户:alisonmail
上传日期:2013-02-28
资源大小:500k
文件大小:1k
- // DlgEdgeDetect.cpp : implementation file
- //
- #include "stdafx.h"
- #include "ImageView.h"
- #include "DlgEdgeDetect.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CDlgEdgeDetect dialog
- CDlgEdgeDetect::CDlgEdgeDetect(CWnd* pParent /*=NULL*/)
- : CDialog(CDlgEdgeDetect::IDD, pParent)
- {
- //{{AFX_DATA_INIT(CDlgEdgeDetect)
- m_bEmbossed = FALSE;
- m_nEdgeDetectType = 0;
- //}}AFX_DATA_INIT
- }
- void CDlgEdgeDetect::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CDlgEdgeDetect)
- DDX_Check(pDX, IDC_CHECK_EMBOSS, m_bEmbossed);
- DDX_Radio(pDX, IDC_RADIO_SOBEL, m_nEdgeDetectType);
- //}}AFX_DATA_MAP
- }
- BEGIN_MESSAGE_MAP(CDlgEdgeDetect, CDialog)
- //{{AFX_MSG_MAP(CDlgEdgeDetect)
- // NOTE: the ClassWizard will add message map macros here
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CDlgEdgeDetect message handlers