LoadFromFont
This commit is contained in:
@@ -695,6 +695,7 @@ void ScreenGameplay::Init( bool bUseSongBackgroundAndForeground )
|
|||||||
|
|
||||||
|
|
||||||
m_BPMDisplay.SetName( "BPMDisplay" );
|
m_BPMDisplay.SetName( "BPMDisplay" );
|
||||||
|
m_BPMDisplay.LoadFromFont( THEME->GetPathF("BPMDisplay","bpm") );
|
||||||
m_BPMDisplay.Load();
|
m_BPMDisplay.Load();
|
||||||
SET_XY( m_BPMDisplay );
|
SET_XY( m_BPMDisplay );
|
||||||
this->AddChild( &m_BPMDisplay );
|
this->AddChild( &m_BPMDisplay );
|
||||||
|
|||||||
@@ -84,6 +84,7 @@ void ScreenNetSelectMusic::Init()
|
|||||||
ON_COMMAND( m_MusicWheel );
|
ON_COMMAND( m_MusicWheel );
|
||||||
|
|
||||||
m_BPMDisplay.SetName( "BPMDisplay" );
|
m_BPMDisplay.SetName( "BPMDisplay" );
|
||||||
|
m_BPMDisplay.LoadFromFont( THEME->GetPathF("BPMDisplay","bpm") );
|
||||||
m_BPMDisplay.Load();
|
m_BPMDisplay.Load();
|
||||||
SET_XY_AND_ON_COMMAND( m_BPMDisplay );
|
SET_XY_AND_ON_COMMAND( m_BPMDisplay );
|
||||||
this->AddChild( &m_BPMDisplay );
|
this->AddChild( &m_BPMDisplay );
|
||||||
|
|||||||
Reference in New Issue
Block a user