2006-08-26 20:21:15 +04:00
|
|
|
/*
|
2010-05-07 21:24:22 +04:00
|
|
|
* Copyright 2006-2010, Haiku, Inc. All rights reserved.
|
2006-08-26 20:21:15 +04:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef _GROUP_VIEW_H
|
|
|
|
#define _GROUP_VIEW_H
|
|
|
|
|
2010-05-07 21:24:22 +04:00
|
|
|
|
2006-08-26 20:21:15 +04:00
|
|
|
#include <GroupLayout.h>
|
|
|
|
#include <View.h>
|
|
|
|
|
|
|
|
|
|
|
|
class BGroupView : public BView {
|
|
|
|
public:
|
|
|
|
BGroupView(
|
|
|
|
enum orientation orientation = B_HORIZONTAL,
|
2010-09-03 02:58:24 +04:00
|
|
|
float spacing = B_USE_DEFAULT_SPACING);
|
2010-05-07 21:24:22 +04:00
|
|
|
BGroupView(const char* name,
|
|
|
|
enum orientation orientation = B_HORIZONTAL,
|
2010-09-03 02:58:24 +04:00
|
|
|
float spacing = B_USE_DEFAULT_SPACING);
|
2010-07-17 04:46:40 +04:00
|
|
|
BGroupView(BMessage* from);
|
2006-08-26 20:21:15 +04:00
|
|
|
virtual ~BGroupView();
|
|
|
|
|
|
|
|
virtual void SetLayout(BLayout* layout);
|
|
|
|
BGroupLayout* GroupLayout() const;
|
2010-07-17 04:46:40 +04:00
|
|
|
|
|
|
|
static BArchivable* Instantiate(BMessage* from);
|
2006-08-26 20:21:15 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // _GROUP_VIEW_H
|