Home
last modified time | relevance | path

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

/haiku/src/tests/kits/interface/
H A DSimpleAlertTest.cpp52 BMenu* sizeMenu = new BMenu("Button size"); in Window() local
53 sizeMenu->SetLabelFromMarked(true); in Window()
54 sizeMenu->SetRadioMode(true); in Window()
55 sizeMenu->AddItem(new BMenuItem("As usual", NULL)); in Window()
56 sizeMenu->AddItem(new BMenuItem("From widest", NULL)); in Window()
57 sizeMenu->AddItem(new BMenuItem("From label", NULL)); in Window()
58 sizeMenu->ItemAt(0)->SetMarked(true); in Window()
59 fSizeField = new BMenuField("Button size", sizeMenu); in Window()
/haiku/src/apps/terminal/
H A DAppearPrefView.cpp70 BMenu* sizeMenu = new (std::nothrow) BPopUpMenu( in AppearancePrefView() local
72 if (sizeMenu != NULL) { in AppearancePrefView()
73 TermWindow::MakeWindowSizeMenu(sizeMenu); in AppearancePrefView()
74 sizeMenu->SetLabelFromMarked(true); in AppearancePrefView()
76 fWindowSizeField = new BMenuField(B_TRANSLATE("Window size:"), sizeMenu); in AppearancePrefView()