// VectorDoc.h : interface of the CVectorDoc class // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_VECTORDOC_H__09E1E1BD_1840_11D3_80D4_00105A07EA1C__INCLUDED_) #define AFX_VECTORDOC_H__09E1E1BD_1840_11D3_80D4_00105A07EA1C__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include "MyCon.h" class CVectorDoc : public CDocument { protected: // create from serialization only CVectorDoc(); DECLARE_DYNCREATE(CVectorDoc) // Attributes public: LMyVectorWindow *m_pVectorWindow; L_INT m_nViewMode; L_INT m_nBindVerticesMode; HWND m_hWndView; L_BOOL m_bZoomOut; L_BOOL m_bSelectedOnly; L_BOOL m_bAutoScroll; L_UINT32 m_dwVectorEngineFlags; L_INT m_VectorEngine; // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CVectorDoc) public: virtual BOOL OnOpenDocument(LPCTSTR lpszPathName); virtual BOOL OnSaveDocument(LPCTSTR lpszPathName); virtual BOOL OnNewDocument(); virtual void OnCloseDocument(); protected: virtual BOOL SaveModified(); //}}AFX_VIRTUAL // Implementation public: MyContainer m_Container; VECTORPOINT m_MaxPoint; VECTORPOINT m_MinPoint; virtual ~CVectorDoc(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: //{{AFX_MSG(CVectorDoc) afx_msg void OnImageTransformationlevelAllobjects(); afx_msg void OnUpdateImageTransformationlevelAllobjects(CCmdUI* pCmdUI); afx_msg void OnImageTransformationlevelSelectedobjects(); afx_msg void OnUpdateImageTransformationlevelSelectedobjects(CCmdUI* pCmdUI); afx_msg void OnFileSaveAs(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_VECTORDOC_H__09E1E1BD_1840_11D3_80D4_00105A07EA1C__INCLUDED_)