haiku/headers/os/interface/GridView.h
Alex Wilson fceb7ee27e Add FBC padding + Perform() methods to GridView and GroupView.
We probably won't need these, but these additions are cheap.
2011-11-04 23:08:11 -06:00

53 lines
1.3 KiB
C++

/*
* Copyright 2006-2010, Haiku, Inc. All rights reserved.
* 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 horizontal
= B_USE_DEFAULT_SPACING,
float vertical = B_USE_DEFAULT_SPACING);
BGridView(const char* name,
float horizontal = B_USE_DEFAULT_SPACING,
float vertical = B_USE_DEFAULT_SPACING);
BGridView(BMessage* from);
virtual ~BGridView();
virtual void SetLayout(BLayout* layout);
BGridLayout* GridLayout() const;
static BArchivable* Instantiate(BMessage* from);
virtual status_t Perform(perform_code d, void* arg);
private:
// FBC padding
virtual void _ReservedGridView1();
virtual void _ReservedGridView2();
virtual void _ReservedGridView3();
virtual void _ReservedGridView4();
virtual void _ReservedGridView5();
virtual void _ReservedGridView6();
virtual void _ReservedGridView7();
virtual void _ReservedGridView8();
virtual void _ReservedGridView9();
virtual void _ReservedGridView10();
// forbidden methods
BGridView(const BGridView&);
void operator =(const BGridView&);
uint32 _reserved[2];
};
#endif // _GRID_VIEW_H