Lines Matching refs:offset

390 		float offset;
393 _GetButtonSizeAndOffset(tabRect, &offset, &size, &inset);
398 tab->minTabSize += offset + size;
400 tab->minTabSize += offset + size;
567 TabDecorator::_MoveBy(BPoint offset)
569 STRACE(("TabDecorator: Move By (%.1f, %.1f)\n", offset.x, offset.y));
574 tab->zoomRect.OffsetBy(offset);
575 tab->closeRect.OffsetBy(offset);
576 tab->tabRect.OffsetBy(offset);
579 fFrame.OffsetBy(offset);
580 fTitleBarRect.OffsetBy(offset);
581 fTabsRegion.OffsetBy(offset);
582 fResizeRect.OffsetBy(offset);
583 fBorderRect.OffsetBy(offset);
585 fLeftBorder.OffsetBy(offset);
586 fRightBorder.OffsetBy(offset);
587 fTopBorder.OffsetBy(offset);
588 fBottomBorder.OffsetBy(offset);
593 TabDecorator::_ResizeBy(BPoint offset, BRegion* dirty)
595 STRACE(("TabDecorator: Resize By (%.1f, %.1f)\n", offset.x, offset.y));
598 fFrame.right += offset.x;
599 fFrame.bottom += offset.y;
609 realResizeRect.OffsetBy(offset);
625 realResizeRect.OffsetBy(offset);
636 realResizeRect.OffsetBy(offset);
646 fResizeRect.OffsetBy(offset);
648 fBorderRect.right += offset.x;
649 fBorderRect.bottom += offset.y;
651 fLeftBorder.bottom += offset.y;
652 fTopBorder.right += offset.x;
654 fRightBorder.OffsetBy(offset.x, 0.0);
655 fRightBorder.bottom += offset.y;
657 fBottomBorder.OffsetBy(0.0, offset.y);
658 fBottomBorder.right += offset.x;
661 if (offset.x > 0.0) {
662 BRect t(fRightBorder.left - offset.x, fTopBorder.top,
665 t.Set(fRightBorder.left - offset.x, fBottomBorder.top,
669 } else if (offset.x < 0.0) {
673 if (offset.y > 0.0) {
674 BRect t(fLeftBorder.left, fLeftBorder.bottom - offset.y,
677 t.Set(fRightBorder.left, fRightBorder.bottom - offset.y,
681 } else if (offset.y < 0.0) {
991 float offset;
994 _GetButtonSizeAndOffset(tabRect, &offset, &size, &inset);
1004 closeRect.Set(tabRect.left + offset, tabRect.top + offset,
1005 tabRect.left + offset + size, tabRect.top + offset + size);
1007 zoomRect.Set(tabRect.right - offset - size, tabRect.top + offset,
1008 tabRect.right - offset, tabRect.top + offset + size);
1012 closeRect.right = closeRect.left - offset;
1014 zoomRect.left = zoomRect.right + offset;
1016 closeRect.Set(tabRect.left + offset, tabRect.top + offset,
1017 tabRect.left + offset + size, tabRect.top + offset + size);
1019 zoomRect.Set(tabRect.left + offset, tabRect.bottom - offset - size,
1020 tabRect.left + size + offset, tabRect.bottom - offset);
1024 closeRect.bottom = closeRect.top - offset;
1026 zoomRect.top = zoomRect.bottom + offset;