From b58c5c072a9a2b7071a70cd7009896dc2d32602d Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 25 Aug 2005 01:17:26 +0000 Subject: [PATCH] cleanup, remove old comment --- stepmania/src/BitmapText.cpp | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/stepmania/src/BitmapText.cpp b/stepmania/src/BitmapText.cpp index a0518c1b31..ef0ebbda5b 100644 --- a/stepmania/src/BitmapText.cpp +++ b/stepmania/src/BitmapText.cpp @@ -83,24 +83,10 @@ BitmapText::BitmapText( const BitmapText &cpy ): void BitmapText::LoadFromNode( const CString& sDir, const XNode* pNode ) { - /* XXX: How to handle translations? Maybe we should have one metrics section, - * "Text", eg: - * - * [Text] - * SoundVolume=Sound Volume - * TextItem=Hello - * - * and allow "$TextItem$" in .actors to reference that. - */ - /* It's a BitmapText. Note that we could do the actual text setting with metrics, - * by adding "text" and "alttext" commands, but right now metrics can't contain - * commas or semicolons. It's useful to be able to refer to fonts in the real - * theme font dirs, too. */ - CString sText; - pNode->GetAttrValue("Text", sText ); + pNode->GetAttrValue( "Text", sText ); CString sAltText; - pNode->GetAttrValue("AltText", sAltText ); + pNode->GetAttrValue( "AltText", sAltText ); ThemeManager::EvaluateString( sText ); ThemeManager::EvaluateString( sAltText );