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.

69 lines
1.6 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: VideoWnd.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of VideoWnd.h
  13. //----------------------------------------------------------------------------
  14. #if !defined(AFX_VIDEOWND_H__EFBA8D76_AC91_4447_8292_9589D0CB1E69__INCLUDED_)
  15. #define AFX_VIDEOWND_H__EFBA8D76_AC91_4447_8292_9589D0CB1E69__INCLUDED_
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif // _MSC_VER > 1000
  19. #include "..\LgLib\LgImageDIB.h"
  20. #define WM_VIDEO_READY (WM_USER+999)
  21. class CVideoWnd : public CWnd
  22. {
  23. // Construction
  24. public:
  25. CVideoWnd();
  26. // Attributes
  27. public:
  28. // Operations
  29. public:
  30. // Overrides
  31. // ClassWizard generated virtual function overrides
  32. //{{AFX_VIRTUAL(CVideoWnd)
  33. //}}AFX_VIRTUAL
  34. // Implementation
  35. public:
  36. BOOL Create( CWnd* pParentWnd, CRect &rect );
  37. virtual ~CVideoWnd();
  38. public:
  39. void UpdateVideoDIB( CLgImageDIB *pDIB, INT nSequence );
  40. // Generated message map functions
  41. protected:
  42. //{{AFX_MSG(CVideoWnd)
  43. afx_msg void OnPaint();
  44. //}}AFX_MSG
  45. DECLARE_MESSAGE_MAP()
  46. private:
  47. CLgImageDIB m_VideoDIB;
  48. private:
  49. INT m_nSequence;
  50. };
  51. /////////////////////////////////////////////////////////////////////////////
  52. //{{AFX_INSERT_LOCATION}}
  53. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  54. #endif // !defined(AFX_VIDEOWND_H__EFBA8D76_AC91_4447_8292_9589D0CB1E69__INCLUDED_)