summaryrefslogtreecommitdiffstats
path: root/beos/liblayout/MOutlineListView.h
blob: acb00e19be9e0c9056437417db4634e6e12fc454 (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
31
32

#ifndef _MOUTLINELISTVIEW_H
#define _MOUTLINELISTVIEW_H
#include "layout.h"
#include <OutlineListView.h>

#if __POWERPC__
#pragma simple_class_byval off
#endif

class IMPEXPLIBLAYOUT MOutlineListView :  public MView, public BOutlineListView
{
	public:		MOutlineListView(list_view_type type=B_SINGLE_SELECTION_LIST,
									 minimax size=minimax(50,50));
				MOutlineListView(BMessage*);
				virtual ~MOutlineListView();
				virtual long Archive(BMessage *archive, bool deep=true) const;
				static BArchivable *Instantiate(BMessage *archive);
				virtual void reloadfont(BFont *font[]);
				virtual	minimax	layoutprefs();
				virtual BRect	layout(BRect rect);
				virtual void	MessageReceived(BMessage*);
				virtual void	AttachedToWindow();
				virtual void DetachedFromWindow();

	private:	virtual void _expansionmoutlinelistview1(); 
				virtual void _expansionmoutlinelistview2(); 

				uint32  _expansiondata[2];
};

#endif