repository_infos: Enable automatic updates on the main Haiku repostiory.
[haiku.git] / src / apps / haikudepot / ui_generic / ScrollableGroupView.h
blob2446be08f665df11dfce37dfdbd23f8c22d25cd2
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
9 #include <GroupView.h>
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();
18 virtual BSize MinSize();
20 protected:
21 virtual void DoLayout();
25 #endif // SCROLLABLE_GROUP_VIEW_H