1 /* 2 * Copyright 2006, Haiku Inc. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef _GROUP_VIEW_H 6 #define _GROUP_VIEW_H 7 8 #include <GroupLayout.h> 9 #include <View.h> 10 11 12 class BGroupView : public BView { 13 public: 14 BGroupView( 15 enum orientation orientation = B_HORIZONTAL, 16 float spacing = 0.0f); 17 virtual ~BGroupView(); 18 19 virtual void SetLayout(BLayout* layout); 20 21 BGroupLayout* GroupLayout() const; 22 }; 23 24 25 #endif // _GROUP_VIEW_H 26