//---------------------------------------------------------------------------- // Laser Guard Ltd. // Copyright © 2000-2002. All Rights Reserved. // Version 1.0 01/01/2000 // Last modification: 08/10/2003 // PROJECT: // SUBSYSTEM: // FILE: ViewOptionsDlg.h // AUTHOR: Sergey Chizhevskiy // OVERVIEW // ~~~~~~~~ // Header file of ViewOptionsDlg.h //---------------------------------------------------------------------------- #if !defined(AFX_VIEWOPTIONSDLG_H__3736F704_9066_11D4_A1F0_0010B55CB330__INCLUDED_) #define AFX_VIEWOPTIONSDLG_H__3736F704_9066_11D4_A1F0_0010B55CB330__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // ViewOptionsDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // CViewOptionsDlg dialog class CViewOptionsDlg : public CDialog { // Construction public: double GetZoomFactor() { return m_ZoomFactor; } void SetZoomFactor( double zf ) { m_nZoomFactor = (int)zf; } CViewOptionsDlg(CWnd* pParent = NULL); // standard constructor // Dialog Data //{{AFX_DATA(CViewOptionsDlg) enum { IDD = IDD_VIEWOPTIONS_DLG }; CSpinButtonCtrl m_spinZoomFactor; int m_nZoomFactor; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CViewOptionsDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CViewOptionsDlg) virtual void OnOK(); virtual BOOL OnInitDialog(); //}}AFX_MSG DECLARE_MESSAGE_MAP() private: double m_ZoomFactor; }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_VIEWOPTIONSDLG_H__3736F704_9066_11D4_A1F0_0010B55CB330__INCLUDED_)