Lines Matching defs:menu
184 // this is because of the layout menu change,
189 // File menu
229 // Edit menu
363 // Font menu
399 BMenu* menu = item->Menu();
400 if (menu != NULL) {
401 BMenuItem* super_item = menu->Superitem();
521 // Document menu
694 // update the font menu
698 BMenu* menu = fCurrentFontItem->Submenu();
699 if (menu != NULL) {
700 BMenuItem* item = menu->FindMarked();
760 BMenu* menu = fCurrentFontItem->Submenu();
761 if (menu != NULL) {
762 BMenuItem* item = menu->FindItem(style);
1250 // premake font menu since we cant add members dynamically later
1376 StyledEditWindow::_BuildFontColorMenu(BMenu* menu)
1378 if (menu == NULL)
1382 menu->GetFont(&font);
1400 menu->AddItem(
1407 // separator at the bottom to add spacing in the matrix menu
1409 menu->AddItem(new BSeparatorItem(), matrixArea);
1418 menu->AddItem(fDefaultFontColorItem, matrixArea);
1422 menu->AddItem(new BSeparatorItem(), matrixArea);
1888 // clear that family's bit on the menu, if necessary
1893 BMenu* menu = oldItem->Submenu();
1894 if (menu != NULL) {
1895 oldItem = menu->FindItem(oldStyle);
2023 StyledEditWindow::_PopulateEncodingMenu(BMenu* menu, const char* currentEncoding)
2025 menu->SetRadioMode(true);
2045 menu->AddItem(item);
2049 menu->AddSeparatorItem();
2052 menu->AddItem(new BMenuItem(B_TRANSLATE("Autodetect"), message));
2061 return menu;