make calls to THEME->GetPathTo() more concise
This commit is contained in:
@@ -33,13 +33,13 @@ const float ROWS_BETWEEN_HOLD_BITS = 1 / HOLD_NOTE_BITS_PER_ROW;
|
||||
|
||||
NoteField::NoteField()
|
||||
{
|
||||
m_textMeasureNumber.LoadFromFont( THEME->GetPathTo("Fonts","Common normal") );
|
||||
m_textMeasureNumber.LoadFromFont( THEME->GetPathToF("Common normal") );
|
||||
m_textMeasureNumber.SetZoom( 1.0f );
|
||||
|
||||
m_rectMarkerBar.EnableShadow( false );
|
||||
m_rectMarkerBar.SetEffectDiffuseShift( 2, RageColor(1,1,1,0.5f), RageColor(0.5f,0.5f,0.5f,0.5f) );
|
||||
|
||||
m_sprBars.Load( THEME->GetPathTo("Graphics","NoteField bars") );
|
||||
m_sprBars.Load( THEME->GetPathToG("NoteField bars") );
|
||||
m_sprBars.StopAnimating();
|
||||
|
||||
m_fBeginMarker = m_fEndMarker = -1;
|
||||
|
||||
Reference in New Issue
Block a user