haiku/headers/build/os/interface/SeparatorItem.h
Ingo Weinhold 338b8dc301 Merged changes from branch build_system_redesign at revision 14573.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-29 16:27:43 +00:00

33 lines
678 B
C++

#ifndef _SEPARATOR_ITEM_H
#define _SEPARATOR_ITEM_H
#include <MenuItem.h>
class BMessage;
class BSeparatorItem : public BMenuItem {
public:
BSeparatorItem();
BSeparatorItem(BMessage *data);
virtual ~BSeparatorItem();
virtual status_t Archive(BMessage *data, bool deep = true) const;
static BArchivable *Instantiate(BMessage *data);
virtual void SetEnabled(bool state);
protected:
virtual void GetContentSize(float *width, float *height);
virtual void Draw();
private:
virtual void _ReservedSeparatorItem1();
virtual void _ReservedSeparatorItem2();
BSeparatorItem &operator=(const BSeparatorItem &);
uint32 _reserved[1];
};
#endif /* _SEPARATOR_ITEM_H */