www.pudn.com > Mandelbrotandjuliashengcheng.rar > MandelbrotView.h


// MandelbrotView.h : interface of the CMandelbrotView class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_MANDELBROTVIEW_H__BFC81ACF_42B0_4ED0_B1FA_DC6DDDC1D77A__INCLUDED_) 
#define AFX_MANDELBROTVIEW_H__BFC81ACF_42B0_4ED0_B1FA_DC6DDDC1D77A__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
 
class CMandelbrotView : public CView 
{ 
protected: // create from serialization only 
	CMandelbrotView(); 
	DECLARE_DYNCREATE(CMandelbrotView) 
 
// Attributes 
public: 
	CMandelbrotDoc* GetDocument(); 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CMandelbrotView) 
	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: 
	void OnJulia4(CDC *CDC); 
	void OnMandelbrot4(CDC *CDC); 
	void OnJulia3(CDC *CDC); 
	void OnMandelbrot3(CDC *CDC); 
	void OnJulia(CDC *CDC); 
	void OnMandelbrot(CDC *CDC); 
	virtual ~CMandelbrotView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CMandelbrotView) 
		// NOTE - the ClassWizard will add and remove member functions here. 
		//    DO NOT EDIT what you see in these blocks of generated code ! 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
#ifndef _DEBUG  // debug version in MandelbrotView.cpp 
inline CMandelbrotDoc* CMandelbrotView::GetDocument() 
   { return (CMandelbrotDoc*)m_pDocument; } 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_MANDELBROTVIEW_H__BFC81ACF_42B0_4ED0_B1FA_DC6DDDC1D77A__INCLUDED_)