xref: /haiku/src/apps/haikudepot/ui_generic/ScrollableGroupView.h (revision 71452e98334eaac603bf542d159e24788a46bebb)
1 /*
2  * Copyright 2013-2014, Stephan Aßmus <superstippi@gmx.de>.
3  * All rights reserved. Distributed under the terms of the MIT License.
4  */
5 #ifndef SCROLLABLE_GROUP_VIEW_H
6 #define SCROLLABLE_GROUP_VIEW_H
7 
8 
9 #include <GroupView.h>
10 
11 //! A group view to hold items in a vertically scrollable area. Needs to
12 // be embedded into a BScrollView with vertical scrollbar to work. Get the
13 // BGroupLayout with GroupLayout() and add or remove items/views to the layout.
14 class ScrollableGroupView : public BGroupView {
15 public:
16 								ScrollableGroupView();
17 
18 	virtual	BSize				MinSize();
19 
20 protected:
21 	virtual	void				DoLayout();
22 };
23 
24 
25 #endif // SCROLLABLE_GROUP_VIEW_H
26