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

📄 satpicture.h

📁 Read nmea file and send to com port. you can easly simulate the gps application
💻 H
字号:
#if !defined(AFX_SATPICTURE_H__8DEA44E1_E80B_4583_9373_26694AC3391F__INCLUDED_)
#define AFX_SATPICTURE_H__8DEA44E1_E80B_4583_9373_26694AC3391F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SatPicture.h : header file
//

#include "Parser.h"

#define CIRCLECOLOR			RGB(0x88, 0x88, 0x88)
#define FIXSATCOLOR			RGB(0x00, 0x00, 0xC0)
#define SATINVIEWCOLOR		RGB(0x00, 0xC0, 0x00)
#define SATNOSNR			RGB(0x80, 0x80, 0x80)
#define SATTEXTCOLOR		RGB(0xFF, 0xFF, 0xFF)
/////////////////////////////////////////////////////////////////////////////
// CSatPicture window

class CSatPicture : public CStatic
{
// Construction
public:
	CSatPicture();
	void DrawCircle(CPaintDC *dc, int x, int y, int mode);

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSatPicture)
	public:
	virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CSatPicture();
	void DrawSatellites(CNPSatInfo satInfo[]);

	// Generated message map functions
protected:
	//{{AFX_MSG(CSatPicture)
	afx_msg void OnPaint();
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()

	long m_outerCircleRadius;
	RECT m_outerCircle, m_innerCircle, m_tinyCircle, m_clientRect;
	WORD m_vecFixSatellitePRNs[12], m_vecSatelliteInViewPRNs[12], m_vecAz[12], m_vecEl[12], m_vecSNR[12];
	bool m_bParamsCaluclated;
};


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

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

#endif // !defined(AFX_SATPICTURE_H__8DEA44E1_E80B_4583_9373_26694AC3391F__INCLUDED_)

⌨️ 快捷键说明

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