From 7359405188beb37a04acb1b543d8abb7c041bdf9 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 25 Jun 2005 02:59:10 +0000 Subject: [PATCH] remove m_textVersion --- stepmania/Themes/default/metrics.ini | 3 --- stepmania/src/ScreenTitleMenu.cpp | 7 ------- stepmania/src/ScreenTitleMenu.h | 1 - 3 files changed, 11 deletions(-) diff --git a/stepmania/Themes/default/metrics.ini b/stepmania/Themes/default/metrics.ini index c19251a3fe..2b1678518b 100644 --- a/stepmania/Themes/default/metrics.ini +++ b/stepmania/Themes/default/metrics.ini @@ -99,9 +99,6 @@ StyleIcon=0 LogoX=SCREEN_CENTER_X LogoY=SCREEN_CENTER_Y LogoOnCommand=zoomy,0;sleep,0.5;bounceend,0.5;zoomy,1;glowshift;effectperiod,2.5;effectcolor1,1,1,1,0.1;effectcolor2,1,1,1,0.3 -VersionX=SCREEN_RIGHT-20 -VersionY=SCREEN_TOP+20 -VersionOnCommand=horizalign,right;diffuse,0.6,0.6,0.6,1;zoom,0.5;shadowlength,2 SongsX=SCREEN_LEFT+20 SongsY=SCREEN_TOP+20 SongsOnCommand=horizalign,left;diffuse,0.6,0.6,0.6,1;zoom,0.5;shadowlength,2 diff --git a/stepmania/src/ScreenTitleMenu.cpp b/stepmania/src/ScreenTitleMenu.cpp index a25500daab..70bc350889 100644 --- a/stepmania/src/ScreenTitleMenu.cpp +++ b/stepmania/src/ScreenTitleMenu.cpp @@ -15,7 +15,6 @@ #include "CodeDetector.h" #include "RageTextureManager.h" #include "UnlockManager.h" -#include "ProductInfo.h" #include "LightsManager.h" #include "CommonMetrics.h" #include "Game.h" @@ -51,12 +50,6 @@ void ScreenTitleMenu::Init() this->AddChild( m_sprLogo ); SET_XY_AND_ON_COMMAND( m_sprLogo ); - m_textVersion.LoadFromFont( THEME->GetPathF("Common","normal") ); - m_textVersion.SetName( "Version" ); - m_textVersion.SetText( PRODUCT_VER ); - this->AddChild( &m_textVersion ); - SET_XY_AND_ON_COMMAND( m_textVersion ); - m_textSongs.LoadFromFont( THEME->GetPathF("Common","normal") ); m_textSongs.SetName( "Songs" ); CString text = ssprintf("%d songs in %d groups, %d courses in %d groups", SONGMAN->GetNumSongs(), SONGMAN->GetNumSongGroups(), SONGMAN->GetNumCourses(), SONGMAN->GetNumCourseGroups() ); diff --git a/stepmania/src/ScreenTitleMenu.h b/stepmania/src/ScreenTitleMenu.h index c46ce71e1c..abdad1a7c5 100644 --- a/stepmania/src/ScreenTitleMenu.h +++ b/stepmania/src/ScreenTitleMenu.h @@ -24,7 +24,6 @@ public: private: AutoActor m_sprLogo; - BitmapText m_textVersion; BitmapText m_textSongs; };