This commit is contained in:
Glenn Maynard
2005-05-05 02:41:01 +00:00
parent 674e13061d
commit 1cfea8283c
2 changed files with 14 additions and 1 deletions
+13
View File
@@ -252,6 +252,19 @@ void MusicWheelItem::RefreshGrades()
}
}
void MusicWheelItem::DrawPrimitives()
{
Sprite *pBar = NULL;
if( m_sprBar.GetVisible() )
pBar = &m_sprBar;
else if( m_sprSectionBar.GetVisible() )
pBar = &m_sprSectionBar;
else
pBar = &m_sprExpandedBar;
WheelItemBase::DrawPrimitives( *pBar );
}
/*
* (c) 2001-2004 Chris Danford, Chris Gomez, Glenn Maynard
* All rights reserved.
+1 -1
View File
@@ -40,7 +40,7 @@ public:
BitmapText m_textSort;
GradeDisplay m_GradeDisplay[NUM_PLAYERS];
void DrawPrimitives() { WheelItemBase::DrawPrimitives(m_sprBar.GetVisible() ? m_sprBar : (m_sprSectionBar.GetVisible() ? m_sprSectionBar : m_sprExpandedBar)); }
void DrawPrimitives();
};
struct WheelItemData : public WheelItemBaseData