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.

73 lines
1.9 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: ViewOptionsDlg.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of ViewOptionsDlg.h
  13. //----------------------------------------------------------------------------
  14. #if !defined(AFX_VIEWOPTIONSDLG_H__3736F704_9066_11D4_A1F0_0010B55CB330__INCLUDED_)
  15. #define AFX_VIEWOPTIONSDLG_H__3736F704_9066_11D4_A1F0_0010B55CB330__INCLUDED_
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif // _MSC_VER > 1000
  19. // ViewOptionsDlg.h : header file
  20. //
  21. /////////////////////////////////////////////////////////////////////////////
  22. // CViewOptionsDlg dialog
  23. class CViewOptionsDlg : public CDialog
  24. {
  25. // Construction
  26. public:
  27. double GetZoomFactor()
  28. {
  29. return m_ZoomFactor;
  30. }
  31. void SetZoomFactor( double zf )
  32. {
  33. m_nZoomFactor = (int)zf;
  34. }
  35. CViewOptionsDlg(CWnd* pParent = NULL); // standard constructor
  36. // Dialog Data
  37. //{{AFX_DATA(CViewOptionsDlg)
  38. enum { IDD = IDD_VIEWOPTIONS_DLG };
  39. CSpinButtonCtrl m_spinZoomFactor;
  40. int m_nZoomFactor;
  41. //}}AFX_DATA
  42. // Overrides
  43. // ClassWizard generated virtual function overrides
  44. //{{AFX_VIRTUAL(CViewOptionsDlg)
  45. protected:
  46. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  47. //}}AFX_VIRTUAL
  48. // Implementation
  49. protected:
  50. // Generated message map functions
  51. //{{AFX_MSG(CViewOptionsDlg)
  52. virtual void OnOK();
  53. virtual BOOL OnInitDialog();
  54. //}}AFX_MSG
  55. DECLARE_MESSAGE_MAP()
  56. private:
  57. double m_ZoomFactor;
  58. };
  59. //{{AFX_INSERT_LOCATION}}
  60. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  61. #endif // !defined(AFX_VIEWOPTIONSDLG_H__3736F704_9066_11D4_A1F0_0010B55CB330__INCLUDED_)