www.pudn.com > Image_Manage.rar > Image_ManageView.h
// Image_ManageView.h : interface of the CImage_ManageView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_IMAGE_MANAGEVIEW_H__58D07E71_883E_455F_8AA9_26E5A2C382A6__INCLUDED_)
#define AFX_IMAGE_MANAGEVIEW_H__58D07E71_883E_455F_8AA9_26E5A2C382A6__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CImage_ManageView : public CScrollView
{
protected: // create from serialization only
CImage_ManageView();
DECLARE_DYNCREATE(CImage_ManageView)
// Attributes
public:
CImage_ManageDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CImage_ManageView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void OnInitialUpdate(); // called first time after construct
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void CalcWindowRect(LPRECT lpClientRect, UINT nAdjustType = adjustBorder);
virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView);
//}}AFX_VIRTUAL
// Implementation
public:
void DoSmooth(int iTempH, int iTempW, int iTempMX, int iTempMY, FLOAT *fpArray, FLOAT fCoef);
virtual ~CImage_ManageView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CImage_ManageView)
afx_msg LRESULT OnDoRealize(WPARAM wParam, LPARAM lParam); // user message
afx_msg void OnSmoothA();
afx_msg void OnSmoothG();
afx_msg void OnSmoothS();
afx_msg void OnEditCopy();
afx_msg void OnUpdateEditCopy(CCmdUI* pCmdUI);
afx_msg void OnEditPaste();
afx_msg void OnUpdateEditPaste(CCmdUI* pCmdUI);
afx_msg void OnEditUndo();
afx_msg void OnUpdateEditUndo(CCmdUI* pCmdUI);
afx_msg void OnSharpG();
afx_msg void OnSharpL();
afx_msg void OnMidiamF();
afx_msg void OnEdgeGauss();
afx_msg void OnEdgeKirsch();
afx_msg void OnEdgePrewitt();
afx_msg void OnEdgeRobert();
afx_msg void OnEdgeSobel();
afx_msg void OnTransGray();
afx_msg void OnGrayHist();
afx_msg void OnGrayGrid();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in Image_ManageView.cpp
inline CImage_ManageDoc* CImage_ManageView::GetDocument()
{ return (CImage_ManageDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_IMAGE_MANAGEVIEW_H__58D07E71_883E_455F_8AA9_26E5A2C382A6__INCLUDED_)