Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
76 lines
1.8 KiB
C++
76 lines
1.8 KiB
C++
// DlgSectorMove.cpp : implementation file
|
|
//
|
|
|
|
#include "stdafx.h"
|
|
#include "worldcreator.h"
|
|
#include "DlgSectorMove.h"
|
|
|
|
#ifdef _DEBUG
|
|
#define new DEBUG_NEW
|
|
#undef THIS_FILE
|
|
static char THIS_FILE[] = __FILE__;
|
|
#endif
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CDlgSectorMove dialog
|
|
|
|
|
|
CDlgSectorMove::CDlgSectorMove(CWnd* pParent /*=NULL*/)
|
|
: CDialog(CDlgSectorMove::IDD, pParent)
|
|
{
|
|
//{{AFX_DATA_INIT(CDlgSectorMove)
|
|
m_ToMoveX = 0;
|
|
m_ToMoveY = 0;
|
|
//}}AFX_DATA_INIT
|
|
}
|
|
|
|
|
|
void CDlgSectorMove::DoDataExchange(CDataExchange* pDX)
|
|
{
|
|
CDialog::DoDataExchange(pDX);
|
|
//{{AFX_DATA_MAP(CDlgSectorMove)
|
|
DDX_Text(pDX, IDC_EDIT_MOVEX, m_ToMoveX);
|
|
DDX_Text(pDX, IDC_EDIT_MOVEY, m_ToMoveY);
|
|
//}}AFX_DATA_MAP
|
|
}
|
|
|
|
|
|
BEGIN_MESSAGE_MAP(CDlgSectorMove, CDialog)
|
|
//{{AFX_MSG_MAP(CDlgSectorMove)
|
|
ON_EN_CHANGE(IDC_EDIT_MOVEX, OnChangeEditMovex)
|
|
ON_EN_CHANGE(IDC_EDIT_MOVEY, OnChangeEditMovey)
|
|
//}}AFX_MSG_MAP
|
|
END_MESSAGE_MAP()
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CDlgSectorMove message handlers
|
|
|
|
void CDlgSectorMove::OnOK()
|
|
{
|
|
// TODO: Add extra validation here
|
|
|
|
CDialog::OnOK();
|
|
}
|
|
|
|
void CDlgSectorMove::OnChangeEditMovex()
|
|
{
|
|
// TODO: If this is a RICHEDIT control, the control will not
|
|
// send this notification unless you override the CDialog::OnInitDialog()
|
|
// function and call CRichEditCtrl().SetEventMask()
|
|
// with the ENM_CHANGE flag ORed into the mask.
|
|
|
|
// TODO: Add your control notification handler code here
|
|
UpdateData();
|
|
}
|
|
|
|
void CDlgSectorMove::OnChangeEditMovey()
|
|
{
|
|
// TODO: If this is a RICHEDIT control, the control will not
|
|
// send this notification unless you override the CDialog::OnInitDialog()
|
|
// function and call CRichEditCtrl().SetEventMask()
|
|
// with the ENM_CHANGE flag ORed into the mask.
|
|
|
|
// TODO: Add your control notification handler code here
|
|
UpdateData();
|
|
}
|