68 lines
1.7 KiB
C++
Executable File
68 lines
1.7 KiB
C++
Executable File
// GPSMainDlg.h : header file
|
|
//
|
|
#include "BmpTxtButton.h"
|
|
#include "SysSettingDlg.h"
|
|
|
|
#if !defined(AFX_GPSMAINDLG_H__0CFCC295_6DFF_4F09_92E5_F1CCDAFC8507__INCLUDED_)
|
|
#define AFX_GPSMAINDLG_H__0CFCC295_6DFF_4F09_92E5_F1CCDAFC8507__INCLUDED_
|
|
|
|
#if _MSC_VER >= 1000
|
|
#pragma once
|
|
#endif // _MSC_VER >= 1000
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CGPSMainDlg dialog
|
|
|
|
class CGPSMainDlg : public CDialog
|
|
{
|
|
private:
|
|
CDC m_BgDC;
|
|
CString m_DateTime;
|
|
CDC m_MemDC;
|
|
CBitmap m_BgBmp;
|
|
CFont m_txtFont;
|
|
bool m_InitDC;
|
|
// Construction
|
|
public:
|
|
void SetButtonTitle(void);
|
|
CGPSMainDlg(CWnd* pParent = NULL); // standard constructor
|
|
~CGPSMainDlg();
|
|
// Dialog Data
|
|
//{{AFX_DATA(CGPSMainDlg)
|
|
enum { IDD = IDD_GPSMAIN_DIALOG };
|
|
CBmpTxtButton m_butVideo;
|
|
CBmpTxtButton m_butSet;
|
|
CBmpTxtButton m_butNavigation;
|
|
CBmpTxtButton m_butMusic;
|
|
CBmpTxtButton m_butImage;
|
|
CBmpTxtButton m_butEBoot;
|
|
//}}AFX_DATA
|
|
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CGPSMainDlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
HICON m_hIcon;
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CGPSMainDlg)
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnButtonSet();
|
|
afx_msg void OnButtonEbook();
|
|
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
|
|
afx_msg void OnPaint();
|
|
afx_msg void OnTimer(UINT nIDEvent);
|
|
afx_msg void OnButtonMusic();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_GPSMAINDLG_H__0CFCC295_6DFF_4F09_92E5_F1CCDAFC8507__INCLUDED_)
|