Home
last modified time | relevance | path

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

/haiku/src/tests/kits/interface/menu/menuworld/
H A DMenuView.cpp292 BListItem* pItem = m_pMenuOutlineView->ItemUnderAt(NULL, true, i); in DeleteMenu() local
293 if (pItem == pSelItem) { in DeleteMenu()
314 BListItem* pItem = m_pMenuOutlineView->ItemUnderAt(pSelItem, false, j); in DeleteMenu() local
315 subItems.AddItem(pItem); in DeleteMenu()
339 BListItem* pItem = reinterpret_cast<BListItem*>(subItems.ItemAt(j)); in DeleteMenu() local
340 delete pItem; // deletes subitems in DeleteMenu()
432 BStringItem* pItem = dynamic_cast<BStringItem*> in BuildMenuItems() local
434 if (pItem) { in BuildMenuItems()
435 if (pView->CountItemsUnder(pItem, true) > 0) { in BuildMenuItems()
437 BMenu* pNewMenu = new BMenu(pItem->Text()); in BuildMenuItems()
[all …]
H A DTestMenuBuilder.cpp54 BitmapMenuItem *pItem = new BitmapMenuItem(name, *pBitmap, in BuildTestMenu() local
56 pItemArray[i][j] = pItem; in BuildTestMenu()
57 pTypicalItem = pItem; in BuildTestMenu()
85 BitmapMenuItem* pItem = pItemArray[i][j]; in BuildTestMenu() local
86 if (pItem) { in BuildTestMenu()
91 pMenu->AddItem(pItem, frame); in BuildTestMenu()
H A DMenuWindow.cpp222 BMenuItem* pItem = m_pFullMenuBar->ItemAt(i+2); in DeleteMenu() local
223 if (pItem) { in DeleteMenu()
225 m_pFullMenuBar->RemoveItem(pItem); in DeleteMenu()
226 UpdateStatus(STR_STATUS_DELETE_MENU, pItem->Label()); in DeleteMenu()
227 delete pItem; in DeleteMenu()
/haiku/src/apps/soundrecorder/
H A DRecorderWindow.cpp769 SoundListItem* pItem = dynamic_cast<SoundListItem*>(fSoundList->ItemAt(index)); in Save() local
770 if ((! pItem) || (pItem->Entry().InitCheck() != B_OK)) in Save()
775 pItem->Entry().GetName(filename); in Save()
778 pItem->Entry().GetRef(&ref); in Save()
780 if (saveMsg.AddPointer("sound list item", pItem) != B_OK) in Save()
797 SoundListItem* pItem; in DoSave() local
799 if ((message->FindPointer("sound list item", (void**) &pItem) == B_OK) in DoSave()
802 BEntry& oldEntry = pItem->Entry(); in DoSave()
821 if (pItem->IsTemp()) in DoSave()
824 pItem->SetTemp(false); // don't blow the new entry away when we exit! in DoSave()
[all …]
/haiku/src/apps/softwareupdater/
H A DSoftwareUpdaterWindow.cpp1282 PackageItem* pItem = dynamic_cast<PackageItem*>(item); in ZoomPoint() local
1283 itemWidth = fShowMoreDetails ? pItem->MoreDetailsWidth() in ZoomPoint()
1284 : pItem->LessDetailsWidth(); in ZoomPoint()