From 1d6a9296e317c87a55eda5cf0ddb5dc4da12c041 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 25 Aug 2004 00:18:51 +0000 Subject: [PATCH] Move m_sprExplanation below m_sprBannerFrame. This should be possible to do with draw order metrics, but we don't actually run OnCommand in here ... --- stepmania/src/ScreenSelectMusic.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/stepmania/src/ScreenSelectMusic.cpp b/stepmania/src/ScreenSelectMusic.cpp index 1bf37b3e15..8056468f95 100644 --- a/stepmania/src/ScreenSelectMusic.cpp +++ b/stepmania/src/ScreenSelectMusic.cpp @@ -108,6 +108,11 @@ ScreenSelectMusic::ScreenSelectMusic( CString sClassName ) : ScreenWithMenuEleme SET_XY( m_sprBannerMask ); this->AddChild( &m_sprBannerMask ); + m_sprExplanation.Load( THEME->GetPathG(m_sName,"explanation") ); + m_sprExplanation->SetName( "Explanation" ); + SET_XY( m_sprExplanation ); + this->AddChild( m_sprExplanation ); + // this is loaded SetSong and TweenToSong m_Banner.SetName( "Banner" ); m_Banner.SetZTestMode( ZTEST_WRITE_ON_PASS ); // do have to pass the z test @@ -120,11 +125,6 @@ ScreenSelectMusic::ScreenSelectMusic( CString sClassName ) : ScreenWithMenuEleme SET_XY( m_sprBannerFrame ); this->AddChild( m_sprBannerFrame ); - m_sprExplanation.Load( THEME->GetPathG(m_sName,"explanation") ); - m_sprExplanation->SetName( "Explanation" ); - SET_XY( m_sprExplanation ); - this->AddChild( m_sprExplanation ); - m_BPMDisplay.SetName( "BPMDisplay" ); m_BPMDisplay.Load(); SET_XY( m_BPMDisplay );