From 9157bff3aa878ded042042f84c468b1bafc3503d Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 19 Mar 2006 04:20:58 +0000 Subject: [PATCH] remove m_sprAnswerBox --- stepmania/src/ScreenTextEntry.cpp | 6 ------ stepmania/src/ScreenTextEntry.h | 1 - 2 files changed, 7 deletions(-) diff --git a/stepmania/src/ScreenTextEntry.cpp b/stepmania/src/ScreenTextEntry.cpp index 47ecdcf4b0..c6130cb764 100644 --- a/stepmania/src/ScreenTextEntry.cpp +++ b/stepmania/src/ScreenTextEntry.cpp @@ -80,10 +80,6 @@ void ScreenTextEntry::Init() m_textQuestion.SetName( "Question" ); this->AddChild( &m_textQuestion ); - m_sprAnswerBox.Load( THEME->GetPathG(m_sName,"AnswerBox") ); - m_sprAnswerBox->SetName( "AnswerBox" ); - this->AddChild( m_sprAnswerBox ); - m_textAnswer.LoadFromFont( THEME->GetPathF(m_sName,"answer") ); m_textAnswer.SetName( "Answer" ); this->AddChild( &m_textAnswer ); @@ -102,7 +98,6 @@ void ScreenTextEntry::BeginScreen() m_textQuestion.SetText( g_sQuestion ); SET_XY_AND_ON_COMMAND( m_textQuestion ); - SET_XY_AND_ON_COMMAND( m_sprAnswerBox ); SET_XY_AND_ON_COMMAND( m_textAnswer ); UpdateAnswerText(); @@ -229,7 +224,6 @@ void ScreenTextEntry::TweenOffScreen() ScreenWithMenuElements::TweenOffScreen(); OFF_COMMAND( m_textQuestion ); - OFF_COMMAND( m_sprAnswerBox ); OFF_COMMAND( m_textAnswer ); } diff --git a/stepmania/src/ScreenTextEntry.h b/stepmania/src/ScreenTextEntry.h index e2fd3763f7..4b0e8af7b3 100644 --- a/stepmania/src/ScreenTextEntry.h +++ b/stepmania/src/ScreenTextEntry.h @@ -69,7 +69,6 @@ private: bool m_bShowAnswerCaret; BitmapText m_textQuestion; - AutoActor m_sprAnswerBox; BitmapText m_textAnswer; RageSound m_sndType;