예제 #1
0
void CGUIGridList_Impl::SetItemData ( int iRow, int hColumn, const char* pszData )
{
    // Get the current item at that offset and set the text
    CGUIListItem* pItem = GetItem ( iRow, hColumn );
    if ( pItem )
    {
        pItem->SetData ( pszData );
    }
}
예제 #2
0
void CGUIGridList_Impl::SetItemData ( int iRow, int hColumn, void* pData, CGUICallback<void,void*> deleteDataCallback )
{
    // Get the current item at that offset and set the text
    CGUIListItem* pItem = GetItem ( iRow, hColumn );
    if ( pItem )
    {
        pItem->SetData ( pData, deleteDataCallback );
    }
}