/haiku/src/preferences/filetypes/ |
H A D | AttributeWindow.cpp | 115 BMenuItem* item = NULL; local 120 item = new BMenuItem(kTypeMap[i].name, message); 121 fTypeMenu->AddItem(item); 124 item->SetMarked(true); 149 item = new BMenuItem(kDisplayAsMap[i].name, message); 150 menu->AddItem(item); 154 item->SetMarked(true); 210 item = new BMenuItem(kAlignmentMap[i].name, message); 211 menu->AddItem(item); 214 item 281 BMenuItem* item = fTypeMenu->FindMarked(); local 308 BMenuItem* item = menu->ItemAt(i); local 339 AttributeItem* item = _NewItemFromCurrent(); local 359 BMenuItem* item = fAlignmentMenuField->Menu()->FindMarked(); local 440 AttributeItem* item = create_attribute_item(attributes, i); local 451 AttributeItem* item = (AttributeItem*)list.ItemAt(i); local [all...] |
/haiku/headers/os/media/ |
H A D | MediaFiles.h | 29 virtual status_t GetRefFor(const char* type, const char* item, 31 virtual status_t SetRefFor(const char* type, const char* item, 35 const char* item, float* _gain); 37 const char* item, float gain); 41 const char* item, const entry_ref& ref); 43 virtual status_t RemoveItem(const char* type, const char* item);
|
/haiku/src/apps/deskbar/ |
H A D | TeamMenu.cpp | 103 // calculate the minimum item width based on font and icon size 145 TTeamMenuItem* item = new TTeamMenuItem(barInfo->teams, local 150 AddItem(item, 0); 152 AddItem(item); 154 if (dragging && item != NULL) { 155 bool canhandle = fBarView->AppCanHandleTypes(item->Signature()); 156 if (item->IsEnabled() != canhandle) 157 item->SetEnabled(canhandle); 159 BMenu* menu = item->Submenu(); 168 BMenuItem* item local 205 TTeamMenuItem* item = NULL; local 253 BMenuItem* item = ItemAt(index); local [all...] |
/haiku/src/add-ons/input_server/methods/t9/ |
H A D | DictionaryInputServerMethod.cpp | 96 BMenuItem *item; local 97 item = new BMenuItem(_T("Word mode"), msg); 98 item->SetMarked(true); 99 fDeskbarMenu->AddItem(item); 102 item = new BMenuItem(_T("Character mode"), msg); 103 fDeskbarMenu->AddItem(item); 106 item = new BMenuItem(_T("Numeric mode"), msg); 107 fDeskbarMenu->AddItem(item); 194 BMenuItem *item; local 197 item [all...] |
H A D | T9InputServerMethod.cpp | 97 BMenuItem *item; local 98 item = new BMenuItem(_T("Word mode"), msg); 99 item->SetMarked(true); 100 fDeskbarMenu->AddItem(item); 103 item = new BMenuItem(_T("Character mode"), msg); 104 fDeskbarMenu->AddItem(item); 107 item = new BMenuItem(_T("Numeric mode"), msg); 108 fDeskbarMenu->AddItem(item); 195 BMenuItem *item; local 198 item [all...] |
/haiku/src/add-ons/kernel/drivers/bluetooth/h2/h2generic/ |
H A D | snet_buffer.cpp | 190 snet_buffer* item = NULL; local 193 while ((item = (snet_buffer*)list_get_next_item(l, item)) != NULL) { 195 if (item->allocatedSize > snb->allocatedSize) { 196 list_insert_item_before(l, item, snb); 208 snet_buffer* item = NULL; local 212 while ((item = (snet_buffer*)list_get_next_item(l, item)) != NULL) { 213 if (item->allocatedSize >= size) { 219 newitem = snb_attempt_reuse(item, siz 236 snet_buffer* item = NULL; local [all...] |
/haiku/src/apps/webpositive/tabview/ |
H A D | TabContainerView.cpp | 90 TabLayoutItem* item = dynamic_cast<TabLayoutItem*>(layout->ItemAt(i)); local 91 if (item == NULL || !item->IsVisible()) 93 item->Parent()->Draw(item->Frame()); 202 TabLayoutItem* item local 204 if (item != NULL) 205 item->Parent()->Update(); 217 TabLayoutItem* item local 219 if (item 264 TabLayoutItem* item = dynamic_cast<TabLayoutItem*>( local 287 TabLayoutItem* item = dynamic_cast<TabLayoutItem*>( local 327 TabLayoutItem* item = dynamic_cast<TabLayoutItem*>( local 370 TabLayoutItem* item = dynamic_cast<TabLayoutItem*>( local 401 TabLayoutItem* item = dynamic_cast<TabLayoutItem*>( local 418 TabLayoutItem* item = dynamic_cast<TabLayoutItem*>(layout->ItemAt(i)); local 485 TabLayoutItem* item = dynamic_cast<TabLayoutItem*>( local [all...] |
/haiku/src/preferences/mail/ |
H A D | AutoConfigView.cpp | 130 BMenuItem* item = fInProtocolsField->Menu()->FindMarked(); local 131 if (item) { 132 inboundProtocolName = item->Label(); 133 item->Message()->FindRef("protocol", &(info.inboundProtocol)); 177 BMenuItem* item = new BMenuItem(entry.Name(), msg); local 178 menu->AddItem(item); 181 item->SetMarked(true); 328 BMenuItem *item = NULL; local 330 item = fInboundEncryptionMenu->Menu()->ItemAt( 332 if (item ! 376 BMenuItem* item = fOutboundAuthMenu->Menu()->ItemAt( local 388 BMenuItem* item = fOutboundEncryptionMenu->Menu()->ItemAt( local 423 BMenuItem* item = fInboundEncryptionMenu->Menu()->FindMarked(); local 431 BMenuItem* item = NULL; local 448 BMenuItem* item = NULL; local 489 BMenuItem *item = field->Menu()->FindMarked(); local [all...] |
/haiku/headers/os/interface/ |
H A D | GroupLayout.h | 32 virtual bool AddItem(BLayoutItem* item); 33 virtual bool AddItem(int32 index, BLayoutItem* item); 34 virtual bool AddItem(BLayoutItem* item, float weight); 35 virtual bool AddItem(int32 index, BLayoutItem* item, 46 virtual status_t ItemArchived(BMessage* into, BLayoutItem* item, 49 BLayoutItem* item, int32 index); 51 virtual bool ItemAdded(BLayoutItem* item, int32 atIndex); 52 virtual void ItemRemoved(BLayoutItem* item, int32 fromIndex); 62 virtual void GetItemDimensions(BLayoutItem* item, 85 ItemLayoutData* _LayoutDataForItem(BLayoutItem* item) cons [all...] |
/haiku/src/kits/storage/ |
H A D | Resources.cpp | 425 ResourceItem* item = new(nothrow) ResourceItem; local 426 if (!item) 429 item->SetIdentity(type, id, name); 430 ssize_t written = item->WriteAt(0, data, length); 437 if (!fContainer->AddResource(item)) 441 delete item; 470 ResourceItem* item = NULL; local 472 item = fContainer->ResourceAt(byIndex); 473 if (item) { 475 *typeFound = item 492 ResourceItem* item = NULL; local 514 ResourceItem* item = NULL; local 532 ResourceItem* item = NULL; local 550 ResourceItem* item = NULL; local 577 ResourceItem* item local 596 ResourceItem* item local 655 ResourceItem* item = NULL; local [all...] |
/haiku/src/apps/launchbox/ |
H A D | PadView.cpp | 304 BLayoutItem* item = fButtonLayout->ItemAt(index); local 305 if (item == NULL) 307 return dynamic_cast<LaunchButton*>(item->View()); 330 BMenuItem* item = new BMenuItem(B_TRANSLATE("Add button here"), message); local 331 item->SetTarget(window); 332 menu->AddItem(item); 338 item = new BMenuItem(B_TRANSLATE("Clear button"), message); 339 item->SetTarget(window); 340 menu->AddItem(item); 344 item [all...] |
/haiku/src/kits/support/ |
H A D | List.cpp | 104 BList::AddItem(void* item, int32 index) argument 116 fObjectList[index] = item; 123 BList::AddItem(void* item) argument 127 fObjectList[fItemCount] = item; 131 fObjectList[fItemCount] = item; 182 BList::RemoveItem(void* item) argument 184 int32 index = IndexOf(item); 195 void* item = NULL; local 197 item = fObjectList[index]; 203 return item; 228 ReplaceItem(int32 index, void* item) argument 311 void* item = NULL; local 321 void* item = NULL; local 345 void* item = NULL; local [all...] |
/haiku/src/kits/interface/ |
H A D | Menu.cpp | 141 { B_DIRECT_SPECIFIER, 0 }, "Returns true if menu or menu item is " 147 { B_DIRECT_SPECIFIER, 0 }, "Enables or disables menu or menu item.", 153 "menu item.", 159 "item.", 164 { B_DIRECT_SPECIFIER, 0 }, "Returns true if the menu item or the " 170 { B_DIRECT_SPECIFIER, 0 }, "Marks or unmarks the menu item or the " 177 "Adds a new menu item at the specified index with the text label " 179 "the what field in the BMessage sent by the item)." , 0, {}, 203 "Adds a new menu item at the specified index with the text label " 205 "the what field in the BMessage sent by the item) 390 BMenuItem* item = NULL; local 532 BMenuItem* item = Superitem(); local 611 BMenuItem* item = ItemAt(i); local 730 AddItem(BMenuItem* item) argument 737 AddItem(BMenuItem* item, int32 index) argument 770 AddItem(BMenuItem* item, BRect frame) argument 806 BMenuItem* item = new (nothrow) BMenuItem(submenu); local 828 BMenuItem* item = new (nothrow) BMenuItem(submenu); local 850 BMenuItem* item = new (nothrow) BMenuItem(submenu); local 875 BMenuItem* item = static_cast<BMenuItem*>(list->ItemAt(i)); local 900 BMenuItem* item = new (nothrow) BSeparatorItem(); local 911 RemoveItem(BMenuItem* item) argument 920 BMenuItem* item = ItemAt(index); local 965 BMenuItem* item = static_cast<BMenuItem*>(fItems.ItemAt(index)); local 992 BMenuItem* item = NULL; local 1014 BMenuItem* item = NULL; local 1158 BMenuItem* item = ItemAt(i); local 1172 BMenuItem* item = ItemAt(i); local 1718 BMenuItem *item = Superitem(); local 1729 ObjectDeleter<BMenuItem> item; local 1753 BMenuItem *item = NULL; local 1773 BMenuItem *item; local 1793 ObjectDeleter<BMenuItem> item; local 1828 BMenuItem *item = NULL; local 1841 BMenuItem *item = NULL; local 1853 BMenuItem *item = NULL; local 1879 _ItemScriptReceived(BMessage* message, BMenuItem* item) argument 1954 _ResolveItemSpecifier(const BMessage& specifier, int32 what, BMenuItem*& item, int32 *_index) argument 1990 _InsertItemAtSpecifier(const BMessage& specifier, int32 what, BMenuItem* item) argument 2026 BMenuItem* item = NULL; local 2281 _UpdateStateOpenSelect(BMenuItem* item, BPoint position, BRect& navAreaRectAbove, BRect& navAreaRectBelow, bigtime_t& selectedTime, bigtime_t& navigationAreaTime) argument 2367 _UpdateStateClose(BMenuItem* item, const BPoint& where, const uint32& buttons) argument 2400 _AddItem(BMenuItem* item, int32 index) argument 2428 _RemoveItems(int32 index, int32 count, BMenuItem* item, bool deleteItems) argument 2630 BMenuItem* item = ItemAt(index); local 2711 BMenuItem* item = ItemAt(i); local 2742 BMenuItem* item = ItemAt(i); local 2891 _InvokeItem(BMenuItem* item, bool now) argument 2941 _OverSubmenu(BMenuItem* item, BPoint loc) argument 2995 BMenuItem* item = ItemAt(i); local 3025 _ItemMarked(BMenuItem* item) argument 3056 _SelectItem(BMenuItem* item, bool showSubmenu, bool selectFirstItem, bool keyDown) argument 3088 _SelectNextItem(BMenuItem* item, bool forward) argument 3109 _NextItem(BMenuItem* item, bool forward) const argument 3257 BMenuItem* item = ItemAt(i); local 3395 _OkToProceed(BMenuItem* item, bool keyDown) argument [all...] |
H A D | CardLayout.cpp | 70 BCardLayout::SetVisibleItem(BLayoutItem* item) argument 72 if (item == fVisibleItem) 75 if (item != NULL && IndexOfItem(item) < 0) { 76 debugger("BCardLayout::SetVisibleItem(BLayoutItem*): this item is not " 77 "part of this layout, or the item does not exist."); 81 // Changing an item's visibility will invalidate its parent's layout (us), 89 fVisibleItem = item; 156 BLayoutItem* item = ItemAt(i); local 157 if (item 246 ItemArchived(BMessage* into, BLayoutItem* item, int32 index) const argument 253 ItemUnarchived(const BMessage* from, BLayoutItem* item, int32 index) argument 271 ItemAdded(BLayoutItem* item, int32 atIndex) argument 282 ItemRemoved(BLayoutItem* item, int32 fromIndex) argument 308 BLayoutItem* item = ItemAt(i); local [all...] |
/haiku/src/add-ons/screen_savers/spider/ |
H A D | SpiderView.cpp | 109 BColorMenuItem* item; local 115 item = new BColorMenuItem(B_TRANSLATE("Red"), message, 117 item->SetMarked(color == RED); 118 menu->AddItem(item); 123 item = new BColorMenuItem(B_TRANSLATE("Green"), message, 125 item->SetMarked(color == GREEN); 126 menu->AddItem(item); 131 item = new BColorMenuItem(B_TRANSLATE("Blue"), message, 133 item->SetMarked(color == BLUE); 134 menu->AddItem(item); [all...] |
/haiku/src/apps/mail/ |
H A D | Prefs.cpp | 295 BMenuItem* item; local 323 item = fFontMenu->FindItem(label); 324 if (item != NULL) 325 item->SetMarked(true); 331 item = fSizeMenu->FindItem(label); 332 if (item != NULL) 333 item->SetMarked(true); 357 BMenuItem *item = fAccountMenu->ItemAt(i); local 358 BMessage* itemMessage = item->Message(); 361 item 464 BMenuItem *item = fReplyPreambleMenu->ItemAt(index); local 562 BMenuItem *item = new BMenuItem(f_style, msg); local 573 BMenuItem *item = menu->ItemAt(family_menu_index); local 591 BMenuItem* item; local 616 BMenuItem* item; local 647 BMenuItem* item; local 694 BMenuItem* item; local 742 BMenuItem* item; local 763 BMenuItem* item; local 794 BMenuItem* item; local 827 BMenuItem* item; local 889 BMenuItem* item; local [all...] |
/haiku/src/preferences/shortcuts/ |
H A D | PopUpColumn.cpp | 60 BMenuItem* item; local 61 for (int i = 0; (item = fMenu->ItemAt(i)) != NULL; i++) 62 if (strcmp(stringField->String(), item->Label()) == 0) { 63 item = fMenu->ItemAt((i + 1) % fMenu->CountItems()); 66 if (item == NULL) 67 item = fMenu->ItemAt(fCycleInit); 68 msg->SetString("text", item->Label());
|
/haiku/src/apps/icon-o-matic/gui/ |
H A D | PathListView.cpp | 318 PathListItem* item local 322 message.AddPointer("path", item ? (void*)item->path : NULL); 341 PathListItem* item = dynamic_cast<PathListItem*>(ItemAt(index)); local 342 if (item != NULL) { 347 VectorPath* path = item->path; 437 PathListItem* item = dynamic_cast<PathListItem*>( local 439 if (item == NULL) 444 new_path(fPathContainer, &path, &command, item->path); 451 PathListItem* item local 464 PathListItem* item = dynamic_cast<PathListItem*>( local 478 PathListItem* item = dynamic_cast<PathListItem*>( local 508 PathListItem* item = dynamic_cast<PathListItem*>( local 581 PathListItem* item local 607 PathListItem* item local 868 PathListItem* item = _ItemForPath(path); local 882 PathListItem* item = dynamic_cast<PathListItem*>(ItemAt(i)); local 903 PathListItem* item = dynamic_cast<PathListItem*>(ItemAt(i)); local 912 PathListItem* item = dynamic_cast<PathListItem*>(ItemAt(i)); local 926 PathListItem* item = _ItemForPath(path); local [all...] |
/haiku/src/preferences/printers/ |
H A D | JobListView.cpp | 81 JobItem* item = dynamic_cast<JobItem*>(ItemAt(i)); local 82 if (item && item->GetJob() == job) 83 return item; 107 JobItem* item = FindJob(job); local 108 if (item) { 109 RemoveItem(item); 110 delete item; 119 JobItem* item = FindJob(job); local 120 if (item) { 130 JobItem* item = SelectedItem(); local 142 JobItem* item = SelectedItem(); local [all...] |
/haiku/src/kits/tracker/ |
H A D | DeskWindow.cpp | 80 MatchOne(struct AddOnShortcut* item, void* castToName) argument 82 if (strcmp(item->model->Name(), (const char*)castToName) == 0) { 84 return item; 104 RevertToDefault(struct AddOnShortcut* item, void* castToWindow) argument 106 if (item->key != item->defaultKey || item->modifiers != kDefaultModifiers) { 109 window->RemoveShortcut(item->key, item->modifiers); 110 item 121 FindElement(struct AddOnShortcut* item, void* castToOther) argument 154 struct AddOnShortcut* item = new struct AddOnShortcut; local 269 AddOnShortcut* item = fAddOnsList->ItemAt(i); local 361 AddOnShortcut* item = fAddOnsList->EachElement(FindElement, local 453 BMenuItem* item; local [all...] |
H A D | GroupedMenu.h | 52 bool AddItem(BMenuItem* item); 53 bool AddItem(BMenuItem* item, int32 atIndex); 57 bool RemoveItem(BMenuItem* item); 94 void AddGroupItem(TMenuItemGroup* group, BMenuItem* item, 96 void RemoveGroupItem(TMenuItemGroup* group, BMenuItem* item);
|
/haiku/src/tools/fs_shell/ |
H A D | list.h | 13 * and an item. 14 * A link is what is put into and removed from a list, an item is the whole 15 * object that contains the link. The item doesn't have to be begin with a 19 * offset is 0, list_link and item are identical - if you use init_list(), 20 * you don't have to care about the difference between a link and an item. 49 extern void *list_get_next_item(struct list *list, void *item); 50 extern void *list_get_prev_item(struct list *list, void *item); 52 extern void list_add_item(struct list *list, void *item); 53 extern void list_remove_item(struct list *list, void *item); 54 extern void list_insert_item_before(struct list *list, void *before, void *item); [all...] |
/haiku/headers/private/kernel/util/ |
H A D | list.h | 13 * and an item. 14 * A link is what is put into and removed from a list, an item is the whole 15 * object that contains the link. The item doesn't have to be begin with a 19 * offset is 0, list_link and item are identical - if you use init_list(), 20 * you don't have to care about the difference between a link and an item. 58 extern void *list_get_next_item(struct list *list, void *item); 59 extern void *list_get_prev_item(struct list *list, void *item); 61 extern void list_add_item(struct list *list, void *item); 62 extern void list_remove_item(struct list *list, void *item); 63 extern void list_insert_item_before(struct list *list, void *before, void *item); [all...] |
/haiku/src/kits/media/ |
H A D | MediaFiles.cpp | 140 BMediaFiles::GetRefFor(const char* type, const char* item, entry_ref* _ref) argument 144 if (type == NULL || item == NULL || _ref == NULL) 149 strlcpy(request.item, item, B_MEDIA_NAME_LENGTH); 165 BMediaFiles::GetAudioGainFor(const char* type, const char* item, float* _gain) argument 169 if (type == NULL || item == NULL || _gain == NULL) 174 strlcpy(request.item, item, B_MEDIA_NAME_LENGTH); 190 BMediaFiles::SetRefFor(const char* type, const char* item, argument 197 strlcpy(request.item, ite 213 SetAudioGainFor(const char* type, const char* item, float gain) argument 235 RemoveRefFor(const char* type, const char* item, const entry_ref &ref) argument 257 RemoveItem(const char* type, const char* item) argument [all...] |
/haiku/src/apps/processcontroller/ |
H A D | PriorityMenu.cpp | 63 BMenuItem* item; local 84 item = new BMenuItem(name.String(), message); 85 item->SetTarget(gPCView); 87 found = true, item->SetMarked(true); 88 AddItem(item);
|