• 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

328 	// Find the best place to position the item through a binary search
335 // This search will find the place to position the new item
337 // The result will be the position the new item will have
339 // If the item equals another item it will be inserted after it.
424 // Store the focused item
438 // Set focus on item if any was focused
455 // Current item being located
474 wxListItem item;
477 GetColumn(i, item);
479 menu.AppendCheckItem(i + MP_LISTCOL_1, item.GetText() );
594 bool CMuleListCtrl::IsItemSorted(long item)
597 wxCHECK_MSG((item >= 0) && (item < GetItemCount()), true, wxT("Invalid item"));
600 wxUIntPtr data = GetItemData(item);
602 // Check that the item before the current item is smaller (or equal)
603 if (item > 0) {
604 sorted &= (CompareItems(GetItemData(item - 1), data) <= 0);
607 // Check that the item after the current item is greater (or equal)
608 if (sorted && (item < GetItemCount() - 1)) {
609 sorted &= (CompareItems(GetItemData(item + 1), data) >= 0);
625 wxListItem item;
626 item.SetMask(wxLIST_MASK_IMAGE);
627 item.SetImage(image);
628 SetColumn(col, item);
644 long item = event.GetIndex();
646 // Check if clicked item is selected. If not, unselect all and select it.
647 if ((item != -1) && !GetItemState(item, wxLIST_STATE_SELECTED)) {
650 SetItemState(item, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED);
653 return item;
657 wxString CMuleListCtrl::GetTTSText(unsigned item) const
659 MULE_VALIDATE_PARAMS(item < (unsigned)GetItemCount(), wxT("Invalid row."));
663 return GetItemText(item);
727 // Crop the string so that it matches the old item (avoid typos).
760 // The item is changed so that the next TTS starts from the selected item.