Removed BStringItem class from ListItem.h.
Fixed the StringItem.h header to be compatible with BeOS. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1758 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
1c1ff60b97
commit
d3ed67d76c
@ -80,39 +80,6 @@ virtual void _ReservedListItem2();
|
||||
};
|
||||
|
||||
|
||||
/*----------------------------------------------------------------*/
|
||||
/*----- BStringItem class ----------------------------------------*/
|
||||
|
||||
class BStringItem : public BListItem {
|
||||
public:
|
||||
BStringItem(const char *text,
|
||||
uint32 outlineLevel = 0, bool expanded = true);
|
||||
virtual ~BStringItem();
|
||||
BStringItem(BMessage *data);
|
||||
static BArchivable *Instantiate(BMessage *data);
|
||||
virtual status_t Archive(BMessage *data, bool deep = true) const;
|
||||
|
||||
virtual void DrawItem(BView *owner, BRect frame, bool complete = false);
|
||||
virtual void SetText(const char *text);
|
||||
const char *Text() const;
|
||||
virtual void Update(BView *owner, const BFont *font);
|
||||
|
||||
virtual status_t Perform(perform_code d, void *arg);
|
||||
|
||||
private:
|
||||
|
||||
virtual void _ReservedStringItem1();
|
||||
virtual void _ReservedStringItem2();
|
||||
|
||||
BStringItem(const BStringItem &);
|
||||
BStringItem &operator=(const BStringItem &);
|
||||
|
||||
char *fText;
|
||||
float fBaselineOffset;
|
||||
uint32 _reserved[2];
|
||||
};
|
||||
|
||||
/*-------------------------------------------------------------*/
|
||||
/*-------------------------------------------------------------*/
|
||||
|
||||
#endif /* _LIST_ITEM_H */
|
||||
|
@ -15,12 +15,11 @@
|
||||
|
||||
|
||||
#ifdef USE_OPENBEOS_NAMESPACE
|
||||
namespace OpenBeOS
|
||||
{
|
||||
namespace OpenBeOS {
|
||||
#endif
|
||||
|
||||
/*----------------------------------------------------------------*/
|
||||
/*----- BStringItem class ----------------------------------------*/
|
||||
|
||||
//----- BStringItem class ----------------------------------------
|
||||
|
||||
class BStringItem : public BListItem
|
||||
{
|
||||
@ -41,11 +40,15 @@ public:
|
||||
virtual status_t Perform(perform_code code, void *arg);
|
||||
|
||||
private:
|
||||
virtual void _ReservedStringItem1();
|
||||
virtual void _ReservedStringItem2();
|
||||
|
||||
BStringItem(const BStringItem &);
|
||||
BStringItem& operator=(const BStringItem &);
|
||||
|
||||
char *fText;
|
||||
float fBaselineOffset;
|
||||
uint32 _reserved[2];
|
||||
};
|
||||
|
||||
#ifdef USE_OPENBEOS_NAMESPACE
|
||||
|
Loading…
Reference in New Issue
Block a user