-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCPauseDlg.h
38 lines (32 loc) · 836 Bytes
/
CPauseDlg.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#pragma once
#include "CStaticEX.h"
// CPauseDlg 对话框
class CPauseDlg : public CDialogEx
{
DECLARE_DYNAMIC(CPauseDlg)
public:
CPauseDlg(int score, bool* exit, CWnd* pParent = nullptr);
virtual ~CPauseDlg();
#ifdef AFX_DESIGN_TIME
enum { IDD = IDD_PAUSE_DIALOG };
#endif
protected:
virtual void DoDataExchange(CDataExchange* pDX);
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedBackButton();
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnStnClickedBackStatic();
afx_msg void OnStnClickedExitStatic();
afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
virtual BOOL PreTranslateMessage(MSG* pMsg);
private:
bool* _Exit;
int _Score;
CFont _font;
CStatic _OverGame;
CStaticEX _Back_Button;
CStaticEX _Exit_Button;
};