haiku/headers/os/interface/GroupView.h
Axel Dörfler 542aff1be0 * Added constructor that takes a name for the view.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-07 17:24:22 +00:00

30 lines
621 B
C++

/*
* Copyright 2006-2010, Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _GROUP_VIEW_H
#define _GROUP_VIEW_H
#include <GroupLayout.h>
#include <View.h>
class BGroupView : public BView {
public:
BGroupView(
enum orientation orientation = B_HORIZONTAL,
float spacing = 0.0f);
BGroupView(const char* name,
enum orientation orientation = B_HORIZONTAL,
float spacing = 0.0f);
virtual ~BGroupView();
virtual void SetLayout(BLayout* layout);
BGroupLayout* GroupLayout() const;
};
#endif // _GROUP_VIEW_H