-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWalkingManDlg.h
48 lines (38 loc) · 979 Bytes
/
WalkingManDlg.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
39
40
41
42
43
44
45
46
47
48
// WalkingManDlg.h : header file
//
#pragma once
#include "Light.h"
#define GRID_NUM 16
// CWalkingManDlg dialog
class CWalkingManDlg : public CDialogEx
{
// Construction
public:
CWalkingManDlg(CWnd* pParent = nullptr); // standard constructor
// Dialog Data
#ifdef AFX_DESIGN_TIME
enum { IDD = IDD_WALKINGMAN_DIALOG };
#endif
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
DECLARE_MESSAGE_MAP()
public:
CLight m_light1;
CStatic m_static[GRID_NUM][GRID_NUM];
CLight m_light[GRID_NUM][GRID_NUM];
BOOL m_bOn[GRID_NUM][GRID_NUM];
void SetLight ();
afx_msg void OnStnClickedStaticLight1 ();
CComboBox m_comboPage;
afx_msg void OnCbnSelchangeComboPage ();
int m_iPage;
afx_msg void OnTimer (UINT_PTR nIDEvent);
afx_msg void OnBnClickedButtonStart ();
};