BMenu: Some style fixes related to docs

Mostly just making the variable names match between the
header and source.

No functional change intended.
This commit is contained in:
John Scipione
2013-11-06 12:21:58 -05:00
parent 45b87db2b7
commit 9a9ebda459
2 changed files with 37 additions and 37 deletions
+7 -7
View File
@@ -47,9 +47,9 @@ typedef bool (*menu_tracking_hook)(BMenu* menu, void* state);
class BMenu : public BView {
public:
BMenu(const char* title,
BMenu(const char* name,
menu_layout layout = B_ITEMS_IN_COLUMN);
BMenu(const char* title, float width,
BMenu(const char* name, float width,
float height);
BMenu(BMessage* archive);
@@ -109,12 +109,12 @@ public:
virtual status_t SetTargetForItems(BHandler* target);
virtual status_t SetTargetForItems(BMessenger messenger);
virtual void SetEnabled(bool state);
virtual void SetRadioMode(bool state);
virtual void SetTriggersEnabled(bool state);
virtual void SetEnabled(bool enable);
virtual void SetRadioMode(bool on);
virtual void SetTriggersEnabled(bool enable);
virtual void SetMaxContentWidth(float maxWidth);
void SetLabelFromMarked(bool state);
void SetLabelFromMarked(bool on);
bool IsLabelFromMarked();
bool IsEnabled() const;
bool IsRadioMode() const;
@@ -165,7 +165,7 @@ public:
B_ABORT
};
virtual bool AddDynamicItem(add_state state);
virtual void DrawBackground(BRect update);
virtual void DrawBackground(BRect updateRect);
void SetTrackingHook(menu_tracking_hook hook,
void* state);