From 544dd78497356db8436e39af15eba3036981e4e6 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sun, 6 Feb 2005 03:06:42 +0000 Subject: [PATCH] change elements to have format " " --- stepmania/src/Combo.cpp | 6 +++--- stepmania/src/ScoreDisplayNormal.cpp | 4 ++-- stepmania/src/ScoreDisplayOni.cpp | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/stepmania/src/Combo.cpp b/stepmania/src/Combo.cpp index 350feeb1c9..d39177789f 100644 --- a/stepmania/src/Combo.cpp +++ b/stepmania/src/Combo.cpp @@ -31,7 +31,7 @@ ThemeMetric SHOW_MISS_COMBO ("Combo","ShowMissCombo"); Combo::Combo() { - m_sprComboLabel.Load( THEME->GetPathToG( "Combo label") ); + m_sprComboLabel.Load( THEME->GetPathG("Combo","label") ); m_sprComboLabel.SetShadowLength( 4 ); m_sprComboLabel.StopAnimating(); m_sprComboLabel.SetXY( LABEL_X, LABEL_Y ); @@ -40,7 +40,7 @@ Combo::Combo() m_sprComboLabel.SetHidden( true ); this->AddChild( &m_sprComboLabel ); - m_sprMissesLabel.Load( THEME->GetPathToG( "Combo misses") ); + m_sprMissesLabel.Load( THEME->GetPathG("Combo","misses") ); m_sprMissesLabel.SetShadowLength( 4 ); m_sprMissesLabel.StopAnimating(); m_sprMissesLabel.SetXY( LABEL_X, LABEL_Y ); @@ -49,7 +49,7 @@ Combo::Combo() m_sprMissesLabel.SetHidden( true ); this->AddChild( &m_sprMissesLabel ); - m_textNumber.LoadFromFont( THEME->GetPathToF("Combo") ); + m_textNumber.LoadFromFont( THEME->GetPathF("Combo","numbers") ); m_textNumber.SetShadowLength( 4 ); m_textNumber.SetXY( NUMBER_X, NUMBER_Y ); m_textNumber.SetHorizAlign( (Actor::HorizAlign)(int)NUMBER_HORIZ_ALIGN ); diff --git a/stepmania/src/ScoreDisplayNormal.cpp b/stepmania/src/ScoreDisplayNormal.cpp index d6154cc2e6..46b2e087d7 100644 --- a/stepmania/src/ScoreDisplayNormal.cpp +++ b/stepmania/src/ScoreDisplayNormal.cpp @@ -17,11 +17,11 @@ ScoreDisplayNormal::ScoreDisplayNormal() { LOG->Trace( "ScoreDisplayNormal::ScoreDisplayNormal()" ); - m_sprFrame.Load( THEME->GetPathToG("ScoreDisplayNormal frame") ); + m_sprFrame.Load( THEME->GetPathG("ScoreDisplayNormal","frame") ); this->AddChild( &m_sprFrame ); // init the text - m_text.LoadFromFont( THEME->GetPathToF("ScoreDisplayNormal") ); + m_text.LoadFromFont( THEME->GetPathF("ScoreDisplayNormal","numbers") ); m_text.SetShadowLength( 0 ); m_iScore = 0; diff --git a/stepmania/src/ScoreDisplayOni.cpp b/stepmania/src/ScoreDisplayOni.cpp index 55854ccb8f..70575d1266 100644 --- a/stepmania/src/ScoreDisplayOni.cpp +++ b/stepmania/src/ScoreDisplayOni.cpp @@ -14,11 +14,11 @@ ScoreDisplayOni::ScoreDisplayOni() { LOG->Trace( "ScoreDisplayOni::ScoreDisplayOni()" ); - m_sprFrame.Load( THEME->GetPathToG("ScoreDisplayOni frame") ); + m_sprFrame.Load( THEME->GetPathG("ScoreDisplayOni","frame") ); this->AddChild( &m_sprFrame ); // init the text - m_text.LoadFromFont( THEME->GetPathToF("ScoreDisplayOni") ); + m_text.LoadFromFont( THEME->GetPathF("ScoreDisplayOni","numbers") ); m_text.SetShadowLength( 0 ); this->AddChild( &m_text ); }