move code

This commit is contained in:
Glenn Maynard
2006-09-22 09:52:08 +00:00
parent 85d8006257
commit d98c17eac6
+10 -10
View File
@@ -903,16 +903,6 @@ RString ThemeManager::GetMetric( const RString &sClassName, const RString &sValu
return sRet; return sRet;
} }
void ThemeManager::EvaluateString( RString &sText )
{
/* If the string begins with an @, then this is a Lua expression
* that should be evaluated immediately.
* Still do font aliases on the resulting string. */
LuaHelpers::RunAtExpressionS( sText );
FontCharAliases::ReplaceMarkers( sText );
}
int ThemeManager::GetMetricI( const RString &sClassName, const RString &sValueName ) int ThemeManager::GetMetricI( const RString &sClassName, const RString &sValueName )
{ {
RString sValue = GetMetricRaw( g_pLoadedThemeData->iniMetrics, sClassName, sValueName ); RString sValue = GetMetricRaw( g_pLoadedThemeData->iniMetrics, sClassName, sValueName );
@@ -1009,6 +999,16 @@ apActorCommands ThemeManager::GetMetricA( const RString &sClassName, const RStri
} }
#endif #endif
void ThemeManager::EvaluateString( RString &sText )
{
/* If the string begins with an @, then this is a Lua expression
* that should be evaluated immediately.
* Still do font aliases on the resulting string. */
LuaHelpers::RunAtExpressionS( sText );
FontCharAliases::ReplaceMarkers( sText );
}
RString ThemeManager::GetNextTheme() RString ThemeManager::GetNextTheme()
{ {
vector<RString> as; vector<RString> as;