hello, how to change the color of the box in the left side of menu? what file should i look into it? thanks
void CWndPartyInfo::OnDraw
DWORD colorStatus = 0xff0000ff; // 디폴트는 이상없음
if( IsValidObj(pObjMember) )
{
if( pObjMember->GetHitPoint() == 0 )
colorStatus = 0xffff0000; // 죽은놈
else
{
if( pObjMember->GetMaxHitPoint() > 0 && ( (FLOAT)pObjMember->GetHitPoint() ) / ( (FLOAT)pObjMember->GetMaxHitPoint() ) <.1f )
colorStatus = 0xffffff00; // HP 10% 이하인놈
}
}
else
{
colorStatus = 0xff878787; // 디폴트는 주위에 없는놈
if( g_Party.m_aMember[ i ].m_bRemove )
colorStatus = 0xff000000; // �*버에 없는놈
}
p2DRender->RenderFillRect( rectTemp, colorStatus );