This commit is contained in:
Daveo 2001-04-07 21:05:33 +00:00
parent 08c732c29a
commit aefdd396f8
51 changed files with 1467 additions and 682 deletions

View file

@ -5,6 +5,9 @@
#include "mapedit.h"
#include "GuiLayerThingPos.h"
#include "MapEditDoc.h"
#include "MainFrm.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
@ -28,16 +31,24 @@ void CGuiLayerThingPos::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CGuiLayerThingPos)
// NOTE: the ClassWizard will add DDX and DDV calls here
DDX_Control(pDX, IDC_THING_POS_LIST, m_List);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CGuiLayerThingPos, CDialog)
//{{AFX_MSG_MAP(CGuiLayerThingPos)
// NOTE: the ClassWizard will add message map macros here
ON_LBN_SELCHANGE(IDC_THING_POS_LIST, OnSelchangeThingPosList)
ON_BN_CLICKED(IDC_THING_POS_UP, OnThingPosUp)
ON_BN_CLICKED(IDC_THING_POS_DOWN, OnThingPosDown)
ON_BN_CLICKED(IDC_THING_POS_DELETE, OnThingPosDelete)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CGuiLayerThingPos message handlers
void CGuiLayerThingPos::OnSelchangeThingPosList() {theApp.GetCurrent()->Command(CmdMsg_ThingPosSelect,m_List.GetCurSel());}
void CGuiLayerThingPos::OnThingPosUp() {theApp.GetCurrent()->Command(CmdMsg_ThingPosUp,m_List.GetCurSel());}
void CGuiLayerThingPos::OnThingPosDown() {theApp.GetCurrent()->Command(CmdMsg_ThingPosDown,m_List.GetCurSel());}
void CGuiLayerThingPos::OnThingPosDelete() {theApp.GetCurrent()->Command(CmdMsg_ThingPosDelete,m_List.GetCurSel());}