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.

71 lines
1.7 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: PropertyLGSWnd.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of PropertyLGSWnd.h
  13. //----------------------------------------------------------------------------
  14. #ifndef __PROPERTY__LGS__WND__H__INCLUDED__
  15. #define __PROPERTY__LGS__WND__H__INCLUDED__
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif
  19. #include "PropertySensorWnd.h"
  20. #include "..\DLIB\SensorLGS.h"
  21. #include "MaskSchedule.h"
  22. class CPropertyLGSWnd : public CPropertySensorWnd
  23. {
  24. // Construction
  25. public:
  26. CPropertyLGSWnd();
  27. // Attributes
  28. public:
  29. // Operations
  30. public:
  31. BOOL Create( CWnd *pParentWnd, int x, int y, int cx, int cy );
  32. // Overrides
  33. // ClassWizard generated virtual function overrides
  34. //{{AFX_VIRTUAL(CPropertyLGSWnd)
  35. //}}AFX_VIRTUAL
  36. // Implementation
  37. public:
  38. virtual ~CPropertyLGSWnd();
  39. // Generated message map functions
  40. protected:
  41. //{{AFX_MSG(CPropertyLGSWnd)
  42. afx_msg void OnButtonCheck();
  43. afx_msg void OnSize(UINT nType, int cx, int cy);
  44. //}}AFX_MSG
  45. DECLARE_MESSAGE_MAP()
  46. public:
  47. virtual void FitRect( CRect ParentRect, CRect &ChildRect );
  48. virtual void SetSensor( CSensor *pSensor );
  49. virtual void OnUpdateSensorProperty();
  50. private:
  51. virtual void OnDraw( CDC *pDC );
  52. // BOOL m_bInverse;
  53. // CSensorLGS *m_pSensor;
  54. private:
  55. CButton m_pButton[LGS_MASK_SCHEDULE_COUNT];
  56. CBitmap m_pButtonBitmap[LGS_MASK_SCHEDULE_COUNT*2];
  57. };
  58. #endif