2006-08-26 16:21:15 +00:00
|
|
|
/*
|
2010-05-07 17:24:22 +00:00
|
|
|
* Copyright 2006-2010, Haiku, Inc. All rights reserved.
|
2006-08-26 16:21:15 +00:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef _GROUP_VIEW_H
|
|
|
|
#define _GROUP_VIEW_H
|
|
|
|
|
2010-05-07 17:24:22 +00:00
|
|
|
|
2006-08-26 16:21:15 +00:00
|
|
|
#include <GroupLayout.h>
|
|
|
|
#include <View.h>
|
|
|
|
|
|
|
|
|
|
|
|
class BGroupView : public BView {
|
|
|
|
public:
|
|
|
|
BGroupView(
|
2013-07-08 18:27:55 -04:00
|
|
|
orientation orientation = B_HORIZONTAL,
|
2010-09-02 22:58:24 +00:00
|
|
|
float spacing = B_USE_DEFAULT_SPACING);
|
2010-05-07 17:24:22 +00:00
|
|
|
BGroupView(const char* name,
|
2013-07-08 18:27:55 -04:00
|
|
|
orientation orientation = B_HORIZONTAL,
|
2010-09-02 22:58:24 +00:00
|
|
|
float spacing = B_USE_DEFAULT_SPACING);
|
2010-07-17 00:46:40 +00:00
|
|
|
BGroupView(BMessage* from);
|
2006-08-26 16:21:15 +00:00
|
|
|
virtual ~BGroupView();
|
|
|
|
|
|
|
|
virtual void SetLayout(BLayout* layout);
|
|
|
|
BGroupLayout* GroupLayout() const;
|
2010-07-17 00:46:40 +00:00
|
|
|
|
|
|
|
static BArchivable* Instantiate(BMessage* from);
|
2011-11-04 22:23:22 -06:00
|
|
|
|
2011-11-04 23:08:11 -06:00
|
|
|
virtual status_t Perform(perform_code d, void* arg);
|
|
|
|
|
2011-11-04 22:23:22 -06:00
|
|
|
private:
|
|
|
|
|
2011-11-04 23:08:11 -06:00
|
|
|
// FBC padding
|
|
|
|
virtual void _ReservedGroupView1();
|
|
|
|
virtual void _ReservedGroupView2();
|
|
|
|
virtual void _ReservedGroupView3();
|
|
|
|
virtual void _ReservedGroupView4();
|
|
|
|
virtual void _ReservedGroupView5();
|
|
|
|
virtual void _ReservedGroupView6();
|
|
|
|
virtual void _ReservedGroupView7();
|
|
|
|
virtual void _ReservedGroupView8();
|
|
|
|
virtual void _ReservedGroupView9();
|
|
|
|
virtual void _ReservedGroupView10();
|
|
|
|
|
2011-11-04 22:23:22 -06:00
|
|
|
// forbidden methods
|
|
|
|
BGroupView(const BGroupView&);
|
|
|
|
void operator =(const BGroupView&);
|
2011-11-04 23:08:11 -06:00
|
|
|
|
|
|
|
uint32 _reserved[2];
|
2006-08-26 16:21:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // _GROUP_VIEW_H
|