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
69 lines
1.6 KiB
//----------------------------------------------------------------------------
|
|
// Laser Guard Ltd.
|
|
// Copyright © 2000-2002. All Rights Reserved.
|
|
// Version 1.0 01/01/2000
|
|
// Last modification: 08/10/2003
|
|
// PROJECT:
|
|
// SUBSYSTEM:
|
|
// FILE: VideoWnd.h
|
|
// AUTHOR: Sergey Chizhevskiy
|
|
// OVERVIEW
|
|
// ~~~~~~~~
|
|
// Header file of VideoWnd.h
|
|
//----------------------------------------------------------------------------
|
|
#if !defined(AFX_VIDEOWND_H__EFBA8D76_AC91_4447_8292_9589D0CB1E69__INCLUDED_)
|
|
#define AFX_VIDEOWND_H__EFBA8D76_AC91_4447_8292_9589D0CB1E69__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#include "..\LgLib\LgImageDIB.h"
|
|
|
|
#define WM_VIDEO_READY (WM_USER+999)
|
|
|
|
class CVideoWnd : public CWnd
|
|
{
|
|
// Construction
|
|
public:
|
|
CVideoWnd();
|
|
|
|
// Attributes
|
|
public:
|
|
|
|
// Operations
|
|
public:
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CVideoWnd)
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
public:
|
|
BOOL Create( CWnd* pParentWnd, CRect &rect );
|
|
virtual ~CVideoWnd();
|
|
|
|
public:
|
|
void UpdateVideoDIB( CLgImageDIB *pDIB, INT nSequence );
|
|
|
|
// Generated message map functions
|
|
protected:
|
|
//{{AFX_MSG(CVideoWnd)
|
|
afx_msg void OnPaint();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
private:
|
|
CLgImageDIB m_VideoDIB;
|
|
|
|
private:
|
|
INT m_nSequence;
|
|
};
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_VIDEOWND_H__EFBA8D76_AC91_4447_8292_9589D0CB1E69__INCLUDED_)
|