blob: 43f4d5f7f46e41165e3d9af19c2b82cedac9becc (
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
68
69
70
71
|
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#ifndef MAPCHECKDLG_H
#define MAPCHECKDLG_H
#ifdef _WIN32
#pragma once
#endif
#include "mapdoc.h"
struct MapError;
class CMapClass;
class CMapCheckDlg : public CDialog
{
public:
static void CheckForProblems(CWnd *pwndParent);
private:
CMapCheckDlg(CWnd *pParent = NULL);
enum { IDD = IDD_MAPCHECK };
bool DoCheck();
protected:
//{{AFX_DATA(CMapCheckDlg)
CButton m_cFixAll;
CButton m_Fix;
CButton m_Go;
CEdit m_Description;
CListBox m_Errors;
BOOL m_bCheckVisible;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMapCheckDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnOK();
//}}AFX_VIRTUAL
//{{AFX_MSG(CMapCheckDlg)
afx_msg void OnGo();
afx_msg void OnSelchangeErrors();
afx_msg void OnDblClkErrors();
afx_msg void OnPaint();
afx_msg void OnFix();
afx_msg void OnFixall();
afx_msg void OnDestroy();
afx_msg void OnClose();
afx_msg void OnCheckVisibleOnly();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void Fix(MapError *pError, UpdateBox &ub);
void KillErrorList();
void GotoSelectedErrors();
};
#endif // MAPCHECKDLG_H
|