center text in combo span

This commit is contained in:
Chris Danford
2005-05-25 00:50:09 +00:00
parent 3cf5c46045
commit 8ac202f9f6
+1
View File
@@ -70,6 +70,7 @@ void ComboGraph::Load( const CString& sScreen, const CString& sElement, const St
BitmapText *text = new BitmapText;
text->SetName( "ComboMaxNumber" );
text->LoadFromFont( THEME->GetPathF(sScreen,sElement) );
text->SetHorizAlign( Actor::align_center );
const float start = SCALE( combo.fStartSecond, fFirstSecond, fLastSecond, 0.0f, 1.0f );
const float size = SCALE( combo.fSizeSeconds, 0, fLastSecond-fFirstSecond, 0.0f, 1.0f );