blob: 5064ebf24b483946c928484a458ee43b22be472a (
plain) (
blame)
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $Workfile: $
// $Date: $
//
//-----------------------------------------------------------------------------
// $Log: $
//
// $NoKeywords: $
//=============================================================================//
#ifndef EDITGAMECONFIGS_H
#define EDITGAMECONFIGS_H
#pragma once
#include "Options.h"
#include "Resource.h"
class CEditGameConfigs : public CDialog
{
// Construction
public:
CEditGameConfigs(BOOL bSelectOnly = FALSE,
CWnd* pParent = NULL); // standard constructor
CGameConfig *GetSelectedGame()
{ return m_pSelectedGame; } // get selected game config after dialog is run
// Dialog Data
//{{AFX_DATA(CEditGameConfigs)
enum { IDD = IDD_EDITGAMECONFIGS };
CListBox m_cConfigs;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CEditGameConfigs)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CEditGameConfigs)
afx_msg void OnAdd();
afx_msg void OnCopy();
afx_msg void OnRemove();
afx_msg void OnSelchangeConfigs();
virtual BOOL OnInitDialog();
afx_msg void OnDblclkConfigs();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
BOOL m_bSelectOnly; // just select a game config
CGameConfig *m_pSelectedGame; // last selected game
void FillConfigList(DWORD dwSelectID = 0xffffffff);
};
#endif // EDITGAMECONFIGS_H
|