From 8761b044e2efce591dec0f006ed7085231a9d2ec Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Wed, 17 Aug 2005 09:40:35 +0000 Subject: [PATCH] spacing cleanup --- stepmania/src/ScreenDebugOverlay.cpp | 35 +++++++++++++++------------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/stepmania/src/ScreenDebugOverlay.cpp b/stepmania/src/ScreenDebugOverlay.cpp index becf1f4b59..2aaf86789a 100644 --- a/stepmania/src/ScreenDebugOverlay.cpp +++ b/stepmania/src/ScreenDebugOverlay.cpp @@ -151,21 +151,24 @@ void ScreenDebugOverlay::Init() FOREACH_CONST( IDebugLine*, *g_pvpSubscribers, p ) { - BitmapText *pT1 = new BitmapText; - pT1->LoadFromFont( THEME->GetPathToF("Common normal") ); - pT1->SetHorizAlign( Actor::align_right ); - pT1->SetText( "blah" ); - pT1->SetShadowLength( 2 ); - m_vptextButton.push_back( pT1 ); - this->AddChild( pT1 ); - - BitmapText *pT2 = new BitmapText; - pT2->LoadFromFont( THEME->GetPathToF("Common normal") ); - pT2->SetHorizAlign( Actor::align_left ); - pT2->SetText( "blah" ); - pT2->SetShadowLength( 2 ); - m_vptextFunction.push_back( pT2 ); - this->AddChild( pT2 ); + { + BitmapText *pT1 = new BitmapText; + pT1->LoadFromFont( THEME->GetPathToF("Common normal") ); + pT1->SetHorizAlign( Actor::align_right ); + pT1->SetText( "blah" ); + pT1->SetShadowLength( 2 ); + m_vptextButton.push_back( pT1 ); + this->AddChild( pT1 ); + } + { + BitmapText *pT2 = new BitmapText; + pT2->LoadFromFont( THEME->GetPathToF("Common normal") ); + pT2->SetHorizAlign( Actor::align_left ); + pT2->SetText( "blah" ); + pT2->SetShadowLength( 2 ); + m_vptextFunction.push_back( pT2 ); + this->AddChild( pT2 ); + } } Update( 0 ); @@ -175,7 +178,7 @@ void ScreenDebugOverlay::Update( float fDeltaTime ) { Screen::Update(fDeltaTime); - this->SetVisible( g_bIsDisplayed ); + this->SetVisible( g_bIsDisplayed ); if( !g_bIsDisplayed ) return;