More effective-to-some fixes.

This commit is contained in:
Jason Felds
2011-03-22 22:39:40 -04:00
parent bdf1b86870
commit 35fb11c764
2 changed files with 11 additions and 10 deletions
+6 -8
View File
@@ -33,14 +33,12 @@ static const char *MusicWheelItemTypeNames[] = {
};
XToString( MusicWheelItemType );
MusicWheelItemData::MusicWheelItemData( WheelItemDataType type, Song* pSong, RString sSectionName, Course* pCourse, RageColor color, int iSectionCount ):
WheelItemBaseData(type, sSectionName, color)
{
m_pSong = pSong;
m_pCourse = pCourse;
m_Flags = WheelNotifyIcon::Flags();
m_iSectionCount = iSectionCount;
}
MusicWheelItemData::MusicWheelItemData( WheelItemDataType type, Song* pSong,
RString sSectionName, Course* pCourse,
RageColor color, int iSectionCount ):
WheelItemBaseData(type, sSectionName, color),
m_pCourse(pCourse), m_pSong(pSong), m_Flags(WheelNotifyIcon::Flags()),
m_iSectionCount(iSectionCount), m_sLabel(""), m_pAction() {}
MusicWheelItem::MusicWheelItem( RString sType ):
WheelItemBase( sType )
+5 -2
View File
@@ -62,8 +62,11 @@ private:
struct MusicWheelItemData : public WheelItemBaseData
{
MusicWheelItemData() : m_iSectionCount(0) { }
MusicWheelItemData( WheelItemDataType type, Song* pSong, RString sSectionName, Course* pCourse, RageColor color, int iSectionCount );
MusicWheelItemData() : m_pCourse(NULL), m_pSong(NULL), m_Flags(),
m_iSectionCount(0), m_sLabel(""), m_pAction() { }
MusicWheelItemData( WheelItemDataType type, Song* pSong,
RString sSectionName, Course* pCourse,
RageColor color, int iSectionCount );
Course* m_pCourse;
Song* m_pSong;