ImageViewView.h
上传用户:alisonmail
上传日期:2013-02-28
资源大小:500k
文件大小:3k
- #if !defined(IMAGEVIEWVIEW_H__9AB61CEE_47C5_11D0_B717_00C0A83735D8__INCLUDED_)
- #define IMAGEVIEWVIEW_H__9AB61CEE_47C5_11D0_B717_00C0A83735D8__INCLUDED_
- // ImageViewView.h : interface of the CImageViewView class
- //
- /////////////////////////////////////////////////////////////////////////////
- #include "ImageObject.h"
- #include "ChildFrm.h"
- class CImageViewView : public CScrollView
- {
- protected: // create from serialization only
- CImageViewView();
- DECLARE_DYNCREATE(CImageViewView)
- // Attributes
- public:
- CImageViewDoc* GetDocument();
- CImageObject *m_pImageObject;
- BOOL m_bImageLoaded;
- BOOL m_bCropBoxShowing;
- CRectTracker *m_pTracker;
- void ResizeWindow( void );
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CImageViewView)
- 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
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CImageViewView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CImageViewView)
- afx_msg void OnSetFocus(CWnd* pOldWnd);
- afx_msg void OnOperationsShowcropbox();
- afx_msg void OnUpdateOperationsShowcropbox(CCmdUI* pCmdUI);
- afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
- afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
- afx_msg void OnOperationsCrop();
- afx_msg void OnOperationsStretch();
- afx_msg void OnOperationsFlip();
- afx_msg void OnOperationsInvert();
- afx_msg void OnOperationsRotate();
- afx_msg void OnOperationsSetpalettecreationtype();
- afx_msg void OnOperationsChangeimagecolordepth();
- afx_msg void OnPointprocessesChangebrightness();
- afx_msg void OnPointprocessesColorize();
- afx_msg void OnPointprocessesMakegray();
- afx_msg void OnPointprocessesReversecolors();
- afx_msg void OnPointprocessesViewhistogram();
- afx_msg void OnAreaprocessesChangecontract();
- afx_msg void OnAreaprocessesEdgeenhance();
- afx_msg void OnAreaprocessesEqualizecontrast();
- afx_msg void OnAreaprocessesHighpassfilter();
- afx_msg void OnAreaprocessesLowpassfilter();
- afx_msg void OnAreaprocessesMedianfilter();
- afx_msg void OnPointprocessesFft();
- afx_msg void OnPointprocessesIfft();
- afx_msg void OnPointprocessesDct();
- afx_msg void OnEdgedetect();
- afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
- afx_msg void OnReload();
- afx_msg void OnAddnoise();
- afx_msg void OnRiverExtract();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #ifndef _DEBUG // debug version in ImageViewView.cpp
- inline CImageViewDoc* CImageViewView::GetDocument()
- { return (CImageViewDoc*)m_pDocument; }
- #endif
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
- #endif // !defined(IMAGEVIEWVIEW_H__9AB61CEE_47C5_11D0_B717_00C0A83735D8__INCLUDED)