You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
459 B
C++

#pragma once
#include "commandbase.h"
class CCommandMoveNode :public CCommandBase
{
public:
CCommandMoveNode(void);
~CCommandMoveNode(void);
virtual CString GetStr();
virtual void ExcuteExt();
virtual void UndoExt();
void SetPar(int idx,Dbxy OldPt,Dbxy NewPt);
private:
void SetNode(bool bExcute);
private:
int m_NodeIdx;//操作node 节点的索引值
Dbxy m_OldPt;//旧的坐标
Dbxy m_NewPt;//新的坐标
};