BMenuBar: Update param names related to docs.

No functional change intended.

Renamed title => name in regular constructors,
      No right or wrong here but consistant now.
Renamed data => archive in Achive constructor,
      Ditto.
This commit is contained in:
John Scipione
2013-11-06 19:26:19 -05:00
parent 0d635255f5
commit ef92b3dd4c
2 changed files with 11 additions and 11 deletions
+3 -3
View File
@@ -25,12 +25,12 @@ class BMenuField;
class BMenuBar : public BMenu {
public:
BMenuBar(BRect frame, const char* title,
uint32 resizeMask = B_FOLLOW_LEFT_RIGHT
BMenuBar(BRect frame, const char* name,
uint32 resizingMode = B_FOLLOW_LEFT_RIGHT
| B_FOLLOW_TOP,
menu_layout layout = B_ITEMS_IN_ROW,
bool resizeToFit = true);
BMenuBar(const char* title,
BMenuBar(const char* name,
menu_layout layout = B_ITEMS_IN_ROW,
uint32 flags = B_WILL_DRAW
| B_FRAME_EVENTS);