Serious-Engine/Sources/SeriousSkaStudio/MainFrm.h
2016-03-11 18:20:51 -06:00

94 lines
2.7 KiB
C++

/* Copyright (c) 2002-2012 Croteam Ltd.
This program is free software; you can redistribute it and/or modify
it under the terms of version 2 of the GNU General Public License as published by
the Free Software Foundation
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAINFRM_H__CB4D7FB8_8B58_475B_B738_4E33848EFF64__INCLUDED_)
#define AFX_MAINFRM_H__CB4D7FB8_8B58_475B_B738_4E33848EFF64__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "MDIClientWnd.h"
#include "SplitterFrame.h"
class CMainFrame : public CMDIFrameWnd
{
DECLARE_DYNAMIC(CMainFrame)
public:
CMainFrame();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMainFrame)
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CMainFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
CTString CreateTexture();
public:
// mdi client
CMDIClientWnd m_wndMDIClient;
// status bar
CStatusBar m_wndStatusBar;
// toolbars
CToolBar m_wndToolBar;
CToolBar m_wndNavigationToolBar;
CToolBar m_wndToolBarManage;
// edit control for model instance stretch
CEdit m_ctrlMIStretch;
// Generated message map functions
private:
//{{AFX_MSG(CMainFrame)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnActivateApp(BOOL bActive, DWORD hTask);
afx_msg void OnViewTreeview();
afx_msg void OnUpdateViewTreeview(CCmdUI* pCmdUI);
afx_msg void OnClose();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnViewToolbar();
afx_msg void OnUpdateViewToolbar(CCmdUI* pCmdUI);
afx_msg void OnFileCreateTexture();
afx_msg void OnBtClose();
afx_msg void OnBtClear();
afx_msg void OnViewErrorlist();
afx_msg void OnUpdateViewErrorlist(CCmdUI* pCmdUI);
//}}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__CB4D7FB8_8B58_475B_B738_4E33848EFF64__INCLUDED_)