add [HelpDisplay] TipSwitchTime metric
This commit is contained in:
@@ -249,8 +249,10 @@ HoldJudgmentHeldCommand=HoldJudgmentHeld()
|
|||||||
|
|
||||||
[HelpDisplay]
|
[HelpDisplay]
|
||||||
# The help display on the menus, and what it does.
|
# 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
|
TipShowTime=4
|
||||||
|
# How long each switch takes (seconds)
|
||||||
|
TipSwitchTime=1
|
||||||
# The Command when its made
|
# The Command when its made
|
||||||
TipOnCommand=shadowlength,0;diffuseblink
|
TipOnCommand=shadowlength,0;diffuseblink
|
||||||
[Judgment]
|
[Judgment]
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ void HelpDisplay::Load( const RString &sType )
|
|||||||
{
|
{
|
||||||
RunCommands( THEME->GetMetricA(sType,"TipOnCommand") );
|
RunCommands( THEME->GetMetricA(sType,"TipOnCommand") );
|
||||||
m_fSecsUntilSwitch = THEME->GetMetricF(sType,"TipShowTime");
|
m_fSecsUntilSwitch = THEME->GetMetricF(sType,"TipShowTime");
|
||||||
|
m_fSecsBetweenSwitches = THEME->GetMetricF(sType,"TipSwitchTime");
|
||||||
}
|
}
|
||||||
|
|
||||||
void HelpDisplay::SetTips( const vector<RString> &arrayTips, const vector<RString> &arrayTipsAlt )
|
void HelpDisplay::SetTips( const vector<RString> &arrayTips, const vector<RString> &arrayTipsAlt )
|
||||||
|
|||||||
Reference in New Issue
Block a user