* Added BListItem::SetOutlineLevel() method.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36713 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2010-05-07 11:24:25 +00:00
parent 181511caad
commit cac9f196d8
2 changed files with 15 additions and 4 deletions
+5 -2
View File
@@ -1,5 +1,5 @@
/*
* Copyright 2006-2009, Haiku, Inc. All rights reserved.
* Copyright 2006-2010, Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _LIST_ITEM_H
@@ -9,6 +9,7 @@
#include <Archivable.h>
#include <Rect.h>
class BFont;
class BList;
class BMessage;
@@ -44,6 +45,7 @@ public:
bool IsExpanded() const;
void SetExpanded(bool expanded);
uint32 OutlineLevel() const;
void SetOutlineLevel(uint32 level);
virtual status_t Perform(perform_code code, void* arg);
@@ -83,7 +85,7 @@ private:
inline float
BListItem::Top(void) const
BListItem::Top(void) const
{
return fTop;
}
@@ -99,4 +101,5 @@ BListItem::Bottom(void) const
#include <StringItem.h>
// to maintain source compatibility
#endif // _LIST_ITEM_H