eval Format

This commit is contained in:
Glenn Maynard
2006-03-06 05:39:01 +00:00
parent bce305a0bf
commit 45ccc24336
+2
View File
@@ -4,6 +4,7 @@
#include "XmlFile.h" #include "XmlFile.h"
#include "ActorUtil.h" #include "ActorUtil.h"
#include "LuaManager.h" #include "LuaManager.h"
#include "ThemeManager.h"
REGISTER_ACTOR_CLASS( RollingNumbers ) REGISTER_ACTOR_CLASS( RollingNumbers )
RollingNumbers::RollingNumbers() RollingNumbers::RollingNumbers()
@@ -21,6 +22,7 @@ void RollingNumbers::LoadFromNode( const RString& sDir, const XNode* pNode )
BitmapText::LoadFromNode( sDir, pNode ); BitmapText::LoadFromNode( sDir, pNode );
pNode->GetAttrValue( "Format", m_sFormat ); pNode->GetAttrValue( "Format", m_sFormat );
ThemeManager::EvaluateString( m_sFormat );
pNode->GetAttrValue( "ApproachSeconds", m_fApproachSeconds ); pNode->GetAttrValue( "ApproachSeconds", m_fApproachSeconds );
RString sTargetNumber; RString sTargetNumber;