Files
Yajbir Singh f1b860b25c
Some checks failed
check / markdownlint (push) Has been cancelled
check / spellchecker (push) Has been cancelled
updated
2025-12-11 19:03:17 +05:30

33 lines
698 B
C++

#include "CtrlCharacter.h"
namespace HWP
{
CCtrlCharacter::CCtrlCharacter(const HWP_STRING& sCtrlID, ECtrlCharType eCtrlChar)
: CCtrl(sCtrlID), m_eCtrlChar(eCtrlChar), m_nCharShapeID(0)
{}
CCtrlCharacter::CCtrlCharacter(const HWP_STRING& sCtrlID, ECtrlCharType eCtrlChar, int nCharShapeID)
: CCtrl(sCtrlID), m_eCtrlChar(eCtrlChar), m_nCharShapeID(nCharShapeID)
{}
ECtrlObjectType CCtrlCharacter::GetCtrlType() const
{
return ECtrlObjectType::Character;
}
int CCtrlCharacter::GetCharShapeId() const
{
return m_nCharShapeID;
}
ECtrlCharType CCtrlCharacter::GetType() const
{
return m_eCtrlChar;
}
void CCtrlCharacter::SetCharShapeID(int nCharShapeID)
{
m_nCharShapeID = nCharShapeID;
}
}