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 BGroupView(BMessage* from); 22 virtual ~BGroupView(); 23 24 virtual void SetLayout(BLayout* layout); 25 BGroupLayout* GroupLayout() const; 26 27 static BArchivable* Instantiate(BMessage* from); 28 }; 29 30 31 #endif // _GROUP_VIEW_H 32