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.

64 lines
1.7 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: ScaleDlg.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of ScaleDlg.h
  13. //----------------------------------------------------------------------------
  14. #if !defined(AFX_SCALEDLG_H__29F6F1B9_4AD4_4910_9E5B_BCB1E9A1BCFD__INCLUDED_)
  15. #define AFX_SCALEDLG_H__29F6F1B9_4AD4_4910_9E5B_BCB1E9A1BCFD__INCLUDED_
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif // _MSC_VER > 1000
  19. // ScaleDlg.h : header file
  20. //
  21. /////////////////////////////////////////////////////////////////////////////
  22. // CScaleDlg dialog
  23. class CScaleDlg : public CDialog
  24. {
  25. // Construction
  26. public:
  27. CScaleDlg(CWnd* pParent = NULL); // standard constructor
  28. // Dialog Data
  29. //{{AFX_DATA(CScaleDlg)
  30. enum { IDD = IDD_SCALE_DLG };
  31. int m_nSystem;
  32. double m_dDistance;
  33. //}}AFX_DATA
  34. // Overrides
  35. // ClassWizard generated virtual function overrides
  36. //{{AFX_VIRTUAL(CScaleDlg)
  37. protected:
  38. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  39. //}}AFX_VIRTUAL
  40. // Implementation
  41. protected:
  42. // Generated message map functions
  43. //{{AFX_MSG(CScaleDlg)
  44. afx_msg void OnRadioMetricSystem();
  45. //}}AFX_MSG
  46. DECLARE_MESSAGE_MAP()
  47. public:
  48. void SetDistance( double dDistance ) { m_dDistance = dDistance; }
  49. double GetDistance();
  50. };
  51. //{{AFX_INSERT_LOCATION}}
  52. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  53. #endif // !defined(AFX_SCALEDLG_H__29F6F1B9_4AD4_4910_9E5B_BCB1E9A1BCFD__INCLUDED_)