diff --git a/stepmania/src/MenuTimer.cpp b/stepmania/src/MenuTimer.cpp index 05c94b8608..3c5661c7ec 100644 --- a/stepmania/src/MenuTimer.cpp +++ b/stepmania/src/MenuTimer.cpp @@ -25,6 +25,11 @@ MenuTimer::MenuTimer() void MenuTimer::Load( RString sMetricsGroup ) { + m_sprFrame.Load( THEME->GetPathG(sMetricsGroup, "Frame") ); + m_sprFrame->SetName( "Frame" ); + ActorUtil::LoadAllCommandsAndSetXY( m_sprFrame, sMetricsGroup ); + this->AddChild( m_sprFrame ); + for( int i=0; iGetPathF(sMetricsGroup,"numbers") ); diff --git a/stepmania/src/MenuTimer.h b/stepmania/src/MenuTimer.h index e8d1301b69..ea9eaf1f2c 100644 --- a/stepmania/src/MenuTimer.h +++ b/stepmania/src/MenuTimer.h @@ -7,6 +7,7 @@ #include "BitmapText.h" #include "RageSound.h" #include "ThemeMetric.h" +#include "AutoActor.h" class MenuTimer : public ActorFrame { @@ -46,6 +47,8 @@ protected: LuaReference m_exprFormatText[NUM_MENU_TIMER_TEXTS]; + AutoActor m_sprFrame; + RageSound m_soundBeep; ThemeMetric WARNING_START;