- Fix an error in SwapItems where the item tops would not be swapped
if the items were the same height. - Modified _RecalcItemTops to allow us to specify a range instead of just a starting point. This is useful for cases like Swap, where only the items in between those being swapped need to be recalculated. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24139 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -160,7 +160,7 @@ class BListView : public BView, public BInvoker {
|
||||
bool _TryInitiateDrag(BPoint where);
|
||||
int32 _CalcFirstSelected(int32 after);
|
||||
int32 _CalcLastSelected(int32 before);
|
||||
void _RecalcItemTops(int32 start);
|
||||
void _RecalcItemTops(int32 start, int32 end = -1);
|
||||
virtual void DrawItem(BListItem* item, BRect itemRect,
|
||||
bool complete = false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user