diff --git a/Utils/MapEdit/GUILayerItem.cpp b/Utils/MapEdit/GUILayerItem.cpp new file mode 100644 index 000000000..a840bee0f --- /dev/null +++ b/Utils/MapEdit/GUILayerItem.cpp @@ -0,0 +1,43 @@ +// GUILayerItem.cpp : implementation file +// + +#include "stdafx.h" +#include "mapedit.h" +#include "GUILayerItem.h" + +#ifdef _DEBUG +#define new DEBUG_NEW +#undef THIS_FILE +static char THIS_FILE[] = __FILE__; +#endif + +///////////////////////////////////////////////////////////////////////////// +// CGUILayerItem dialog + + +CGUILayerItem::CGUILayerItem(CWnd* pParent /*=NULL*/) + : CDialog(CGUILayerItem::IDD, pParent) +{ + //{{AFX_DATA_INIT(CGUILayerItem) + // NOTE: the ClassWizard will add member initialization here + //}}AFX_DATA_INIT +} + + +void CGUILayerItem::DoDataExchange(CDataExchange* pDX) +{ + CDialog::DoDataExchange(pDX); + //{{AFX_DATA_MAP(CGUILayerItem) + // NOTE: the ClassWizard will add DDX and DDV calls here + //}}AFX_DATA_MAP +} + + +BEGIN_MESSAGE_MAP(CGUILayerItem, CDialog) + //{{AFX_MSG_MAP(CGUILayerItem) + // NOTE: the ClassWizard will add message map macros here + //}}AFX_MSG_MAP +END_MESSAGE_MAP() + +///////////////////////////////////////////////////////////////////////////// +// CGUILayerItem message handlers diff --git a/Utils/MapEdit/GUILayerItem.h b/Utils/MapEdit/GUILayerItem.h new file mode 100644 index 000000000..69630bd43 --- /dev/null +++ b/Utils/MapEdit/GUILayerItem.h @@ -0,0 +1,46 @@ +#if !defined(AFX_GUILAYERITEM_H__5F713D8B_F890_4284_81D1_F1D6BB0AF3C0__INCLUDED_) +#define AFX_GUILAYERITEM_H__5F713D8B_F890_4284_81D1_F1D6BB0AF3C0__INCLUDED_ + +#if _MSC_VER > 1000 +#pragma once +#endif // _MSC_VER > 1000 +// GUILayerItem.h : header file +// + +///////////////////////////////////////////////////////////////////////////// +// CGUILayerItem dialog + +class CGUILayerItem : public CDialog +{ +// Construction +public: + CGUILayerItem(CWnd* pParent = NULL); // standard constructor + +// Dialog Data + //{{AFX_DATA(CGUILayerItem) + enum { IDD = IDD_LAYER_ITEM }; + // NOTE: the ClassWizard will add data members here + //}}AFX_DATA + + +// Overrides + // ClassWizard generated virtual function overrides + //{{AFX_VIRTUAL(CGUILayerItem) + protected: + virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support + //}}AFX_VIRTUAL + +// Implementation +protected: + + // Generated message map functions + //{{AFX_MSG(CGUILayerItem) + // NOTE: the ClassWizard will add member functions here + //}}AFX_MSG + DECLARE_MESSAGE_MAP() +}; + +//{{AFX_INSERT_LOCATION}} +// Microsoft Visual C++ will insert additional declarations immediately before the previous line. + +#endif // !defined(AFX_GUILAYERITEM_H__5F713D8B_F890_4284_81D1_F1D6BB0AF3C0__INCLUDED_)