Searched refs:toTab (Results 1 – 2 of 2) sorted by relevance
/haiku/src/add-ons/decorators/MacDecorator/ |
H A D | MacDecorator.cpp | 799 MacDecorator::Tab* toTab = _TabAt(to); in _MoveTab() 800 if (toTab == NULL) in _MoveTab() 804 fOldMovingTab.OffsetBy(toTab->tabRect.Width(), 0); in _MoveTab() 805 toTab->tabRect.OffsetBy(-fOldMovingTab.Width(), 0); in _MoveTab() 807 fOldMovingTab.OffsetBy(-toTab->tabRect.Width(), 0); in _MoveTab() 808 toTab->tabRect.OffsetBy(fOldMovingTab.Width(), 0); in _MoveTab() 811 toTab->tabOffset = uint32(toTab->tabRect.left - fLeftBorder.left); in _MoveTab() 812 _LayoutTabItems(toTab, toTab->tabRect); in _MoveTab()
|
/haiku/src/servers/app/decorator/ |
H A D | TabDecorator.cpp | 877 Decorator::Tab* toTab = _TabAt(to); in _MoveTab() local 878 if (toTab == NULL) in _MoveTab() 882 fOldMovingTab.OffsetBy(toTab->tabRect.Width(), 0); in _MoveTab() 883 toTab->tabRect.OffsetBy(-fOldMovingTab.Width(), 0); in _MoveTab() 885 fOldMovingTab.OffsetBy(-toTab->tabRect.Width(), 0); in _MoveTab() 886 toTab->tabRect.OffsetBy(fOldMovingTab.Width(), 0); in _MoveTab() 889 toTab->tabOffset = uint32(toTab->tabRect.left - fLeftBorder.left); in _MoveTab() 890 _LayoutTabItems(toTab, toTab->tabRect); in _MoveTab()
|