Update to 2.0.0 tree from current Fremantle build
[opencv] / apps / StereoGR / DGProp.cpp
diff --git a/apps/StereoGR/DGProp.cpp b/apps/StereoGR/DGProp.cpp
deleted file mode 100644 (file)
index 7f05351..0000000
+++ /dev/null
@@ -1,144 +0,0 @@
-/*M///////////////////////////////////////////////////////////////////////////////////////\r
-//\r
-//  IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.\r
-//\r
-//  By downloading, copying, installing or using the software you agree to this license.\r
-//  If you do not agree to this license, do not download, install,\r
-//  copy or use the software.\r
-//\r
-//\r
-//                        Intel License Agreement\r
-//                For Open Source Computer Vision Library\r
-//\r
-// Copyright (C) 2000, Intel Corporation, all rights reserved.\r
-// Third party copyrights are property of their respective owners.\r
-//\r
-// Redistribution and use in source and binary forms, with or without modification,\r
-// are permitted provided that the following conditions are met:\r
-//\r
-//   * Redistribution's of source code must retain the above copyright notice,\r
-//     this list of conditions and the following disclaimer.\r
-//\r
-//   * Redistribution's in binary form must reproduce the above copyright notice,\r
-//     this list of conditions and the following disclaimer in the documentation\r
-//     and/or other materials provided with the distribution.\r
-//\r
-//   * The name of Intel Corporation may not be used to endorse or promote products\r
-//     derived from this software without specific prior written permission.\r
-//\r
-// This software is provided by the copyright holders and contributors "as is" and\r
-// any express or implied warranties, including, but not limited to, the implied\r
-// warranties of merchantability and fitness for a particular purpose are disclaimed.\r
-// In no event shall the Intel Corporation or contributors be liable for any direct,\r
-// indirect, incidental, special, exemplary, or consequential damages\r
-// (including, but not limited to, procurement of substitute goods or services;\r
-// loss of use, data, or profits; or business interruption) however caused\r
-// and on any theory of liability, whether in contract, strict liability,\r
-// or tort (including negligence or otherwise) arising in any way out of\r
-// the use of this software, even if advised of the possibility of such damage.\r
-//\r
-//M*/// DGProp.cpp : implementation file\r
-//\r
-\r
-#include "stdafx.h"\r
-#include "stereogr.h"\r
-#include "DGProp.h"\r
-\r
-#ifdef _DEBUG\r
-#define new DEBUG_NEW\r
-#undef THIS_FILE\r
-static char THIS_FILE[] = __FILE__;\r
-#endif\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// CDGProp dialog\r
-\r
-\r
-IMPLEMENT_DYNCREATE(CDGProp, CPropertyPage)\r
-\r
-CDGProp::CDGProp(CWnd* pParent /*=NULL*/)\r
-       : CPropertyPage(CDGProp::IDD)\r
-{\r
-       //{{AFX_DATA_INIT(CDGProp)\r
-       m_dgName = _T("Move down");\r
-       m_isSaveToFile = FALSE;\r
-       m_savePath = _T("");\r
-       m_isCollectGesture = FALSE;\r
-       //}}AFX_DATA_INIT\r
-}\r
-\r
-\r
-void CDGProp::DoDataExchange(CDataExchange* pDX)\r
-{\r
-       CPropertyPage::DoDataExchange(pDX);\r
-       //{{AFX_DATA_MAP(CDGProp)\r
-       DDX_CBString(pDX, IDC_DGNAME, m_dgName);\r
-       DDX_Check(pDX, IDC_DGSAVE, m_isSaveToFile);\r
-       DDX_Text(pDX, IDC_ESAVEPATH, m_savePath);\r
-       DDX_Check(pDX, IDC_DGCOLLECT, m_isCollectGesture);\r
-       //}}AFX_DATA_MAP\r
-}\r
-\r
-\r
-BEGIN_MESSAGE_MAP(CDGProp, CPropertyPage)\r
-       //{{AFX_MSG_MAP(CDGProp)\r
-       ON_BN_CLICKED(IDC_DGCOLLECT, OnDgcollect)\r
-       ON_CBN_EDITCHANGE(IDC_DGNAME, OnEditchangeDgname)\r
-       ON_CBN_SELENDOK(IDC_DGNAME, OnSelendokDgname)\r
-       ON_CBN_CLOSEUP(IDC_DGNAME, OnCloseupDgname)\r
-       //}}AFX_MSG_MAP\r
-END_MESSAGE_MAP()\r
-\r
-/////////////////////////////////////////////////////////////////////////////\r
-// CDGProp message handlers\r
-\r
-BOOL CDGProp::OnInitDialog() \r
-{\r
-       CPropertyPage::OnInitDialog();\r
-       \r
-    CComboBox* box = (CComboBox*)GetDlgItem(IDC_DGNAME);\r
-\r
-    box->SetCurSel(0);\r
-\r
-    ShowWindow(SW_SHOW);\r
-       return TRUE;  // return TRUE unless you set the focus to a control\r
-                     // EXCEPTION: OCX Property Pages should return FALSE\r
-}\r
-\r
-CString CDGProp::GetGestureName()\r
-{\r
-    return m_dgName;\r
-}\r
-\r
-BOOL CDGProp::IsSaveToFile()\r
-{\r
-    return m_isSaveToFile;\r
-}\r
-\r
-CString CDGProp::GetSavePath()\r
-{\r
-    return m_savePath;\r
-}\r
-\r
-void CDGProp::OnDgcollect() \r
-{\r
-       UpdateData(TRUE);\r
-}\r
-\r
-void CDGProp::OnEditchangeDgname() \r
-{\r
-       UpdateData(TRUE);       \r
-}\r
-\r
-void CDGProp::OnSelendokDgname() \r
-{\r
-       UpdateData(TRUE);       \r
-}\r
-\r
-void CDGProp::OnCloseupDgname() \r
-{\r
-       UpdateData(TRUE);       \r
-       CComboBox* box = (CComboBox*)GetDlgItem(IDC_DGNAME);\r
-       int i = box->GetCurSel();\r
-       box->GetLBText(i, m_dgName);\r
-}\r