// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_MAINFRM_H__EB0BEC34_635F_4703_AB3C_E3679AA0335A__INCLUDED_)
#define AFX_MAINFRM_H__EB0BEC34_635F_4703_AB3C_E3679AA0335A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CMainFrame : public CMDIFrameWnd
{
	DECLARE_DYNAMIC(CMainFrame)
public:
	CMainFrame();
// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMainFrame)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
	//}}AFX_VIRTUAL

// Implementation
public:
	void ImportEffects(CString &pathname);
	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;
	void LoadEffect(CString &str);
// Generated message map functions
protected:
	//{{AFX_MSG(CMainFrame)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnClose();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnMove(int x, int y);
	afx_msg void OnFileLoadeffect();
	afx_msg void OnFileSaveeffect();
	afx_msg void OnFileQuicksave();
	afx_msg void OnUpdateFileQuicksave(CCmdUI* pCmdUI);
	afx_msg void OnEditNeweffectCardcloud();
	afx_msg void OnEditNeweffectPertcloud();
	afx_msg void OnEditNeweffectPointcloud();
	afx_msg void OnEditNeweffectShapecloud();
	afx_msg void OnEditNeweffectShardcloud();
	afx_msg void OnFileNew();
	afx_msg void OnUpdateFileNew(CCmdUI* pCmdUI);
	afx_msg void OnEditDeleteeffect();
	afx_msg void OnEditNeweffectSingletonCard();
	afx_msg void OnEditNeweffectSingletonShape();
	afx_msg void OnEditNeweffectEffectcloud();
	afx_msg void OnFileLoadlastlibrary();
	afx_msg void OnEditNeweffectNulleffect();
	afx_msg void OnEditNeweffectTube();
	afx_msg void OnEditNeweffectDebriscloud();
	afx_msg void OnEditNeweffectPointlight();
	afx_msg void OnFileImport();
	afx_msg void OnEditNeweffectBeam();
	afx_msg void OnEditNeweffectSingletonFlare();
	afx_msg void OnEditNeweffectCloudsSpritecloud();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnFileExportcurrenteffect();
	afx_msg void OnEditScaleeffect();
	//}}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__EB0BEC34_635F_4703_AB3C_E3679AA0335A__INCLUDED_)
