bsView.h
资源名称:图像处理毕业设计.rar [点击查看]
上传用户:yuzhuan
上传日期:2013-03-16
资源大小:3596k
文件大小:2k
源码类别:
2D图形编程
开发平台:
Visual C++
- // bsView.h : interface of the CBsView class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_BSVIEW_H__D1CE24A2_20C7_43F8_BAB6_C7B9A279EBA6__INCLUDED_)
- #define AFX_BSVIEW_H__D1CE24A2_20C7_43F8_BAB6_C7B9A279EBA6__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "Dib.h"
- class CBsView :public CView
- {
- protected: // create from serialization only
- CBsView();
- DECLARE_DYNCREATE(CBsView)
- // Attributes
- public:
- CBsDoc* GetDocument();
- void Sub(BYTE *p_data,BYTE *p_dataBK,int wide,int height,DWORD size);
- // void Sub(LPBYTE p_data, LPBYTE p_dataBK,int wide,int height,int bitcount);
- void mid(CDib *dib,int n);
- CDib dib1;
- CDib dib2;
- CDib *dib;
- CString FilePathname2;
- CString FilePathname1;
- CString FileName2;
- CString FileName1;
- BOOL valid;
- BYTE *FilePath;
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CBsView)
- public:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- protected:
- virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
- virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CBsView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CBsView)
- afx_msg void OnOperate();
- afx_msg void OnFileOpenb();
- afx_msg void OnFileOpeno();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #ifndef _DEBUG // debug version in bsView.cpp
- inline CBsDoc* CBsView::GetDocument()
- { return (CBsDoc*)m_pDocument; }
- #endif
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_BSVIEW_H__D1CE24A2_20C7_43F8_BAB6_C7B9A279EBA6__INCLUDED_)