Old fashion design for PC-104
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

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //----------------------------------------------------------------------------
  2. // Laser Guard Ltd.
  3. // Copyright � 2000-2002. All Rights Reserved.
  4. // Version 1.0 01/01/2000
  5. // Last modification: 08/10/2003
  6. // PROJECT:
  7. // SUBSYSTEM:
  8. // FILE: LgUIMapObject.cpp
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Source file of LgUIMapObject.cpp
  13. //----------------------------------------------------------------------------
  14. #include "stdafx.h"
  15. #include "..\Version.h"
  16. #include "LgUIMapObject.h"
  17. #include "LgUIMapObjectWnd.h"
  18. CLgUIMapObject::CLgUIMapObject()
  19. {
  20. // log info
  21. LGLOG( LOG_LEVEL_MEDIUM, LOG_TYPE_INFO, this, "CLgUIMapObject::CLgUIMapObject" );
  22. }
  23. CLgUIMapObject::~CLgUIMapObject()
  24. {
  25. CLgLinkP<CLgUIMapObject,CLgUIMapObjectWnd>::Unlink();
  26. // log info
  27. LGLOG( LOG_LEVEL_MEDIUM, LOG_TYPE_INFO, this, "CLgUIMapObject::~CLgUIMapObject" );
  28. }
  29. BOOL CLgUIMapObject::RedrawUIMapObject()
  30. {
  31. CLgArray< CLgLink<CLgUIMapObjectWnd,CLgUIMapObject>* > &arrMap = *this;
  32. for( INT i = 0; i < arrMap.GetCount(); i++ )
  33. {
  34. CLgUIMapObjectWnd *pMap = *arrMap[i];
  35. ASSERT( pMap );
  36. pMap->RedrawObject( this );
  37. }
  38. return TRUE;
  39. }