/haiku/src/kits/interface/ |
H A D | ListItem.cpp | 18 BListItem::BListItem(uint32 level, bool expanded) in BListItem() function in BListItem 34 BListItem::BListItem(BMessage* data) in BListItem() function in BListItem 59 BListItem::~BListItem() in ~BListItem() 65 BListItem::Archive(BMessage* archive, bool deep) const in Archive() 85 BListItem::Height() const in Height() 92 BListItem::Width() const in Width() 99 BListItem::IsSelected() const in IsSelected() 106 BListItem::Select() in Select() 113 BListItem::Deselect() in Deselect() 120 BListItem::SetEnabled(bool on) in SetEnabled() [all …]
|
H A D | OutlineListView.cpp | 30 typedef int (*compare_func)(const BListItem* a, const BListItem* b); 40 bool operator()(const BListItem* a, const BListItem* b) const in operator ()() 51 _GetSubItems(BList& sourceList, BList& destList, BListItem* parent, int32 start) in _GetSubItems() 54 BListItem* item = (BListItem*)sourceList.ItemAt(i); in _GetSubItems() 66 BListItem* item = (BListItem*)list.ItemAt(firstIndex); in _DoSwap() 109 BListItem* item = dynamic_cast<BListItem*>(object); in BOutlineListView() 146 BListItem* item = NULL; in Archive() 147 while ((item = static_cast<BListItem*>(fFullList.ItemAt(i++)))) { in Archive() 176 BListItem* item = ItemAt(index); in MouseDown() 198 BListItem* item = ItemAt(currentSel); in KeyDown() [all …]
|
H A D | ListView.cpp | 128 BListItem* item = dynamic_cast<BListItem*>(object); in BListView() 179 BListItem* item; in Archive() 215 BListItem* item = ItemAt(i); in Draw() 601 if (BListItem* item = LastItem()) { in KeyDown() 718 BListItem* item = ItemAt(index); in MouseUp() 767 BListItem* last = ItemAt(lastIndex); in MouseMoved() 768 BListItem* item = ItemAt(index); in MouseMoved() 887 BListView::AddItem(BListItem* item, int32 index) in AddItem() 915 BListView::AddItem(BListItem* item) in AddItem() 978 BListItem* [all …]
|
H A D | StringItem.cpp | 24 BListItem(level, expanded), in BStringItem() 34 BListItem(archive), in BStringItem() 63 status_t status = BListItem::Archive(archive); in Archive() 140 return BListItem::Perform(d, arg); in Perform()
|
/haiku/headers/os/interface/ |
H A D | OutlineListView.h | 38 virtual bool AddUnder(BListItem* item, BListItem* superItem); 40 virtual bool AddItem(BListItem* item); 41 virtual bool AddItem(BListItem* item, int32 fullListIndex); 45 virtual bool RemoveItem(BListItem* item); 46 virtual BListItem* RemoveItem(int32 fullListIndex); 49 BListItem* FullListItemAt(int32 fullListIndex) const; 51 int32 FullListIndexOf(BListItem* item) const; 52 BListItem* FullListFirstItem() const; 53 BListItem* FullListLastItem() const; 54 bool FullListHasItem(BListItem* item) const; [all …]
|
H A D | ListItem.h | 20 class BListItem : public BArchivable { 22 BListItem(uint32 outlineLevel = 0, 24 BListItem(BMessage* archive); 25 virtual ~BListItem(); 58 BListItem(const BListItem& item); 59 BListItem& operator=(const BListItem& item); 88 BListItem::Top(void) const in Top() 95 BListItem::Bottom(void) const in Bottom()
|
H A D | ListView.h | 80 virtual bool AddItem(BListItem* item); 81 virtual bool AddItem(BListItem* item, int32 atIndex); 84 virtual bool RemoveItem(BListItem* item); 85 virtual BListItem* RemoveItem(int32 index); 99 BListItem* ItemAt(int32 index) const; 101 int32 IndexOf(BListItem* item) const; 102 BListItem* FirstItem() const; 103 BListItem* LastItem() const; 104 bool HasItem(BListItem* item) const; 108 void DoForEach(bool (*func)(BListItem* item)); [all …]
|
/haiku/src/preferences/network/ |
H A D | NetworkWindow.h | 50 _SettingsItemFor(BListItem* item); 51 void _SortItemsUnder(BListItem* item); 52 BListItem* _ListItemFor(BNetworkSettingsType type); 53 BListItem* _CreateItem(const char* label); 54 void _SelectItem(BListItem* listItem); 63 static const char* _ItemName(const BListItem* item); 64 static int _CompareTopLevelListItems(const BListItem* a, 65 const BListItem* b); 66 static int _CompareListItems(const BListItem* a, 67 const BListItem* b); [all …]
|
H A D | NetworkWindow.cpp | 223 BListItem* listItem = fListView->FullListItemAt( in MessageReceived() 426 BListItem* interfaceItem = iterator->second; in _ScanAddOns() 464 NetworkWindow::_SettingsItemFor(BListItem* item) in _SettingsItemFor() 475 NetworkWindow::_SortItemsUnder(BListItem* item) in _SortItemsUnder() 482 BListItem* 502 BListItem* 505 BListItem* item = new TitleItem(label); in _CreateItem() 513 NetworkWindow::_SelectItem(BListItem* listItem) in _SelectItem() 625 NetworkWindow::_ItemName(const BListItem* item) in _ItemName() 643 NetworkWindow::_CompareTopLevelListItems(const BListItem* a, const BListItem* b) in _CompareTopLevelListItems() [all …]
|
/haiku/src/tests/kits/interface/ |
H A D | OutlineListViewTest.cpp | 17 BListItem* gExpected[16]; 23 struct CppUnit::assertion_traits<BListItem*> 25 static bool equal(const BListItem* x, const BListItem* y) { in equal() 29 static string toString(const BListItem* x) { in toString() 37 BListItem* 38 CheckExpected(BListItem* item, void* arg) in CheckExpected() 50 BListItem* 51 FillExpected(BListItem* item, void* arg) in FillExpected() 60 CheckItemsUnder(BOutlineListView* view, BListItem* superitem, bool oneLevelOnly) in CheckItemsUnder() 66 CPPUNIT_ASSERT_EQUAL((BListItem*)NULL, view->ItemUnderAt(superitem, oneLevelOnly, gCount)); in CheckItemsUnder() [all …]
|
/haiku/docs/user/interface/ |
H A D | ListItem.dox | 23 \class BListItem 33 \fn BListItem::BListItem(uint32 level, bool expanded) 49 \fn BListItem::BListItem(BMessage* data) 59 \fn BListItem::~BListItem() 77 \fn status_t BListItem::Archive(BMessage* archive, bool deep) const 88 \fn void BListItem::DrawItem(BView* owner, BRect frame, bool complete) 104 \fn float BListItem::Height() const 114 \fn float BListItem::Width() const 124 \fn bool BListItem::IsSelected() const 134 \fn void BListItem::Select() [all …]
|
H A D | OutlineListView.dox | 240 \fn bool BOutlineListView::AddUnder(BListItem* item, BListItem* superItem) 253 \fn bool BOutlineListView::AddItem(BListItem* item) 265 \fn bool BOutlineListView::AddItem(BListItem* item, int32 fullListIndex) 303 \fn bool BOutlineListView::RemoveItem(BListItem* item) 315 \fn BListItem* BOutlineListView::RemoveItem(int32 fullListIndex) 318 \return A pointer to the BListItem removed. 349 \fn BListItem* BOutlineListView::FullListItemAt(int32 fullListIndex) const 350 \brief Returns a pointer to the BListItem at \a fullListIndex. 352 \return A pointer to the the BListItem at \a fullListIndex or \c NULL if not 367 \see BListView::IndexOf(BListItem* item) [all …]
|
/haiku/src/apps/icon-o-matic/generic/gui/ |
H A D | ListViews.cpp | 235 BListItem* item = ItemAt(index); in MouseDown() 356 BListItem* item = ItemAt(index); in ObjectChanged() 369 BListItem* item = ItemAt(i); in ObjectChanged() 456 BListItem* item = ItemAt(index); in HandleDropMessage() 490 BListItem* item = (BListItem*)items.ItemAt(i); in MoveItems() 499 BListItem* item = (BListItem*)removedItems.ItemAt(i); i++) { in MoveItems() 522 BListItem* item = CloneItem(IndexOf((BListItem*)items.ItemAt(i))); in CopyItems() 527 BListItem* item = (BListItem*)clonedItems.ItemAt(i); i++) { in CopyItems() 544 BListItem* item = (BListItem*)items.ItemAt(i); in RemoveItemList() 558 for (int32 i = 0; BListItem* item = ItemAt(CurrentSelection(i)); i++) in RemoveSelected() [all …]
|
H A D | ListViews.h | 100 virtual Selectable* SelectableFor(BListItem* item) const; 108 virtual BListItem* CloneItem(int32 atIndex) const = 0; 126 BListItem* fLastClickedItem; 156 virtual BListItem* CloneItem(int32 atIndex) const;
|
/haiku/src/preferences/filetypes/ |
H A D | MimeTypeListView.h | 36 static int Compare(const BListItem* a, const BListItem* b); 37 static int CompareLabels(const BListItem* a, const BListItem* b);
|
/haiku/src/add-ons/network_settings/dialup/ |
H A D | AddOn.cpp | 52 virtual BListItem* ListItem(); 60 BListItem* fItem; 94 BListItem*
|
/haiku/src/add-ons/network_settings/vpn/ |
H A D | VPNInterfaceAddOn.cpp | 67 virtual BListItem* ListItem(); 75 BListItem* fItem; 124 BListItem*
|
/haiku/src/add-ons/network_settings/telnetd/ |
H A D | TelnetServiceAddOn.cpp | 44 virtual BListItem* ListItem(); 54 BListItem* fItem; 88 BListItem*
|
/haiku/src/add-ons/network_settings/ftpd/ |
H A D | FTPServiceAddOn.cpp | 44 virtual BListItem* ListItem(); 54 BListItem* fItem; 87 BListItem*
|
/haiku/src/apps/softwareupdater/ |
H A D | SoftwareUpdaterWindow.h | 38 class SuperItem : public BListItem { 68 class PackageItem : public BListItem { 115 void ExpandOrCollapse(BListItem *superItem, 216 int SortPackageItems(const BListItem* item1, const BListItem* item2);
|
/haiku/src/apps/mediaplayer/playlist/ |
H A D | ListViews.cpp | 226 BListItem* item = ItemAt( CurrentSelection( 0 ) ); in InitiateDrag() 242 for (numItems = 0; BListItem* item = ItemAt( CurrentSelection( numItems ) ); numItems++) { in InitiateDrag() 261 BListItem* item = ItemAt( index ); in InitiateDrag() 419 for (int32 i = 0; BListItem* item = ItemAt(i); i++) { in MouseDown() 436 BListItem* item = ItemAt(clickedIndex); in MouseDown() 505 DragSortableListView::DrawItem( BListItem *item, BRect itemFrame, bool complete ) in DrawItem() 645 BListItem* item = RemoveItem(removeIndex); in MoveItems() 654 BListItem* item = (BListItem*)removedItems.ItemAtFast(i); in MoveItems() 678 BListItem* item = CloneItem(index); in CopyItems() 684 BListItem* item = (BListItem*)clonedItems.ItemAtFast(i); in CopyItems() [all …]
|
H A D | ListViews.h | 69 virtual void DrawItem(BListItem *item, BRect itemFrame, 103 virtual BListItem* CloneItem(int32 atIndex) const = 0; 122 BListItem* fLastClickedItem; 145 virtual BListItem* CloneItem(int32 atIndex) const;
|
/haiku/src/tests/kits/interface/menu/menuworld/ |
H A D | MenuView.h | 21 class BListItem; variable 64 void BuildMenuItems(BMenu* pMenu, BListItem* superitem,
|
/haiku/src/apps/devices/ |
H A D | DevicesView.h | 62 static int SortItemsCompare(const BListItem*, const BListItem*);
|
/haiku/src/apps/cortex/DormantNodeView/ |
H A D | DormantNodeListItem.h | 64 public BListItem { 65 typedef BListItem _inherited;
|