From 3e919cca407c4e22ee96cb8a4d1ba539a3c708d0 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 14 Mar 2006 05:40:45 +0000 Subject: [PATCH] textSyncInfo OnCommand --- stepmania/src/ScreenGameplaySyncMachine.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/stepmania/src/ScreenGameplaySyncMachine.cpp b/stepmania/src/ScreenGameplaySyncMachine.cpp index 3dd1c4feb4..59328e5d38 100644 --- a/stepmania/src/ScreenGameplaySyncMachine.cpp +++ b/stepmania/src/ScreenGameplaySyncMachine.cpp @@ -37,10 +37,9 @@ void ScreenGameplaySyncMachine::Init() m_DancingState = STATE_DANCING; + m_textSyncInfo.SetName( "SyncInfo" ); m_textSyncInfo.LoadFromFont( THEME->GetPathF("Common","normal") ); - m_textSyncInfo.SetXY( SCREEN_CENTER_X+160, SCREEN_CENTER_Y ); - m_textSyncInfo.SetDiffuse( RageColor(1,1,1,1) ); - m_textSyncInfo.SetZoom( 0.6f ); + ON_COMMAND( m_textSyncInfo ); this->AddChild( &m_textSyncInfo ); this->SubscribeToMessage( Message_AutosyncChanged );