⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 playbackview.h

📁 GPS导航的源代码
💻 H
字号:
// PlaybackView.h : interface of the CPlaybackView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_PLAYBACKVIEW_H__3E789372_A507_47BB_AD8B_9B23AFC2DC88__INCLUDED_)
#define AFX_PLAYBACKVIEW_H__3E789372_A507_47BB_AD8B_9B23AFC2DC88__INCLUDED_

#include "MAPX.H"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define WM_VERTEX WM_USER+1

class CPlaybackView : public CView
{
protected: // create from serialization only
	CPlaybackView();
	DECLARE_DYNCREATE(CPlaybackView)

// Attributes
public:
	CPlaybackDoc* GetDocument();
	CMapXLayer Lyr;

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPlaybackView)
	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 AddRoad(char *strFile);
	void DrawLine(double x1,double y1,double x2,double y2);
	BOOL m_bIsFirstPoint;
	BOOL GetFilePath(char *FilePath,int len,const char *FileName);
	BOOL CreateWorkLayer();
	virtual ~CPlaybackView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CPlaybackView)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnMapOpen();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnMapPlayback();
	afx_msg void OnVertex(WPARAM wParam,LPARAM lParam);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CMapX m_mapx;
};

#ifndef _DEBUG  // debug version in PlaybackView.cpp
inline CPlaybackDoc* CPlaybackView::GetDocument()
   { return (CPlaybackDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PLAYBACKVIEW_H__3E789372_A507_47BB_AD8B_9B23AFC2DC88__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -