BToolbar: rename to BToolBar.

"BToolBar" matches the current convention ("BStatusBar", "BMenuBar", etc.)
I've no idea what I was thinking when I renamed this before...

Also adjust all users of BToolBar (Tracker and ShowImage).
This commit is contained in:
Augustin Cavalier
2015-02-11 22:54:48 -05:00
parent d7cde0634b
commit 94a4c1c456
7 changed files with 69 additions and 70 deletions
@@ -1,5 +1,5 @@
/*
* Copyright 2011-2014, Haiku, Inc. All rights reserved.
* Copyright 2011-2015, Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _TOOLBAR_H
@@ -12,11 +12,11 @@ class BButton;
namespace BPrivate {
class BToolbar : public BGroupView {
class BToolBar : public BGroupView {
public:
BToolbar(BRect frame,
orientation ont = B_HORIZONTAL);
virtual ~BToolbar();
BToolBar(BRect frame,
orientation ont = B_HORIZONTAL);
virtual ~BToolBar();
virtual void Hide();
@@ -42,12 +42,12 @@ private:
void _AddView(BView* view);
BButton* _FindButton(uint32 command) const;
void _HideToolTips() const;
orientation fOrientation;
};
} // namespace BPrivate
using BPrivate::BToolbar;
using BPrivate::BToolBar;
#endif // _TOOLBAR_H