www.pudn.com > Daoli2.zip > DAOLI2View.h


// DAOLI2View.h : interface of the CDAOLI2View class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_DAOLI2VIEW_H__107FCEF1_45E0_11D5_BFB8_0080AD3A53F1__INCLUDED_) 
#define AFX_DAOLI2VIEW_H__107FCEF1_45E0_11D5_BFB8_0080AD3A53F1__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
 
class CDAOLI2View : public CView 
{ 
protected: // create from serialization only 
	CDAOLI2View(); 
	DECLARE_DYNCREATE(CDAOLI2View) 
 
// Attributes 
public: 
//	CDAOLI2Doc* GetDocument(); 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CDAOLI2View) 
	public: 
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view 
	protected: 
	virtual void OnInitialUpdate(); // called first time after construct 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	void GetcarF(); 
	bool bsettimer; 
	double dpaiAngle; 
	double dcarF; 
	int nCarx; 
	double dVpolespeed; 
	double dVpoleangle; 
	int poleLength; 
	bool bViewRules[11]; 
	CPen  blackPen,grayPen; 
	CBrush dkgrayBrush,blackBrush,ltgrayBrush; 
 
	virtual ~CDAOLI2View(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CDAOLI2View) 
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 
	afx_msg void OnTimer(UINT nIDEvent); 
	afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point); 
	afx_msg void OnPaint(); 
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//#ifndef _DEBUG  // debug version in DAOLI2View.cpp 
//inline CDAOLI2Doc* CDAOLI2View::GetDocument() 
//   { return (CDAOLI2Doc*)m_pDocument; } 
//#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_DAOLI2VIEW_H__107FCEF1_45E0_11D5_BFB8_0080AD3A53F1__INCLUDED_)