add [HelpDisplay] TipSwitchTime metric

This commit is contained in:
AJ Kelly
2010-05-22 10:26:41 -05:00
parent 21d6ae9a11
commit 571928c89a
2 changed files with 4 additions and 1 deletions
+3 -1
View File
@@ -249,8 +249,10 @@ HoldJudgmentHeldCommand=HoldJudgmentHeld()
[HelpDisplay]
# The help display on the menus, and what it does.
# How fast it changes between texts
# How fast it changes between texts (seconds)
TipShowTime=4
# How long each switch takes (seconds)
TipSwitchTime=1
# The Command when its made
TipOnCommand=shadowlength,0;diffuseblink
[Judgment]
+1
View File
@@ -18,6 +18,7 @@ void HelpDisplay::Load( const RString &sType )
{
RunCommands( THEME->GetMetricA(sType,"TipOnCommand") );
m_fSecsUntilSwitch = THEME->GetMetricF(sType,"TipShowTime");
m_fSecsBetweenSwitches = THEME->GetMetricF(sType,"TipSwitchTime");
}
void HelpDisplay::SetTips( const vector<RString> &arrayTips, const vector<RString> &arrayTipsAlt )