?? gpsview.h
字號:
// gpsView.h : interface of the CGpsView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_GPSVIEW_H__C7DE7BC2_C2A4_494E_B9C8_0DF8A206F034__INCLUDED_)
#define AFX_GPSVIEW_H__C7DE7BC2_C2A4_494E_B9C8_0DF8A206F034__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif
#include "scapi.h"
#define GPSTimer 1
#define GPS_INTERVAL 3000 //3 seconds
////////////
#define CURSOR_ME_CX 13
#define CURSOR_ME_CY 13
#define INIT_HOLES 18
#define SMGUI_MASKCOLOR 0x800080
#define HAN_WANG_CENTER_LON 11629377
#define HAN_WANG_CENTER_LAT 4004259
#define HAN_WANG_CENTER_LONGITUDE 116396334
#define HAN_WANG_CENTER_LATITUDE 39895518
#define ME_ICON_PATH L"\\Storage Card\\GolfMate\\Me2Cursor.bmp"
#define APP_DIR L"\\Storage Card\\GolfMate\\"
#define WORK_DIR L"\\Storage Card\\GolfMate\\"
#define MAP_DIR L"\\Storage Card\\GolfMate\\DB\\Maps\\"
#define GEODATA_DIR "\\Storage Card\\GolfMate\\DB\\Golfdata\\"
////////////
class CGpsView : public CView, ScApObserver
{
protected: // create from serialization only
CGpsView();
DECLARE_DYNCREATE(CGpsView)
// Attributes
public:
UINT m_nGpsTimer;
ScInt gs_m_ScaleValue;
int m_GpsStatus;
CGpsDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CGpsView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CGpsView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CGpsView)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in gpsView.cpp
inline CGpsDoc* CGpsView::GetDocument()
{ return (CGpsDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_GPSVIEW_H__C7DE7BC2_C2A4_494E_B9C8_0DF8A206F034__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -