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.
47 lines
1.2 KiB
47 lines
1.2 KiB
//----------------------------------------------------------------------------
|
|
// Laser Guard Ltd.
|
|
// Copyright © 2000-2002. All Rights Reserved.
|
|
// Version 1.0 01/01/2000
|
|
// Last modification: 08/10/2003
|
|
// PROJECT:
|
|
// SUBSYSTEM:
|
|
// FILE: LgUIMapObject.cpp
|
|
// AUTHOR: Sergey Chizhevskiy
|
|
// OVERVIEW
|
|
// ~~~~~~~~
|
|
// Source file of LgUIMapObject.cpp
|
|
//----------------------------------------------------------------------------
|
|
#include "stdafx.h"
|
|
#include "..\Version.h"
|
|
#include "LgUIMapObject.h"
|
|
#include "LgUIMapObjectWnd.h"
|
|
|
|
CLgUIMapObject::CLgUIMapObject()
|
|
{
|
|
// log info
|
|
LGLOG( LOG_LEVEL_MEDIUM, LOG_TYPE_INFO, this, "CLgUIMapObject::CLgUIMapObject" );
|
|
}
|
|
|
|
CLgUIMapObject::~CLgUIMapObject()
|
|
{
|
|
CLgLinkP<CLgUIMapObject,CLgUIMapObjectWnd>::Unlink();
|
|
|
|
// log info
|
|
LGLOG( LOG_LEVEL_MEDIUM, LOG_TYPE_INFO, this, "CLgUIMapObject::~CLgUIMapObject" );
|
|
}
|
|
|
|
BOOL CLgUIMapObject::RedrawUIMapObject()
|
|
{
|
|
CLgArray< CLgLink<CLgUIMapObjectWnd,CLgUIMapObject>* > &arrMap = *this;
|
|
|
|
for( INT i = 0; i < arrMap.GetCount(); i++ )
|
|
{
|
|
CLgUIMapObjectWnd *pMap = *arrMap[i];
|
|
|
|
ASSERT( pMap );
|
|
|
|
pMap->RedrawObject( this );
|
|
}
|
|
|
|
return TRUE;
|
|
}
|