Lines Matching refs:fTrack
152 delete fTrack; in ~BListView()
471 if (!fTrack->is_dragging) in MessageReceived()
644 BPoint delta = where - fTrack->drag_start; in MouseDown()
647 bigtime_t timeDelta = sysTime - fTrack->last_click_time; in MouseDown()
655 && fTrack->item_index == index) { in MouseDown()
660 fTrack->drag_start.Set(INT32_MAX, INT32_MAX); in MouseDown()
666 fTrack->drag_start = where; in MouseDown()
667 fTrack->last_click_time = system_time(); in MouseDown()
668 fTrack->item_index = index; in MouseDown()
669 fTrack->was_selected = index >= 0 ? ItemAt(index)->IsSelected() : false; in MouseDown()
670 fTrack->try_drag = true; in MouseDown()
676 fTrack->buttons = buttons; in MouseDown()
677 if (fTrack->buttons > 0 && fTrack->was_selected) in MouseDown()
678 fTrack->selected_click_count++; in MouseDown()
680 fTrack->selected_click_count = 0; in MouseDown()
691 bool wasDragging = fTrack->is_dragging; in MouseUp()
694 fTrack->buttons = 0; in MouseUp()
695 fTrack->try_drag = false; in MouseUp()
696 fTrack->is_dragging = false; in MouseUp()
706 if (index == fTrack->item_index) in MouseUp()
711 index = fTrack->item_index; in MouseUp()
731 if (fTrack->item_index >= 0 && fTrack->try_drag) { in MouseMoved()
733 BPoint offset = where - fTrack->drag_start; in MouseMoved()
736 fTrack->try_drag = false; in MouseMoved()
737 fTrack->is_dragging = InitiateDrag(fTrack->drag_start, in MouseMoved()
738 fTrack->item_index, fTrack->was_selected); in MouseMoved()
754 if (fTrack->buttons == 0 || index == -1) in MouseMoved()
764 if (!fTrack->is_dragging && fListType != B_MULTIPLE_SELECTION_LIST in MouseMoved()
1610 fTrack = new track_data; in _InitObject()
1611 fTrack->drag_start = B_ORIGIN; in _InitObject()
1612 fTrack->item_index = -1; in _InitObject()
1613 fTrack->buttons = 0; in _InitObject()
1614 fTrack->selected_click_count = 0; in _InitObject()
1615 fTrack->was_selected = false; in _InitObject()
1616 fTrack->try_drag = false; in _InitObject()
1617 fTrack->is_dragging = false; in _InitObject()
1618 fTrack->last_click_time = 0; in _InitObject()
2154 } else if (fTrack->selected_click_count != 1) in _DoSelection()