www.pudn.com > GPS ToolKit Pro.rar > SatPicture.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 // #includeusing namespace std; #define CIRCLECOLOR RGB(0x88, 0x88, 0x88) #define FIXSATCOLOR RGB(0x00, 0xC0, 0x00) #define SATINVIEWCOLOR RGB(0xAA, 0xAA, 0xAA) #define SATTEXTCOLOR RGB(0xFF, 0xFF, 0xFF) ///////////////////////////////////////////////////////////////////////////// // CSatPicture window class CSatPicture : public CStatic { // Construction public: CSatPicture(); // Attributes public: // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CSatPicture) //}}AFX_VIRTUAL // Implementation public: virtual ~CSatPicture(); void DrawSatellites(vector &vecFixSatellitePRNs, vector &vecSatelliteInViewPRNs, vector &vecAz, vector &vecEl); // Generated message map functions protected: //{{AFX_MSG(CSatPicture) afx_msg void OnPaint(); //}}AFX_MSG DECLARE_MESSAGE_MAP() long m_outerCircleRadius; RECT m_outerCircle, m_innerCircle, m_tinyCircle, m_clientRect; vector m_vecFixSatellitePRNs, m_vecSatelliteInViewPRNs, m_vecAz, m_vecEl; 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_)