More effective-to-some fixes.
This commit is contained in:
@@ -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 )
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user