haiku/3rdparty/mmu_man/themes/ViewItem.h
François Revol 48d5931610 Move Themes to vendor folder.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 20:42:27 +00:00

20 lines
506 B
C++

#ifndef _VIEW_ITEM_H_
#define _VIEW_ITEM_H_
#include <ListItem.h>
#include <ListView.h>
#include <View.h>
class ViewItem : public BView, public BListItem
{
public:
ViewItem(BRect bounds, const char *name, uint32 resizeMask, uint32 flags, uint32 level = 0, bool expanded = true);
virtual ~ViewItem();
virtual void DrawItem(BView *ownerview, BRect frame, bool complete = false);
virtual void Update(BView *ownerview, const BFont *font);
private:
BListView *fOwner;
};
#endif // _VIEW_ITEM_H_