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.
65 lines
1.6 KiB
65 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: LgUIMapObjectWnd.h
|
|
// AUTHOR: Sergey Chizhevskiy
|
|
// OVERVIEW
|
|
// ~~~~~~~~
|
|
// Header file of LgUIMapObjectWnd.h
|
|
//----------------------------------------------------------------------------
|
|
#ifndef __LG__MAP__OBJECT__WND__H__INCLUDED__
|
|
#define __LG__MAP__OBJECT__WND__H__INCLUDED__
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif
|
|
|
|
#include "LgUIMapWnd.h"
|
|
#include "LgUIMapObject.h"
|
|
|
|
class CLgUIMapObjectWnd :
|
|
public CLgUIMapWnd,
|
|
public CLgLinkP<CLgUIMapObjectWnd,CLgUIMapObject>
|
|
{
|
|
public:
|
|
CLgUIMapObjectWnd();
|
|
virtual ~CLgUIMapObjectWnd();
|
|
|
|
public:
|
|
virtual void UpdateInfo( BOOL bOdd );
|
|
|
|
public:
|
|
virtual BOOL SetActiveObject( CLgUIMapObject *pActiveObject );
|
|
virtual CLgUIMapObject *GetActiveObject() { return m_pActiveObject; }
|
|
virtual CLgUIMapObject *OnUIMapHitTest( CLgDRect *pRect );
|
|
virtual BOOL RedrawObject( CLgUIMapObject *pActiveObject );
|
|
|
|
protected:
|
|
virtual void OnUIMapActivateObject( CLgUIMapObject* ){}
|
|
|
|
public:
|
|
//{{AFX_VIRTUAL(CLgUIMapObjectWnd)
|
|
//}}AFX_VIRTUAL
|
|
|
|
protected:
|
|
//{{AFX_MSG(CLgUIMapObjectWnd)
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
protected:
|
|
virtual void OnDraw( CDC *pDC );
|
|
virtual void OnDrawBackground( CDC *pDC );
|
|
virtual void OnDrawTimer( CDC *pDC );
|
|
|
|
protected:
|
|
CLgUIMapObject *m_pActiveObject;
|
|
|
|
protected:
|
|
BOOL m_bOddUpdate;
|
|
};
|
|
|
|
#endif
|