• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/

Lines Matching refs:item

226 	long item = InsertItem( GetItemCount(), wxEmptyString );
227 SetItemPtrData( item, reinterpret_cast<wxUIntPtr>(newitem) );
228 SetItemBackgroundColour( item, GetBackgroundColour() );
274 ClientCtrlItem_Struct* item = it->second;
276 long index = FindItem( -1, reinterpret_cast<wxUIntPtr>(item) );
282 delete item;
328 ClientCtrlItem_Struct* item = it->second;
330 long index = FindItem( -1, reinterpret_cast<wxUIntPtr>(item) );
333 item->GetSource().GetRequestFile()
334 && std::binary_search(m_knownfiles.begin(), m_knownfiles.end(), item->GetSource().GetRequestFile())) {
336 item->SetType(AVAILABLE_SOURCE);
338 item->SetType(type);
341 item->dwUpdated = 0;
378 ClientCtrlItem_Struct* item = tmp->second;
379 if (!std::binary_search(files.begin(), files.end(), item->GetOwner())) {
469 ClientCtrlItem_Struct* item = (ClientCtrlItem_Struct*)list->GetItemData( index );
471 results.push_back( item );
582 ClientCtrlItem_Struct* item = (ClientCtrlItem_Struct*)GetItemData( index );
583 CClientRef& client = item->GetSource();
603 m_menu->Enable(MP_CHANGE2FILE, (item->GetType() == A4AF_SOURCE));
619 // Check if clicked item is selected. If not, unselect all and select it.
640 int item, wxDC* dc, const wxRect& rect, const wxRect& rectHL, bool highlighted)
647 ClientCtrlItem_Struct* content = (ClientCtrlItem_Struct *)GetItemData(item);
699 // Draw the item
708 void CGenericClientListCtrl::DrawClientItem(wxDC* dc, int nColumn, const wxRect& rect, ClientCtrlItem_Struct* item, int iTextOffset, int iBitmapOffset, int iBitmapXSize ) const
713 const CClientRef& client = item->GetSource();
724 if (item->GetType() != A4AF_SOURCE) {
866 if (item->GetType() != A4AF_SOURCE && client.GetTransferredDown()) {
872 if (item->GetType() != A4AF_SOURCE && client.GetTransferredUp()) {
878 if (item->GetType() != A4AF_SOURCE && client.GetKBpsDown() > 0.001) {
885 if (item->GetType() != A4AF_SOURCE && client.GetUploadDatarate() > 1024) {
898 if ( item->GetType() != A4AF_SOURCE ) {
903 if ( item->dwUpdated < dwTicks || !item->status ||
904 iWidth != item->status->GetWidth() ) {
906 if (item->status == NULL) {
907 item->status = new wxBitmap(iWidth, iHeight);
908 } else if ( item->status->GetWidth() != iWidth ) {
910 item->status->Create(iWidth, iHeight);
913 cdcStatus.SelectObject(*(item->status));
929 item->dwUpdated = dwTicks + 10000;
931 cdcStatus.SelectObject(*(item->status));
979 if ( item->GetType() != A4AF_SOURCE && client.GetDownloadState() == DS_ONQUEUE ) {
1001 if (item->GetType() != A4AF_SOURCE) {
1020 if (item->GetType() != A4AF_SOURCE) {
1070 if (client.GetClientFilename().IsEmpty() || item->GetType() == A4AF_SOURCE) {