xref: /haiku/headers/os/interface/GroupView.h (revision 125183f9e5c136781f71c879faaeab43fdc3ea7b)
1 /*
2  * Copyright 2006-2010, Haiku, Inc. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef	_GROUP_VIEW_H
6 #define	_GROUP_VIEW_H
7 
8 
9 #include <GroupLayout.h>
10 #include <View.h>
11 
12 
13 class BGroupView : public BView {
14 public:
15 								BGroupView(
16 									enum orientation orientation = B_HORIZONTAL,
17 									float spacing = 0.0f);
18 								BGroupView(const char* name,
19 									enum orientation orientation = B_HORIZONTAL,
20 									float spacing = 0.0f);
21 	virtual						~BGroupView();
22 
23 	virtual	void				SetLayout(BLayout* layout);
24 
25 			BGroupLayout*		GroupLayout() const;
26 };
27 
28 
29 #endif	// _GROUP_VIEW_H
30