//---------------------------------------------------------------------------- // 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::Unlink(); // log info LGLOG( LOG_LEVEL_MEDIUM, LOG_TYPE_INFO, this, "CLgUIMapObject::~CLgUIMapObject" ); } BOOL CLgUIMapObject::RedrawUIMapObject() { CLgArray< CLgLink* > &arrMap = *this; for( INT i = 0; i < arrMap.GetCount(); i++ ) { CLgUIMapObjectWnd *pMap = *arrMap[i]; ASSERT( pMap ); pMap->RedrawObject( this ); } return TRUE; }