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.
66 lines
1.6 KiB
66 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: LgUIMapZoomWnd.h
|
|
// AUTHOR: Sergey Chizhevskiy
|
|
// OVERVIEW
|
|
// ~~~~~~~~
|
|
// Header file of LgUIMapZoomWnd.h
|
|
//----------------------------------------------------------------------------
|
|
#ifndef __LG__MAP__ZOOM__WND__H__INCLUDED__
|
|
#define __LG__MAP__ZOOM__WND__H__INCLUDED__
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif
|
|
|
|
#include "LgUIMapObjectWnd.h"
|
|
|
|
class CLgUIMapWholeWnd;
|
|
|
|
class CLgUIMapZoomWnd :
|
|
public CLgUIMapObjectWnd,
|
|
public CLgLinkS<CLgUIMapZoomWnd,CLgUIMapWholeWnd>
|
|
{
|
|
public:
|
|
CLgUIMapZoomWnd();
|
|
virtual ~CLgUIMapZoomWnd();
|
|
|
|
public:
|
|
//{{AFX_VIRTUAL(CLgUIMapZoomWnd)
|
|
//}}AFX_VIRTUAL
|
|
|
|
public:
|
|
virtual BOOL Link( CLgLink<CLgUIMapObject,CLgUIMapObjectWnd>* );
|
|
virtual BOOL Unlink( CLgLink<CLgUIMapObject,CLgUIMapObjectWnd>* );
|
|
|
|
public:
|
|
virtual BOOL SetActiveObject( CLgUIMapObject *pActiveSensor );
|
|
|
|
public:
|
|
CLgDRect GetVisibleArea();
|
|
|
|
protected:
|
|
//{{AFX_MSG(CLgUIMapZoomWnd)
|
|
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:
|
|
BOOL m_bMousePressed;
|
|
CPoint m_pMousePress;
|
|
DWORD m_dwPressTime;
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
#endif
|