Lines Matching refs:m_pMenuOutlineView

125 	m_pMenuOutlineView = new BOutlineListView(r, "Menu Outline",  in MenuView()
127 m_pMenuOutlineView->SetSelectionMessage( in MenuView()
132 m_pMenuOutlineView, B_FOLLOW_LEFT | B_FOLLOW_TOP, 0, in MenuView()
178 m_pMenuOutlineView->SetTarget(this); in AllAttached()
191 m_pMenuOutlineView->AddItem(new BStringItem("Dummy")); in AllAttached()
192 float itemHeight = m_pMenuOutlineView->ItemFrame(0).Height(); in AllAttached()
195 delete m_pMenuOutlineView->RemoveItem((int32)0); in AllAttached()
232 BListItem* pListItem = m_pMenuOutlineView->ItemUnderAt(NULL, true, index); in PopulateUserMenu()
235 BuildMenuItems(pMenu, pListItem, m_pMenuOutlineView); in PopulateUserMenu()
257 m_pMenuOutlineView->AddItem(new BStringItem(menuName)); in AddMenu()
278 int32 selected = m_pMenuOutlineView->CurrentSelection(); in DeleteMenu()
283 (m_pMenuOutlineView->ItemAt(selected)); in DeleteMenu()
289 itemCount = m_pMenuOutlineView->CountItemsUnder(NULL, true); in DeleteMenu()
292 BListItem* pItem = m_pMenuOutlineView->ItemUnderAt(NULL, true, i); in DeleteMenu()
312 itemCount = m_pMenuOutlineView->CountItemsUnder(pSelItem, false); in DeleteMenu()
314 BListItem* pItem = m_pMenuOutlineView->ItemUnderAt(pSelItem, false, j); in DeleteMenu()
320 (m_pMenuOutlineView->Superitem(pSelItem)); in DeleteMenu()
324 m_pMenuOutlineView->RemoveItem(pSelItem); // removes super- and subitems 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()
354 m_pMenuOutlineView->AddItem(pCloneItem, index); in DeleteMenu()
369 int32 selected = m_pMenuOutlineView->CurrentSelection(); in AddMenuItem()
371 BListItem* pSelItem = m_pMenuOutlineView->ItemAt(selected); in AddMenuItem()
375 int32 index = m_pMenuOutlineView->FullListIndexOf(pSelItem) in AddMenuItem()
376 + m_pMenuOutlineView->CountItemsUnder(pSelItem, false) + 1; in AddMenuItem()
381 m_pMenuOutlineView->AddItem(new BStringItem(STR_SEPARATOR, level), in AddMenuItem()
384 m_pMenuOutlineView->AddItem(new BStringItem(itemName, level), in AddMenuItem()
397 m_pMenuOutlineView->Invalidate(); // outline view doesn't in AddMenuItem()
483 int32 index = m_pMenuOutlineView->CurrentSelection(); in SetButtonState()
491 (m_pMenuOutlineView->ItemAt(index)); in SetButtonState()
553 if (! m_pMenuOutlineView) { in Valid()