Home
last modified time | relevance | path

Searched refs:pSuperitem (Results 1 – 1 of 1) sorted by relevance

/haiku/src/tests/kits/interface/menu/menuworld/
H A DMenuView.cpp319 BStringItem* pSuperitem = dynamic_cast<BStringItem*> in DeleteMenu() local
344 if (pSuperitem) { in DeleteMenu()
348 if (! m_pMenuOutlineView->CountItemsUnder(pSuperitem, true)) in DeleteMenu()
350 int32 index = m_pMenuOutlineView->FullListIndexOf(pSuperitem); in DeleteMenu()
351 m_pMenuOutlineView->RemoveItem(pSuperitem); in DeleteMenu()
353 pSuperitem->Text(), pSuperitem->OutlineLevel()); in DeleteMenu()
355 delete pSuperitem; in DeleteMenu()
417 void MenuView::BuildMenuItems(BMenu* pMenu, BListItem* pSuperitem, in BuildMenuItems() argument
420 if ((! pMenu) || (! pSuperitem) || (! pView)) { in BuildMenuItems()
424 int32 len = pView->CountItemsUnder(pSuperitem, true); in BuildMenuItems()
[all …]