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.

22 lines
503 B
C++

#pragma once
#include "commandbase.h"
#include "SFontPar.h"
class CCommandModifiFont :public CCommandBase
{
public:
CCommandModifiFont(void);
~CCommandModifiFont(void);
virtual CString GetStr(){return "修改font";};
virtual void ExcuteExt();
virtual void UndoExt();
void SetStringPar(SFontPar &par,bool b);
private:
void ReCreatObj(bool bExcute);
private:
//字体参数
SFontPar m_OldFontPar;
SFontPar m_NewFontPar;
};