Move: Utility from ActorUtil to ScreenNetBase

This commit is contained in:
Charles Lohr
2004-11-24 00:00:56 +00:00
parent 4954a4bb8d
commit 70ea342ac1
4 changed files with 12 additions and 11 deletions
+8
View File
@@ -257,6 +257,14 @@ void ScreenNetSelectBase::UpdateUsers()
}
}
void UtilSetQuadInit( Actor& actor, const CString &sClassName )
{
UtilSetXYAndOnCommand( actor, sClassName );
actor.SetDiffuse( THEME->GetMetricC( sClassName, actor.m_sName + "Color" ) );
actor.SetWidth( THEME->GetMetricF( sClassName, actor.m_sName + "Width" ) );
actor.SetHeight( THEME->GetMetricF( sClassName, actor.m_sName + "Height" ) );
}
#endif
/*