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
67 lines
1.7 KiB
//----------------------------------------------------------------------------
|
|
// Laser Guard Ltd.
|
|
// Copyright © 2000-2002. All Rights Reserved.
|
|
// Version 1.0 01/01/2000
|
|
// Last modification: 08/10/2003
|
|
// PROJECT:
|
|
// SUBSYSTEM:
|
|
// FILE: LgUICameraVideoWnd.h
|
|
// AUTHOR: Sergey Chizhevskiy
|
|
// OVERVIEW
|
|
// ~~~~~~~~
|
|
// Header file of LgUICameraVideoWnd.h
|
|
//----------------------------------------------------------------------------
|
|
#ifndef __LG__UI__VIDEO__CAMERA__VIDEO__WND__H__INCLUDED__
|
|
#define __LG__UI__VIDEO__CAMERA__VIDEO__WND__H__INCLUDED__
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif
|
|
|
|
#include "LgUICamera.h"
|
|
|
|
class CLgUICamera;
|
|
class CLgUICameraEngine;
|
|
class CLgUICameraListWnd;
|
|
class CLgUICameraMainWnd;
|
|
|
|
class CLgUICameraVideoWnd :
|
|
public CWnd,
|
|
public CLgLinkS<CLgUICameraVideoWnd,CLgUICamera>,
|
|
public CLgLinkS<CLgUICameraVideoWnd,CLgUICameraEngine>,
|
|
public CLgLinkS<CLgUICameraVideoWnd,CLgUICameraListWnd>,
|
|
public CLgLinkS<CLgUICameraVideoWnd,CLgUICameraMainWnd>
|
|
{
|
|
public:
|
|
CLgUICameraVideoWnd();
|
|
virtual ~CLgUICameraVideoWnd();
|
|
|
|
public:
|
|
//{{AFX_VIRTUAL(CLgUICameraVideoWnd)
|
|
virtual BOOL DestroyWindow();
|
|
//}}AFX_VIRTUAL
|
|
|
|
public:
|
|
virtual BOOL Create( CWnd *pParentWnd, int x, int y, int nWidth, int nHeight );
|
|
|
|
protected:
|
|
//{{AFX_MSG(CLgUICameraVideoWnd)
|
|
afx_msg void OnLButtonDown( UINT nFlags, CPoint point );
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
protected:
|
|
virtual void OnDraw( CDC *pDC );
|
|
virtual void OnPaint();
|
|
|
|
public:
|
|
CLgUICamera *GetVideoCamera() { return *this; }
|
|
|
|
public:
|
|
void OnVideoStreamSample( CLgImageDIB *pDIB );
|
|
|
|
private:
|
|
CLgImageDIB m_DIB;
|
|
};
|
|
|
|
#endif
|