Implement BOutlineListView's derivative of SwapItems(). This makes things like Vision's network reordering shortcuts
work correctly. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24158 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -117,6 +117,10 @@ class BOutlineListView : public BListView {
|
||||
BList* _BuildTree(BListItem* underItem, int32& index);
|
||||
|
||||
BListItem* _RemoveItem(BListItem* item, int32 fullListIndex);
|
||||
bool _SwapItems(int32 first, int32 second);
|
||||
void _DoSwap(BList &list, int32 firstIndex, int32 secondIndex,
|
||||
int32 firstCount, int32 secondCount, int32 swapCount);
|
||||
int32 _GetSubitemCount(BList &list, int32 itemIndex);
|
||||
BListItem* RemoveOne(int32 fullListIndex);
|
||||
|
||||
static void TrackInLatchItem(void *);
|
||||
|
||||
Reference in New Issue
Block a user