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.
74 lines
1.9 KiB
74 lines
1.9 KiB
//----------------------------------------------------------------------------
|
|
// Laser Guard Ltd.
|
|
// Copyright © 2000-2002. All Rights Reserved.
|
|
// Version 1.0 01/01/2000
|
|
// Last modification: 08/10/2003
|
|
// PROJECT:
|
|
// SUBSYSTEM:
|
|
// FILE: LgUICameraControlWnd.h
|
|
// AUTHOR: Sergey Chizhevskiy
|
|
// OVERVIEW
|
|
// ~~~~~~~~
|
|
// Header file of LgUICameraControlWnd.h
|
|
//----------------------------------------------------------------------------
|
|
#ifndef __LG__UI__VIDEO__CAMERA__CONTROL__WND__H__INCLUDED__
|
|
#define __LG__UI__VIDEO__CAMERA__CONTROL__WND__H__INCLUDED__
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif
|
|
|
|
#include "..\Templ.h"
|
|
#include "..\MFC\LgButton.h"
|
|
#include "LgUICamera.h"
|
|
#include "LgUICameravideoWnd.h"
|
|
|
|
class CLgUICamera;
|
|
class CLgUICameraEngine;
|
|
|
|
class CLgUICameraControlWnd :
|
|
public CDialog,
|
|
public CLgLinkS<CLgUICameraControlWnd,CLgUICamera>,
|
|
public CLgLinkS<CLgUICameraControlWnd,CLgUICameraEngine>
|
|
{
|
|
public:
|
|
CLgUICameraControlWnd( CWnd* pParent = NULL );
|
|
virtual ~CLgUICameraControlWnd();
|
|
|
|
public:
|
|
BOOL Create( CWnd *pParentWnd, int x, int y, int nWidth, int nHeight );
|
|
|
|
public:
|
|
//{{AFX_DATA(CCameraNavigateDlg)
|
|
enum { IDD = 0 };
|
|
CLgButton m_ButtonUp;
|
|
CLgButton m_ButtonDown;
|
|
CLgButton m_ButtonLeft;
|
|
CLgButton m_ButtonRight;
|
|
CLgButton m_ButtonTele;
|
|
CLgButton m_ButtonWide;
|
|
//}}AFX_DATA
|
|
|
|
//{{AFX_VIRTUAL(CCameraNavigateDlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX);
|
|
//}}AFX_VIRTUAL
|
|
|
|
protected:
|
|
//{{AFX_MSG(CCameraNavigateDlg)
|
|
//}}AFX_MSG
|
|
afx_msg LRESULT OnWmLgButtonSetState( WPARAM, LPARAM );
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
public:
|
|
virtual BOOL Link( CLgLink<CLgUICamera,CLgUICameraControlWnd>* );
|
|
virtual BOOL Unlink( CLgLink<CLgUICamera,CLgUICameraControlWnd>* );
|
|
|
|
public:
|
|
BOOL OnVideoCameraControl( CLgUICamera *pCamera, BOOL bAvailible );
|
|
|
|
private:
|
|
BOOL EnableControl( BOOL bEnable );
|
|
};
|
|
|
|
#endif
|