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.

67 lines
1.7 KiB

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //----------------------------------------------------------------------------
  2. // Laser Guard Ltd.
  3. // Copyright � 2000-2002. All Rights Reserved.
  4. // Version 1.0 24/04/2000
  5. // Last modification: 08/10/2003
  6. // Project Intruder Position Indicator
  7. // SUBSYSTEM: Setup
  8. // FILE: SetupDlg.h
  9. // AUTHOR: Chizhevskiy Sergey
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of class CSetupDlg
  13. //----------------------------------------------------------------------------
  14. #ifndef __SETUP__DLG__H__INCLUDED__
  15. #define __SETUP__DLG__H__INCLUDED__
  16. #include "Dialog.h"
  17. #include "Profile.h"
  18. #include "Transfer.h" // Added by ClassView
  19. #include "LocatorWnd.h" // Added by ClassView
  20. class CApplication;
  21. #define WM_SETUPDLG_OK (WM_USER+456)
  22. #define WM_SETUPDLG_CLOSED (WM_USER+457)
  23. class CSetupDlg :
  24. public CDialog
  25. {
  26. public:
  27. CSetupDlg(CProfile *pProfile, CApplication *pApplication);
  28. ~CSetupDlg();
  29. private:
  30. void ValidateSpin(UINT nSpinID);
  31. void TransferFiles(HWND hWnd);
  32. void Data2Controls();
  33. void Controls2Data();
  34. BOOL OnInitDialog();
  35. BOOL DialogProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
  36. private:
  37. void OnCheckEnableAutoReset();
  38. // void OnChangePtzType();
  39. void OnCheckAutoBaudrate();
  40. void OnChangeExternalControlType();
  41. void OnButtonHzSchedule();
  42. void OnButtonFixedVideo();
  43. void OnButtonPhone();
  44. void OnButtonPtzCamera();
  45. void OnCheckDisplayClockwise();
  46. void OnComboDisplayDirection();
  47. void OnCheckAlarmDelay();
  48. void OnCheckWatchDogUserInterface();
  49. private:
  50. CLocatorRegionArray& m_FixedVideoRegionArray;
  51. CApplication *m_pApplication;
  52. PROFILE_DATA& m_Data;
  53. CProfile *m_pProfile;
  54. private:
  55. HICON m_ppIconDirection[2][4];
  56. };
  57. #endif