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.

44 lines
1.0 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: SurfaceCLD.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of SurfaceCLD.h
  13. //----------------------------------------------------------------------------
  14. #ifndef __SURFACE__CLD__H__INCLUDED__
  15. #define __SURFACE__CLD__H__INCLUDED__
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif // _MSC_VER > 1000
  19. #include "..\..\LgLib\MFC\MemoryDC.h"
  20. class CSurfaceCLD : public CLgMemoryDC
  21. {
  22. public:
  23. CSurfaceCLD();
  24. virtual ~CSurfaceCLD();
  25. public:
  26. virtual void Create( int cx, int cy, COLORREF color = RGB(0,0,0) );
  27. void SetCommonZero( double dCommonZero );
  28. void SetRange( double dRange );
  29. public:
  30. void DrawTarget( double range, COLORREF color );
  31. private:
  32. double m_dRange;
  33. double m_dScale;
  34. double m_dDR;
  35. double m_dCommonZero;
  36. };
  37. #endif