www.pudn.com > GpsSimulation.rar > RyxGpsView.h


// RyxGpsView.h : interface of the CRyxGpsView class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_RYXGPSVIEW_H__DA5E73CD_86D8_11D7_80DF_000021E3C617__INCLUDED_) 
#define AFX_RYXGPSVIEW_H__DA5E73CD_86D8_11D7_80DF_000021E3C617__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
#include "RyxGpsDoc.h" 
 
class CRyxGpsView : public CView 
{ 
protected: // create from serialization only 
	CRyxGpsView(); 
	DECLARE_DYNCREATE(CRyxGpsView) 
 
// Attributes 
public: 
	CRyxGpsDoc* GetDocument(); 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CRyxGpsView) 
	public: 
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	virtual void OnInitialUpdate(); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	void DrawPlanet(int iIndex,int alpah,int sita,CDC *pDC); 
	POINT ConvertToLogic(int alpah,int sita); 
	void DrawAxis(CDC* pDC); 
	virtual ~CRyxGpsView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
	FILE*	m_pFile; 
	BOOL	m_bRunning; 
	CBrush  m_NullBrush; 
	CBrush  m_BkBrush; 
	CPen    m_penWhite; 
	CPen    m_penYellow; 
	CPen    m_penRed; 
 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CRyxGpsView) 
	afx_msg void OnStart(); 
	afx_msg void OnUpdateStart(CCmdUI* pCmdUI); 
	afx_msg void OnEnd(); 
	afx_msg void OnUpdateEnd(CCmdUI* pCmdUI); 
	afx_msg void OnTimer(UINT nIDEvent); 
	afx_msg void OnDestroy(); 
	afx_msg BOOL OnEraseBkgnd(CDC* pDC); 
	afx_msg void OnMouseMove(UINT nFlags, CPoint point); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
#ifndef _DEBUG  // debug version in RyxGpsView.cpp 
inline CRyxGpsDoc* CRyxGpsView::GetDocument() 
   { return (CRyxGpsDoc*)m_pDocument; } 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_RYXGPSVIEW_H__DA5E73CD_86D8_11D7_80DF_000021E3C617__INCLUDED_)