2006-08-26 20:21:15 +04:00
|
|
|
/*
|
2009-08-27 15:12:41 +04:00
|
|
|
* Copyright 2006, Haiku, Inc. All rights reserved.
|
2006-08-26 20:21:15 +04:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef _GRID_VIEW_H
|
|
|
|
#define _GRID_VIEW_H
|
|
|
|
|
|
|
|
#include <GridLayout.h>
|
|
|
|
#include <View.h>
|
|
|
|
|
|
|
|
|
|
|
|
class BGridView : public BView {
|
|
|
|
public:
|
|
|
|
BGridView(float horizontalSpacing = 0.0f,
|
|
|
|
float verticalSpacing = 0.0f);
|
|
|
|
virtual ~BGridView();
|
|
|
|
|
|
|
|
virtual void SetLayout(BLayout* layout);
|
|
|
|
|
|
|
|
BGridLayout* GridLayout() const;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // _GRID_VIEW_H
|