Ez2dancer Metric Configurable Animated Style Select Backgrounds Back!!

This commit is contained in:
Andrew Livy
2002-09-13 18:06:36 +00:00
parent a0fb710580
commit 05420d9bb4
10 changed files with 145 additions and 7 deletions
+16
View File
@@ -53,6 +53,22 @@ MenuElements::MenuElements()
this->AddChild( &m_Invisible );
}
void MenuElements::StealthTimer( int iActive )
{
m_MenuTimer.StealthTimer( iActive ); // go a bit deeper... get rid of the sound...
if (iActive == 0) // if we wanna hide the timer...
{
m_MenuTimer.SetXY( TIMER_X, TIMER_Y ); // set it off-screen
}
else if (iActive == 1) // we wanna hide the timer
{
m_MenuTimer.SetXY( 999.0f, 999.0f ); // otherwise position it off-screen
}
// else... take no action :)
}
void MenuElements::Load( CString sBackgroundPath, CString sTopEdgePath, CString sHelpText, bool bShowStyleIcon, bool bTimerEnabled, int iTimerSeconds )
{
LOG->Trace( "MenuElements::MenuElements()" );