Move: Utility from ActorUtil to ScreenNetBase
This commit is contained in:
@@ -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
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user