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. 14class ScrollableGroupView : public BGroupView { 15public: 16 ScrollableGroupView(); 17 18 virtual BSize MinSize(); 19 20protected: 21 virtual void DoLayout(); 22}; 23 24 25#endif // SCROLLABLE_GROUP_VIEW_H 26