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.

31 lines
496 B
C++

#include "StdAfx.h"
#include "CommandModifiFill.h"
CCommandModifiFill::CCommandModifiFill(void)
{
}
CCommandModifiFill::~CCommandModifiFill(void)
{
}
//b 为true 时设置旧参数
void CCommandModifiFill::SetPar(SFillPar par,bool b)
{
if(b)
{
m_OldPar = par;
}
else
{
m_NewPar = par;
}
}
void CCommandModifiFill::ExcuteExt()
{
m_ObjContainer.FillObj(m_NewPar,false);
}
void CCommandModifiFill::UndoExt()
{
m_ObjContainer.FillObj(m_OldPar,false);
}