TabView: Add TabViewPrivate class, actually fix non-layout SetView.

Thanks to Axel and Stephan for reviewing!
This commit is contained in:
Augustin Cavalier
2015-07-14 11:04:39 -04:00
parent ce7470f8bf
commit c432a83bf3
3 changed files with 41 additions and 7 deletions
+4 -2
View File
@@ -52,7 +52,11 @@ public:
virtual void DrawTab(BView* owner, BRect frame,
tab_position position, bool full = true);
class Private;
private:
friend class Private;
// FBC padding and forbidden methods
virtual void _ReservedTab1();
virtual void _ReservedTab2();
@@ -70,8 +74,6 @@ private:
BTab& operator=(const BTab&);
private:
friend class BTabView;
bool fEnabled;
bool fSelected;
bool fFocus;