-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCarEditorDoc.h
More file actions
executable file
·81 lines (67 loc) · 1.82 KB
/
Copy pathCarEditorDoc.h
File metadata and controls
executable file
·81 lines (67 loc) · 1.82 KB
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
72
73
74
75
76
77
78
79
80
81
// CarEditorDoc.h : interface of the CCarEditorDoc class
//
/////////////////////////////////////////////////////////////////////////////
#include "car.h"
class CCarEditorDoc : public CDocument
{
protected: // create from serialization only
CCarEditorDoc();
DECLARE_DYNCREATE(CCarEditorDoc)
// Attributes
public:
Car *car;
Helmet *helmet;
GPOObject *gpoobject;
int selectedScale;
void DeleteContents();
JAM *currentJam;
CBitmap currentJamBitmap;
JAM *getCurrentJam()
{
return currentJam;
}
void setCurrentJam(JAM *jam)
{
currentJam = jam;
}
GPOObject * ImportGPOObject(CString filename);
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCarEditorDoc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CCarEditorDoc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CCarEditorDoc)
afx_msg void OnFileimport();
afx_msg void OnFileSaveAs();
afx_msg void OnFileexport();
afx_msg void OnHighNose();
afx_msg void OnUpdateHighNose(CCmdUI* pCmdUI);
afx_msg void OnCopyCar1ToCar2();
afx_msg void OnCarone();
afx_msg void OnUpdateCarone(CCmdUI* pCmdUI);
afx_msg void OnCartwo();
afx_msg void OnUpdateCartwo(CCmdUI* pCmdUI);
afx_msg void OnFileSave();
afx_msg void OnJamView();
afx_msg void OnFileImporthelmet();
afx_msg void OnSaveHelmet();
afx_msg void OnFileImportgpoobject();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////