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.
 
 
 
 
 

67 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: PropertyLGSWnd.h
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Header file of PropertyLGSWnd.h
//----------------------------------------------------------------------------
#ifndef __PROPERTY__LGS__WND__H__INCLUDED__
#define __PROPERTY__LGS__WND__H__INCLUDED__
#include "..\DLIB\SensorLGS.h"
#if _MSC_VER > 1000
#pragma once
#endif
class CPropertyLGSWnd : public CWnd
{
// Construction
public:
CPropertyLGSWnd();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPropertyLGSWnd)
//}}AFX_VIRTUAL
// Implementation
public:
BOOL GetFilter( double &x, double &y, double &r );
void UseVisibleZone( BOOL bUse );
BOOL Create( CWnd *pParentWnd, int x, int y, int cx, int cy );
void SetSensor( CSensorLGS *pSensor );
virtual ~CPropertyLGSWnd();
// Generated message map functions
protected:
//{{AFX_MSG(CPropertyLGSWnd)
afx_msg void OnPaint();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void CreateRgn( CRect &rect, CPoint &point );
void Draw( CDC *pDC );
BOOL m_bInverse;
CSensorLGS *m_pSensor;
CPoint m_vPoint;
CRgn m_vRgn;
CLgMemoryDC m_MemDC;
BOOL m_bUseVZ;
};
#endif