some commenting and cleanup

This commit is contained in:
AJ Kelly
2010-05-30 22:49:44 -05:00
parent 9a29217752
commit 59b481eaba
4 changed files with 10 additions and 25 deletions
+2 -1
View File
@@ -74,6 +74,7 @@ void BPMDisplay::Update( float fDeltaTime )
{
m_fBPMFrom = -1;
// todo: allow themer to customize "xxx" string -aj
if( (bool)SHOW_QMARKS )
SetText( (RandomFloat(0,1)>0.90f) ? RString("xxx") : ssprintf("%03.0f",RandomFloat(0,999)) );
else
@@ -120,7 +121,7 @@ void BPMDisplay::SetBPMRange( const DisplayBpms &bpms )
if( MinBPM == MaxBPM )
{
if( MinBPM == -1 )
SetText( "..." ); // random
SetText( "..." ); // random (todo: let themer customize string -aj)
else
SetText( ssprintf("%i", MinBPM) );
}