blob: 351dfb8002506954322702a0ee258645a8c4944a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#ifndef _MBVIEWWRAPPER_H
#define _MBVIEWWRAPPER_H
#include "layout.h"
#include <View.h>
#if __POWERPC__
#pragma simple_class_byval off
#endif
class IMPEXPLIBLAYOUT MBViewWrapper : public MView, public BView
{
public: MBViewWrapper(BView *view, bool usepreferred=true, bool x_fixed=true, bool y_fixed=true);
MBViewWrapper(BMessage*);
virtual long Archive(BMessage *archive, bool deep=true) const;
static BArchivable *Instantiate(BMessage *archive);
virtual ~MBViewWrapper();
virtual minimax layoutprefs();
virtual BRect layout(BRect rect);
virtual void AttachedToWindow();
virtual void DetachedFromWindow();
private: virtual void _expansionmbviewwrapper1();
BView *childview;
uint32 _expansiondata[2];
};
#endif
|