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.
|
|
//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright � 2000-2002. All Rights Reserved.
// Version 1.0 01/01/2000
// Last modification: 08/10/2003
// PROJECT:
// SUBSYSTEM:
// FILE: ZoomAreaWnd.h
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Header file of ZoomAreaWnd.h
//----------------------------------------------------------------------------
#ifndef __ZOOM__AREA__WND__H__INCLUDED__
#define __ZOOM__AREA__WND__H__INCLUDED__
#if _MSC_VER > 1000
#pragma once
#endif
#include "..\DLIB\SensorArray.h"
#include "AreaSensorWnd.h"
class CWholeAreaWnd;
class CZoomAreaWnd : public CAreaSensorWnd{public: CZoomAreaWnd(); virtual ~CZoomAreaWnd();
public: //{{AFX_VIRTUAL(CZoomAreaWnd)
//}}AFX_VIRTUAL
public: virtual BOOL SetActiveSensor( CSensor *pActiveSensor );
public: CLgDRect GetVisibleArea(); void SetWholeArea( CWholeAreaWnd *pWholeAreaWnd ) { m_pWholeAreaWnd = pWholeAreaWnd; }
protected: //{{AFX_MSG(CZoomAreaWnd)
afx_msg void OnLButtonDown(UINT nFlags, CPoint point); afx_msg void OnLButtonUp(UINT nFlags, CPoint point); afx_msg void OnRButtonDown(UINT nFlags, CPoint point); afx_msg void OnMouseMove(UINT nFlags, CPoint point); //}}AFX_MSG
DECLARE_MESSAGE_MAP()protected: virtual void OnChangeViewParams();
private: CWholeAreaWnd *m_pWholeAreaWnd; BOOL m_bMousePressed; CPoint m_pMousePress; DWORD m_dwPressTime;};
//{{AFX_INSERT_LOCATION}}
#endif
|