-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathSelectNewGameDialog.h
More file actions
40 lines (33 loc) · 994 Bytes
/
SelectNewGameDialog.h
File metadata and controls
40 lines (33 loc) · 994 Bytes
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
#pragma once
#include "afxwin.h"
#include <vector>
#include <map>
// äèàëîãîâîå îêíî CSelectNewGameDialog
class CSelectNewGameDialog : public CDialog
{
DECLARE_DYNAMIC(CSelectNewGameDialog)
public:
CSelectNewGameDialog(CString& selGameFile,
CString& selName,
bool& selLastGame,
CWnd* pParent = NULL); // ñòàíäàðòíûé êîíñòðóêòîð
BOOL OnInitDialog();
virtual ~CSelectNewGameDialog();
// Äàííûå äèàëîãîâîãî îêíà
enum { IDD = IDD_DIALOG_NEW_GAME };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // ïîääåðæêà DDX/DDV
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnSize(UINT nType, int cx, int cy);
CListBox m_ListGames;
CEdit m_GamesDescr;
std::vector< std::pair<CString/*file name*/, CString/*file description*/> > fileNameDescr;
afx_msg void OnLbnSelchangeListGames();
afx_msg void OnBnClickedOk();
CString& m_selGameFile;
CString& m_selName;
bool& m_bSelectLastGame;
CString baseDir;
afx_msg void OnBnClickedButtonStartLastGame();
};