BPopUpMenu style fixes for documentation, no functional change intended
This commit is contained in:
parent
24be9ac7fd
commit
6f33360fac
@ -11,9 +11,9 @@
|
||||
|
||||
class BPopUpMenu : public BMenu {
|
||||
public:
|
||||
BPopUpMenu(const char* title,
|
||||
BPopUpMenu(const char* name,
|
||||
bool radioMode = true,
|
||||
bool autoRename = true,
|
||||
bool labelFromMarked = true,
|
||||
menu_layout layout = B_ITEMS_IN_COLUMN);
|
||||
BPopUpMenu(BMessage* data);
|
||||
virtual ~BPopUpMenu();
|
||||
@ -52,7 +52,7 @@ public:
|
||||
virtual void AllAttached();
|
||||
virtual void AllDetached();
|
||||
|
||||
void SetAsyncAutoDestruct(bool state);
|
||||
void SetAsyncAutoDestruct(bool on);
|
||||
bool AsyncAutoDestruct() const;
|
||||
|
||||
protected:
|
||||
|
@ -36,10 +36,10 @@ struct popup_menu_data {
|
||||
};
|
||||
|
||||
|
||||
BPopUpMenu::BPopUpMenu(const char* title, bool radioMode, bool autoRename,
|
||||
BPopUpMenu::BPopUpMenu(const char* name, bool radioMode, bool labelFromMarked,
|
||||
menu_layout layout)
|
||||
:
|
||||
BMenu(title, layout),
|
||||
BMenu(name, layout),
|
||||
fUseWhere(false),
|
||||
fAutoDestruct(false),
|
||||
fTrackThread(-1)
|
||||
@ -47,7 +47,7 @@ BPopUpMenu::BPopUpMenu(const char* title, bool radioMode, bool autoRename,
|
||||
if (radioMode)
|
||||
SetRadioMode(true);
|
||||
|
||||
if (autoRename)
|
||||
if (labelFromMarked)
|
||||
SetLabelFromMarked(true);
|
||||
}
|
||||
|
||||
@ -267,9 +267,9 @@ BPopUpMenu::AllDetached()
|
||||
|
||||
|
||||
void
|
||||
BPopUpMenu::SetAsyncAutoDestruct(bool state)
|
||||
BPopUpMenu::SetAsyncAutoDestruct(bool on)
|
||||
{
|
||||
fAutoDestruct = state;
|
||||
fAutoDestruct = on;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user