A slight collision of StringItem.h with our coding style guidelines...
(and fixed newline at the end of the file). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1726 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
//
|
//
|
||||||
// File: StringItem.h
|
// File: StringItem.h
|
||||||
//
|
//
|
||||||
// Description:
|
// Description:
|
||||||
//
|
//
|
||||||
// Copyright 2001, Ulrich Wimboeck
|
// Copyright 2001, Ulrich Wimboeck
|
||||||
//
|
//
|
||||||
@@ -25,32 +25,31 @@ namespace OpenBeOS
|
|||||||
class BStringItem : public BListItem
|
class BStringItem : public BListItem
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
BStringItem(const char* text, uint32 outlineLevel = 0, bool expanded = true) ;
|
BStringItem(const char *text, uint32 outlineLevel = 0, bool expanded = true);
|
||||||
BStringItem(BMessage* data) ;
|
BStringItem(BMessage *data);
|
||||||
virtual ~BStringItem() ;
|
virtual ~BStringItem();
|
||||||
|
|
||||||
static BArchivable *Instantiate(BMessage* data);
|
static BArchivable *Instantiate(BMessage *data);
|
||||||
virtual status_t Archive(BMessage* data, bool deep = true) const ;
|
virtual status_t Archive(BMessage *data, bool deep = true) const;
|
||||||
|
|
||||||
virtual void DrawItem(BView* owner, BRect frame, bool complete = false) ;
|
virtual void DrawItem(BView *owner, BRect frame, bool complete = false);
|
||||||
virtual void SetText(const char* text) ;
|
virtual void SetText(const char *text);
|
||||||
const char* Text() const ;
|
const char *Text() const;
|
||||||
virtual void Update(BView* owner, const BFont* font) ;
|
|
||||||
|
|
||||||
virtual status_t Perform(perform_code d, void* arg);
|
virtual void Update(BView *owner, const BFont *font);
|
||||||
|
|
||||||
|
virtual status_t Perform(perform_code code, void *arg);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
BStringItem(const BStringItem &);
|
||||||
|
BStringItem& operator=(const BStringItem &);
|
||||||
|
|
||||||
BStringItem(const BStringItem &) ;
|
char *fText;
|
||||||
BStringItem& operator=(const BStringItem &) ;
|
float fBaselineOffset;
|
||||||
|
};
|
||||||
char* fText;
|
|
||||||
float fBaselineOffset ;
|
|
||||||
} ;
|
|
||||||
|
|
||||||
#ifdef USE_OPENBEOS_NAMESPACE
|
#ifdef USE_OPENBEOS_NAMESPACE
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* _STRING_ITEM_H */
|
#endif /* _STRING_ITEM_H */
|
||||||
|
|
||||||
Reference in New Issue
Block a user