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
@@ -0,0 +1,31 @@
/*
* Copyright 2015, Haiku Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* Augustin Cavalier <waddlesplash>
*/
#ifndef TABVIEW_PRIVATE_H
#define TABVIEW_PRIVATE_H
#include <TabView.h>
class BTab::Private {
public:
Private(BTab* tab)
:
fTab(tab)
{
}
void SetTabView(BTabView* tabView)
{ fTab->fTabView = tabView; }
private:
BTab* fTab;
};
#endif /* TABVIEW_PRIVATE_H */