www.pudn.com > black_and_white.rar > black_and_whiteView.h, change:2005-01-26,size:2009b


// black_and_whiteView.h : interface of the CBlack_and_whiteView class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_BLACK_AND_WHITEVIEW_H__F4D93456_7217_41EB_827F_38E52B1643DB__INCLUDED_) 
#define AFX_BLACK_AND_WHITEVIEW_H__F4D93456_7217_41EB_827F_38E52B1643DB__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
 
class CBlack_and_whiteView : public CView 
{ 
protected: // create from serialization only 
	CBlack_and_whiteView(); 
	DECLARE_DYNCREATE(CBlack_and_whiteView) 
 
// Attributes 
public: 
	CBlack_and_whiteDoc* GetDocument(); 
    
// Operations 
public: 
    CBrush blueb,greenb;; 
	BOOL pos[9],first; 
	int count_step; 
	BOOL start_flag; 
	int x_3d,y_3d; 
     
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CBlack_and_whiteView) 
	public: 
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
 
	virtual ~CBlack_and_whiteView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CBlack_and_whiteView) 
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point); 
	afx_msg void OnNew(); 
	afx_msg void OnMouseMove(UINT nFlags, CPoint point); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
#ifndef _DEBUG  // debug version in black_and_whiteView.cpp 
inline CBlack_and_whiteDoc* CBlack_and_whiteView::GetDocument() 
   { return (CBlack_and_whiteDoc*)m_pDocument; } 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_BLACK_AND_WHITEVIEW_H__F4D93456_7217_41EB_827F_38E52B1643DB__INCLUDED_)