// VectorView.h : interface of the CVectorView class // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_VECTORVIEW_H__09E1E1BF_1840_11D3_80D4_00105A07EA1C__INCLUDED_) #define AFX_VECTORVIEW_H__09E1E1BF_1840_11D3_80D4_00105A07EA1C__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 extern CVectorApp theApp; #define ID_TIMER (1) class CVectorView : public CView { protected: // create from serialization only CVectorView(); DECLARE_DYNCREATE(CVectorView) // Attributes public: CVectorDoc* GetDocument(); // Operations public: void FileConvert( L_BOOL ); // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CVectorView) protected: virtual BOOL OnPreparePrinting(CPrintInfo* pInfo); virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo); virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo); virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView); virtual void OnDraw(CDC* pDC); //}}AFX_VIRTUAL // Implementation public: L_VOID LowLevelPrint(); virtual ~CVectorView(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif // Generated message map functions protected: //{{AFX_MSG(CVectorView) afx_msg void OnToolsRotate(); afx_msg void OnToolsScale(); afx_msg void OnToolsTranslate(); afx_msg void OnToolsCamera(); afx_msg void OnToolsBindingBindvertices(); afx_msg void OnToolsBindingUnbindvertices(); afx_msg void OnToolsBackcolor(); afx_msg void OnToolsViewmodeFit(); afx_msg void OnToolsViewmodeSnap(); afx_msg void OnUpdateToolsBindingBindvertices(CCmdUI* pCmdUI); afx_msg void OnUpdateToolsBindingUnbindvertices(CCmdUI* pCmdUI); afx_msg void OnUpdateToolsViewmodeFit(CCmdUI* pCmdUI); afx_msg void OnUpdateToolsViewmodeSnap(CCmdUI* pCmdUI); afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg void OnTimer(UINT nIDEvent); afx_msg void OnEditSelectall(); afx_msg void OnEditUnselectall(); afx_msg void OnEditDelete(); afx_msg void OnToolNone(); afx_msg void OnToolPanimage(); afx_msg void OnToolSelect(); afx_msg void OnUpdateToolNone(CCmdUI* pCmdUI); afx_msg void OnUpdateToolPanimage(CCmdUI* pCmdUI); afx_msg void OnUpdateToolSelect(CCmdUI* pCmdUI); afx_msg void OnToolRotate(); afx_msg void OnUpdateToolRotate(CCmdUI* pCmdUI); afx_msg void OnPreferencesEnablescrollbars(); afx_msg void OnUpdatePreferencesEnablescrollbars(CCmdUI* pCmdUI); afx_msg void OnLayerEdit(); afx_msg void OnObjectProperties(); afx_msg void OnUpdateObjectProperties(CCmdUI* pCmdUI); afx_msg void OnImageMode(); afx_msg void OnImageRender(); afx_msg void OnImageHittest(); afx_msg void OnSetFocus(CWnd* pOldWnd); afx_msg void OnFilePrint(); afx_msg void OnEditUndo(); afx_msg void OnUpdateEditUndo(CCmdUI* pCmdUI); afx_msg void OnEditRedo(); afx_msg void OnUpdateEditRedo(CCmdUI* pCmdUI); afx_msg void OnEditPasteObjects(); afx_msg void OnUpdateEditPasteObjects(CCmdUI* pCmdUI); afx_msg void OnEditPasteLayers(); afx_msg void OnUpdateEditPasteLayers(CCmdUI* pCmdUI); afx_msg int OnMouseActivate(CWnd* pDesktopWnd, UINT nHitTest, UINT message); afx_msg void OnMDIActivate(BOOL bActivate, CWnd* pActivateWnd, CWnd* pDeactivateWnd); afx_msg void OnEditCopy(); afx_msg void OnUpdateEditCopy(CCmdUI* pCmdUI); afx_msg void OnEditCut(); afx_msg void OnUpdateEditCut(CCmdUI* pCmdUI); afx_msg void OnUpdateEditDelete(CCmdUI* pCmdUI); afx_msg void OnImageExtent(); afx_msg void OnUpdateEditUnselectall(CCmdUI* pCmdUI); afx_msg void OnUpdateEditSelectall(CCmdUI* pCmdUI); afx_msg void OnObjectEdit(); afx_msg void OnUpdateObjectEdit(CCmdUI* pCmdUI); afx_msg void OnObjectExplode(); afx_msg void OnUpdateObjectExplode(CCmdUI* pCmdUI); afx_msg void OnGroupEdit(); afx_msg void OnGroupAddselectedobjectto(); afx_msg void OnUpdateGroupAddselectedobjectto(CCmdUI* pCmdUI); afx_msg void OnUpdateLayerEdit(CCmdUI* pCmdUI); afx_msg void OnUpdateGroupEdit(CCmdUI* pCmdUI); afx_msg void OnFileConvertfileEmf(); afx_msg void OnFileConvertfileWmf(); afx_msg void OnPreferencesInvertcolors(); afx_msg void OnPreferencesUsepalette(); afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags); //}}AFX_MSG afx_msg void OnObjectNew(UINT nID); afx_msg void OnUpdateObjectNew(CCmdUI* pCmdUI); afx_msg LRESULT OnHandlePalette(WPARAM wParam, LPARAM lParam); DECLARE_MESSAGE_MAP() }; #ifndef _DEBUG // debug version in VectorView.cpp inline CVectorDoc* CVectorView::GetDocument() { return (CVectorDoc*)m_pDocument; } #endif ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_VECTORVIEW_H__09E1E1BF_1840_11D3_80D4_00105A07EA1C__INCLUDED_)