Include the index of which a wheel item was drawn as a parameter for additional control when scripting themes via lua.

This commit is contained in:
Andrew Livy
2009-04-28 21:44:03 +00:00
parent 7c7724205f
commit 1dd374f53f
7 changed files with 12 additions and 10 deletions
+1 -1
View File
@@ -481,7 +481,7 @@ void WheelBase::RebuildWheelItems( int iDist )
wrap( iIndex, data.size() );
const WheelItemBaseData *pData = data[iIndex];
WheelItemBase *pDisplay = items[i];
pDisplay->LoadFromWheelItemData( pData, iIndex, m_iSelection==iIndex );
pDisplay->LoadFromWheelItemData( pData, iIndex, m_iSelection==iIndex, i );
}
}