Old fashion design for PC-104
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

79 lines
2.2 KiB

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //----------------------------------------------------------------------------
  2. // Laser Guard Ltd.
  3. // Copyright � 2000-2002. All Rights Reserved.
  4. // Version 1.0 01/01/2000
  5. // Last modification: 08/10/2003
  6. // PROJECT:
  7. // SUBSYSTEM:
  8. // FILE: VideoSettingsDlg.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of VideoSettingsDlg.h
  13. //----------------------------------------------------------------------------
  14. #if !defined(AFX_VIDEOSETTINGSDLG_H__50123A41_8F5D_11D5_9B77_0000E89F6E90__INCLUDED_)
  15. #define AFX_VIDEOSETTINGSDLG_H__50123A41_8F5D_11D5_9B77_0000E89F6E90__INCLUDED_
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif // _MSC_VER > 1000
  19. // VideoSettingsDlg.h : header file
  20. //
  21. #include "VideoBase.h"
  22. #include "..\dlib\sensorarray.h"
  23. class CVideoSettingsDlg : public CDialog
  24. {
  25. // Construction
  26. public:
  27. void DoModal( CVideoBase *pVideoBase, CSensorArray *pSensorArray );
  28. CVideoSettingsDlg(CWnd* pParent = NULL); // standard constructor
  29. // Dialog Data
  30. //{{AFX_DATA(CVideoSettingsDlg)
  31. enum { IDD = IDD_VIDEO_SETTINGS_DLG };
  32. CComboBox m_ComboVideo;
  33. CSpinButtonCtrl m_SpinVideoFPS;
  34. CSpinButtonCtrl m_SpinNightValue;
  35. CSpinButtonCtrl m_SpinDayValue;
  36. CSpinButtonCtrl m_SpinNightMinute;
  37. CSpinButtonCtrl m_SpinDayMinute;
  38. CSpinButtonCtrl m_SpinNightHour;
  39. CSpinButtonCtrl m_SpinDayHour;
  40. int m_nIrisDayHour;
  41. int m_nIrisDayMinute;
  42. int m_nIrisNightHour;
  43. int m_nIrisNightMinute;
  44. int m_nIrisDayValue;
  45. int m_nIrisNightValue;
  46. int m_nVideoFPS;
  47. //}}AFX_DATA
  48. // Overrides
  49. // ClassWizard generated virtual function overrides
  50. //{{AFX_VIRTUAL(CVideoSettingsDlg)
  51. protected:
  52. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  53. //}}AFX_VIRTUAL
  54. // Implementation
  55. protected:
  56. // Generated message map functions
  57. //{{AFX_MSG(CVideoSettingsDlg)
  58. virtual BOOL OnInitDialog();
  59. afx_msg void OnKillfocusEditIris();
  60. afx_msg void OnButtonVideo();
  61. //}}AFX_MSG
  62. DECLARE_MESSAGE_MAP()
  63. private:
  64. CVideoBase *m_pVideoBase;
  65. };
  66. //{{AFX_INSERT_LOCATION}}
  67. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  68. #endif // !defined(AFX_VIDEOSETTINGSDLG_H__50123A41_8F5D_11D5_9B77_0000E89F6E90__INCLUDED_)