Home
last modified time | relevance | path

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

/haiku/src/apps/debugger/user_interface/gui/util/
H A DSettingsMenu.cpp181 OptionMenuItem* optionItem = dynamic_cast<OptionMenuItem*>(item); in PrepareToShow() local
182 if (optionItem != NULL) in PrepareToShow()
183 optionItem->PrepareToShow(parentLooper, targetHandler, in PrepareToShow()
186 optionItem->SetMarked(optionItem->Option() == selectedOption); in PrepareToShow()
257 BMenuItem* optionItem = new(std::nothrow) OptionMenuItem(option); in AddOptionsItem() local
258 if (optionItem == NULL || !menu->AddItem(optionItem)) { in AddOptionsItem()
259 delete optionItem; in AddOptionsItem()