pull out SetTransformFromExpression/SetTransformFromHeight, so we don't

have two init functions.

(Now, we only need two special metrics to init an ActorScroller; the rest
can be done by OnCommand.)
This commit is contained in:
Glenn Maynard
2005-12-07 05:43:49 +00:00
parent 32129814b7
commit 42ac54c4a5
6 changed files with 22 additions and 25 deletions
+1 -1
View File
@@ -79,8 +79,8 @@ void CourseContentsList::SetFromGameState()
this->Load2(
(float)MAX_VISIBLE_ITEMS,
m_vpDisplay[0]->GetUnzoomedHeight(),
bLoop );
this->SetTransformFromHeight( m_vpDisplay[0]->GetUnzoomedHeight() );
this->SetSecondsPerItem( 0.7f );
this->EnableMask( m_vpDisplay[0]->GetUnzoomedWidth(), m_vpDisplay[0]->GetUnzoomedHeight() );
this->SetSecondsPauseBetweenItems( 0.7f );