void MkBodyFrameControlNode::_SetBodyFrame
(const MkHashStr& themeName, MkWindowThemeData::eComponentType componentType, const MkHashStr& customFormName,
 bool useShadow, eHangingType hangingType, const MkFloat2& clientSize)
{
	SetThemeName(themeName);

	if (componentType == MkWindowThemeData::eCT_CustomForm)
	{
		SetCustomForm(customFormName);
	}
	else
	{
		SetComponentType(componentType);
	}

	SetFormState(MkWindowThemeFormData::eS_Default);
	SetShadowUsage(useShadow);

	m_HangingType = hangingType;
	SetClientSize(clientSize);

	SetLocalDepth(0.1f); // title과 겹치는 것을 피하기 위해 0.1f만큼 뒤에 위치

	_ApplyHangingType();
}
Beispiel #2
0
MkLineShape::MkLineShape(void) : MkSceneRenderObject()
{
	m_ParentNode = NULL;

	m_MaterialKey.m_SubKey = static_cast<DWORD>(ePA_SOT_LineShape); // MkLineShape only

	SetLocalDepth(0.f);

	m_Attribute.Clear();
	SetRecordable(false);
	SetVisible(true);

	SetColor(MkColor::White);
}