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.
71 lines
1.7 KiB
71 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: PropertyLGSWnd.h
|
|
// AUTHOR: Sergey Chizhevskiy
|
|
// OVERVIEW
|
|
// ~~~~~~~~
|
|
// Header file of PropertyLGSWnd.h
|
|
//----------------------------------------------------------------------------
|
|
#ifndef __PROPERTY__LGS__WND__H__INCLUDED__
|
|
#define __PROPERTY__LGS__WND__H__INCLUDED__
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif
|
|
|
|
#include "PropertySensorWnd.h"
|
|
#include "..\DLIB\SensorLGS.h"
|
|
#include "MaskSchedule.h"
|
|
|
|
|
|
class CPropertyLGSWnd : public CPropertySensorWnd
|
|
{
|
|
// Construction
|
|
public:
|
|
CPropertyLGSWnd();
|
|
|
|
// Attributes
|
|
public:
|
|
|
|
// Operations
|
|
public:
|
|
BOOL Create( CWnd *pParentWnd, int x, int y, int cx, int cy );
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CPropertyLGSWnd)
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
public:
|
|
virtual ~CPropertyLGSWnd();
|
|
|
|
// Generated message map functions
|
|
protected:
|
|
//{{AFX_MSG(CPropertyLGSWnd)
|
|
afx_msg void OnButtonCheck();
|
|
afx_msg void OnSize(UINT nType, int cx, int cy);
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
public:
|
|
virtual void FitRect( CRect ParentRect, CRect &ChildRect );
|
|
virtual void SetSensor( CSensor *pSensor );
|
|
virtual void OnUpdateSensorProperty();
|
|
|
|
private:
|
|
virtual void OnDraw( CDC *pDC );
|
|
// BOOL m_bInverse;
|
|
// CSensorLGS *m_pSensor;
|
|
|
|
private:
|
|
CButton m_pButton[LGS_MASK_SCHEDULE_COUNT];
|
|
CBitmap m_pButtonBitmap[LGS_MASK_SCHEDULE_COUNT*2];
|
|
};
|
|
|
|
#endif
|