forked from HaloMods/SparkEdit
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMainFrm.h
101 lines (86 loc) · 2.92 KB
/
MainFrm.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
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAINFRM_H__80E4A9AB_CC58_4756_AEAC_6DAFAB6AFDC2__INCLUDED_)
#define AFX_MAINFRM_H__80E4A9AB_CC58_4756_AEAC_6DAFAB6AFDC2__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "ToolView.h"
#include "OutputPane.h"
#define INFOBAR_SIZE 150
#define TOOL_PANE_WIDTH 300
class CMainFrame : public CFrameWnd
{
protected: // create from serialization only
CMainFrame();
DECLARE_DYNCREATE(CMainFrame)
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMainFrame)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CMainFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected: // control bar embedded members
CStatusBar m_wndStatusBar;
CToolBar m_wndToolBar;
CSplitterWnd m_ToolSplitter;
CSplitterWnd m_OutputSplitter;
BOOL m_bSplittersInitialized;
int m_EnableTranslateEdit;
int m_EnableRotateEdit;
// Generated message map functions
protected:
//{{AFX_MSG(CMainFrame)
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnOpenCachefile();
afx_msg void OnHelpControls();
afx_msg void OnOpenCompressed();
afx_msg void OnFileExportMeshToObj();
afx_msg void OnFileSavechanges();
afx_msg void OnImportObj();
afx_msg void OnFileClosecachefile();
afx_msg void OnFileCompressMap();
afx_msg void OnToolsOptions();
afx_msg void OnButtonRotateMode();
afx_msg void OnUpdateButtonRotateMode(CCmdUI* pCmdUI);
afx_msg void OnButtonTranslateMode();
afx_msg void OnUpdateButtonTranslateMode(CCmdUI* pCmdUI);
afx_msg void OnButtonSelectMode();
afx_msg void OnUpdateButtonSelectMode(CCmdUI* pCmdUI);
afx_msg void OnButtonInfoDlg();
afx_msg void OnUpdateButtonInfoDlg(CCmdUI* pCmdUI);
afx_msg void OnToolsRotatemode();
afx_msg void OnUpdateToolsRotatemode(CCmdUI* pCmdUI);
afx_msg void OnToolsSelectmode();
afx_msg void OnUpdateToolsSelectmode(CCmdUI* pCmdUI);
afx_msg void OnToolsTranslatemode();
afx_msg void OnUpdateToolsTranslatemode(CCmdUI* pCmdUI);
afx_msg void OnEditCopy();
afx_msg void OnToolsImporttagintoscenario();
afx_msg void OnToolsDumptaginfo();
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnButtonDel();
afx_msg void OnToolsAddteleporterpair();
afx_msg void OnToolsExportmeta();
afx_msg void OnToolsAnalyzeExtern();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MAINFRM_H__80E4A9AB_CC58_4756_AEAC_6DAFAB6AFDC2__INCLUDED_)