// RGSMRKView.h : interface of the CRGSMRKView class // ///////////////////////////////////////////////////////////////////////////// //{{AFX_INCLUDES() #include "leadrasterview.h" //}}AFX_INCLUDES #if !defined(AFX_RGSMRKVIEW_H__B071F21C_A4FA_43B3_B8BC_BF2189EC17E3__INCLUDED_) #define AFX_RGSMRKVIEW_H__B071F21C_A4FA_43B3_B8BC_BF2189EC17E3__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 class CRGSMRKView : public CFormView { protected: // create from serialization only CRGSMRKView(); DECLARE_DYNCREATE(CRGSMRKView) public: //{{AFX_DATA(CRGSMRKView) enum { IDD = IDD_RGSMRK_FORM }; CLEADRasterView m_RasterView; //}}AFX_DATA private : CRegMarkDlg * m_pRegMarkDlg; public: CRGSMRKDoc* GetDocument(); void SetRegionTool(int nRegionTool); void RestoreBackground(); void SaveBackground(); CRegMarkDlg * GetRegMarkDlg(); void SetRegMarkDlg(); BOOL AddData(); long ReadLine(CFile *pFile); // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CRGSMRKView) public: virtual BOOL PreCreateWindow(CREATESTRUCT& cs); protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support virtual void OnInitialUpdate(); // called first time after construct virtual void OnDraw(CDC* pDC); //}}AFX_VIRTUAL // Implementation public: virtual ~CRGSMRKView(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: //{{AFX_MSG(CRGSMRKView) afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg void OnDestroy(); afx_msg void OnImageNewRefData(); afx_msg void OnLeadRasterViewMouseDown(short Button, short Shift, float x, float y); afx_msg void OnLeadRasterViewMouseUp(short Button, short Shift, float x, float y); afx_msg void OnCancelrgn(); afx_msg void OnLeadRasterViewMouseMove(short Button, short Shift, float x, float y); afx_msg void OnUpdateEditCancelrgn(CCmdUI* pCmdUI); afx_msg void OnEditCopy(); afx_msg void OnUpdateEditPaste(CCmdUI* pCmdUI); afx_msg void OnImageDetcData(); afx_msg void OnUpdateImageDetcData(CCmdUI* pCmdUI); afx_msg void OnImageCompData(); afx_msg void OnUpdateImageCompData(CCmdUI* pCmdUI); afx_msg void OnImageApplyTrans(); afx_msg void OnUpdateImageApplyTrans(CCmdUI* pCmdUI); afx_msg void OnRefdataSave(); afx_msg void OnUpdateRefdataSave(CCmdUI* pCmdUI); afx_msg void OnRefdataLoad(); afx_msg void OnUpdateRefdataLoad(CCmdUI* pCmdUI); afx_msg void OnFileSave(); afx_msg void OnUpdateFileOpen(CCmdUI* pCmdUI); afx_msg void OnUpdateFileSave(CCmdUI* pCmdUI); afx_msg void OnUpdateFileClose(CCmdUI* pCmdUI); afx_msg void OnUpdateAppExit(CCmdUI* pCmdUI); afx_msg void OnUpdateEditCopy(CCmdUI* pCmdUI); afx_msg void OnUpdateImageRefData(CCmdUI* pCmdUI); afx_msg void OnUpdateWindowNew(CCmdUI* pCmdUI); afx_msg void OnUpdateWindowCascade(CCmdUI* pCmdUI); afx_msg void OnUpdateWindowTileHorz(CCmdUI* pCmdUI); afx_msg void OnUpdateWindowArrange(CCmdUI* pCmdUI); afx_msg void OnEditImageInverse(); afx_msg void OnUpdateEditImageinverse(CCmdUI* pCmdUI); DECLARE_EVENTSINK_MAP() //}}AFX_MSG DECLARE_MESSAGE_MAP() }; #ifndef _DEBUG // debug version in RGSMRKView.cpp inline CRGSMRKDoc* CRGSMRKView::GetDocument() { return (CRGSMRKDoc*)m_pDocument; } #endif ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_RGSMRKVIEW_H__B071F21C_A4FA_43B3_B8BC_BF2189EC17E3__INCLUDED_)