www.pudn.com > bmpstudy.rar > exam7View.h


// exam7View.h : interface of the CExam7View class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_EXAM7VIEW_H__86C81D13_6CD9_45E6_9247_DE5B9F4EE16A__INCLUDED_) 
#define AFX_EXAM7VIEW_H__86C81D13_6CD9_45E6_9247_DE5B9F4EE16A__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
#include "dib.h" 
 
class CExam7View : public CView 
{ 
protected: // create from serialization only 
	CExam7View(); 
	DECLARE_DYNCREATE(CExam7View) 
 
// Attributes 
public: 
	CExam7Doc* GetDocument(); 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CExam7View) 
	public: 
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	protected: 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	void GetProbability(float *a); 
	int m_y; 
	int m_x; 
	double m_scale; 
	int ScaledHeight; 
	int ScaledWidth; 
	bool m_bGray; 
	CDib m_dib; 
 
	CPalette* CreateBitmapPalette(CDib* pBitmap); 
	CPalette* m_palette; 
	virtual ~CExam7View(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CExam7View) 
	afx_msg void OnLoad(); 
	afx_msg void OnTran(); 
	afx_msg void OnZft(); 
	afx_msg void OnErzhi(); 
	afx_msg void OnGray(); 
	afx_msg void OnUpdateZft(CCmdUI* pCmdUI); 
	afx_msg void OnUpdateGray(CCmdUI* pCmdUI); 
	afx_msg void OnUpdateErzhi(CCmdUI* pCmdUI); 
	afx_msg void OnMove(); 
	afx_msg void OnMirror(); 
	afx_msg void OnRotate(); 
	afx_msg void OnBigger(); 
	afx_msg void OnSmaller(); 
	afx_msg void OnGraylinetrans(); 
	afx_msg void OnZftpoise(); 
	afx_msg void OnAveragefilter(); 
	afx_msg void OnMidfilter(); 
	afx_msg void OnUpdateTran(CCmdUI* pCmdUI); 
	afx_msg void OnUpdateMove(CCmdUI* pCmdUI); 
	afx_msg void OnUpdateMirror(CCmdUI* pCmdUI); 
	afx_msg void OnUpdateRotate(CCmdUI* pCmdUI); 
	afx_msg void OnUpdateBigger(CCmdUI* pCmdUI); 
	afx_msg void OnUpdateSmaller(CCmdUI* pCmdUI); 
	afx_msg void OnUpdateGraylinetrans(CCmdUI* pCmdUI); 
	afx_msg void OnUpdateZftpoise(CCmdUI* pCmdUI); 
	afx_msg void OnUpdateAveragefilter(CCmdUI* pCmdUI); 
	afx_msg void OnUpdateMidfilter(CCmdUI* pCmdUI); 
	afx_msg void OnContrarycolor(); 
	afx_msg void OnUpdateContrarycolor(CCmdUI* pCmdUI); 
	afx_msg void OnHighfliter(); 
	afx_msg void OnRelievo(); 
	afx_msg void OnCanvas(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
#ifndef _DEBUG  // debug version in exam7View.cpp 
inline CExam7Doc* CExam7View::GetDocument() 
   { return (CExam7Doc*)m_pDocument; } 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_EXAM7VIEW_H__86C81D13_6CD9_45E6_9247_DE5B9F4EE16A__INCLUDED_)