From 6681e062ddd0034571457469d47a0ee20db8dfe9 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Sat, 16 Apr 2011 22:03:28 -0500 Subject: [PATCH] remove some hardcoded SetShadowLength() calls --- src/RoomInfoDisplay.cpp | 1 - src/ScreenGameplay.cpp | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/RoomInfoDisplay.cpp b/src/RoomInfoDisplay.cpp index 86b568612b..847db6846f 100644 --- a/src/RoomInfoDisplay.cpp +++ b/src/RoomInfoDisplay.cpp @@ -179,7 +179,6 @@ void RoomInfoDisplay::SetRoomInfo( const RoomInfo& info) m_playerList[i] = new BitmapText; m_playerList[i]->LoadFromFont( THEME->GetPathF(GetName(),"text") ); m_playerList[i]->SetName("PlayerListElement"); - m_playerList[i]->SetShadowLength( 0 ); m_playerList[i]->SetHorizAlign( align_left ); m_playerList[i]->SetX(PLAYERLISTX + (i * PLAYERLISTOFFSETX)); m_playerList[i]->SetY(PLAYERLISTY + (i * PLAYERLISTOFFSETY)); diff --git a/src/ScreenGameplay.cpp b/src/ScreenGameplay.cpp index c9ea70bc6e..e6b84cca04 100644 --- a/src/ScreenGameplay.cpp +++ b/src/ScreenGameplay.cpp @@ -590,7 +590,6 @@ void ScreenGameplay::Init() ASSERT( pi->m_ptextCourseSongNumber == NULL ); pi->m_ptextCourseSongNumber = new BitmapText; pi->m_ptextCourseSongNumber->LoadFromFont( THEME->GetPathF(m_sName,"SongNum") ); - pi->m_ptextCourseSongNumber->SetShadowLength( 0 ); pi->m_ptextCourseSongNumber->SetName( ssprintf("SongNumber%s",pi->GetName().c_str()) ); LOAD_ALL_COMMANDS_AND_SET_XY( pi->m_ptextCourseSongNumber ); pi->m_ptextCourseSongNumber->SetText( "" ); @@ -609,7 +608,6 @@ void ScreenGameplay::Init() ASSERT( pi->m_ptextPlayerOptions == NULL ); pi->m_ptextPlayerOptions = new BitmapText; pi->m_ptextPlayerOptions->LoadFromFont( THEME->GetPathF(m_sName,"player options") ); - pi->m_ptextPlayerOptions->SetShadowLength( 0 ); pi->m_ptextPlayerOptions->SetName( ssprintf("PlayerOptions%s",pi->GetName().c_str()) ); LOAD_ALL_COMMANDS_AND_SET_XY( pi->m_ptextPlayerOptions ); this->AddChild( pi->m_ptextPlayerOptions );