1 /* 2 * Copyright 2006, Haiku, Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef _GRID_VIEW_H 6 #define _GRID_VIEW_H 7 8 #include <GridLayout.h> 9 #include <View.h> 10 11 12 class BGridView : public BView { 13 public: 14 BGridView(float horizontalSpacing = 0.0f, 15 float verticalSpacing = 0.0f); 16 virtual ~BGridView(); 17 18 virtual void SetLayout(BLayout* layout); 19 20 BGridLayout* GridLayout() const; 21 }; 22 23 24 #endif // _GRID_VIEW_H 25