Searched refs:closeRect (Results 1 - 11 of 11) sorted by relevance

/haiku/src/servers/notification/
H A DNotificationView.cpp306 BRect closeRect = Bounds(); local
308 closeRect.InsetBy(3 * kEdgePadding, 3 * kEdgePadding);
309 closeRect.left = closeRect.right - kCloseSize;
310 closeRect.bottom = closeRect.top + kCloseSize;
316 BRect buttonRect(closeRect.InsetByCopy(-4, -4));
323 closeRect.OffsetBy(1, 1);
329 StrokeLine(closeRect.LeftTop(), closeRect
348 BRect closeRect = Bounds().InsetByCopy(2,2); local
[all...]
H A DAppGroupView.cpp108 BRect closeRect = fCloseRect; local
114 BRect buttonRect(closeRect.InsetByCopy(-4, -4));
121 closeRect.OffsetBy(1, 1);
127 StrokeLine(closeRect.LeftTop(), closeRect.RightBottom());
128 StrokeLine(closeRect.LeftBottom(), closeRect.RightTop());
/haiku/src/apps/webpositive/tabview/
H A DTabManager.cpp539 BRect closeRect = _CloseRectFrame(Frame()); local
540 if (!fController->CloseButtonsAvailable() || !closeRect.Contains(where)) {
546 ContainerView()->Invalidate(closeRect);
569 BRect closeRect = _CloseRectFrame(Frame()); local
570 bool overCloseRect = closeRect.Contains(where);
575 ContainerView()->Invalidate(closeRect);
608 BRect closeRect = _CloseRectFrame(frame); local
609 frame.right = closeRect.left - be_control_look->DefaultLabelSpacing();
611 closeRect.left = (closeRect
[all...]
/haiku/src/add-ons/decorators/MacDecorator/
H A DMacDecorator.cpp235 tab->closeRect = tab->zoomRect;
238 tab->closeRect.OffsetTo(fTitleBarRect.left + 4,
250 - tab->closeRect.right - 10)) {
253 - (tab->closeRect.right + 5)) / 2);
257 tab->textOffset += int(tab->closeRect.right + 5
260 tab->textOffset = int(tab->closeRect.right) + 5;
269 tab->closeRect.Set(0.0, 0.0, -1.0, -1.0);
520 left = tab->closeRect.right;
537 BPoint offset(left + 5, tab->closeRect.top);
539 tab->closeRect
[all...]
/haiku/src/add-ons/decorators/WinDecorator/
H A DWinDecorator.cpp252 tab->closeRect = tab->zoomRect;
263 tab->closeRect.Set(0.0, 0.0, -1.0, -1.0);
363 const BRect& closeRect = tab->closeRect; local
373 closeRect.IsValid() ? closeRect.left : tabRect.right) - 5)
404 && invalid.Intersects(tab->closeRect)) {
405 _DrawClose(tab, false, tab->closeRect);
553 tab->closeRect.OffsetBy(offset);
585 //tab->closeRect
[all...]
/haiku/src/servers/app/decorator/
H A DTabDecorator.cpp514 tab->closeRect.OffsetBy(offset);
874 if (!(tab->flags & B_NOT_CLOSABLE) && invalid.Intersects(tab->closeRect))
875 _DrawClose(tab, false, tab->closeRect);
933 BRect& closeRect = tab->closeRect; local
938 closeRect.Set(tabRect.left + offset, tabRect.top + offset,
946 closeRect.right = closeRect.left - offset;
950 closeRect.Set(tabRect.left + offset, tabRect.top + offset,
958 closeRect
[all...]
H A DDecorator.cpp34 closeRect(),
558 if (tab->closeRect.Contains(where)) {
646 dirty.Include(fTabList.ItemAt(i)->closeRect);
801 _DrawClose(tab, false, tab->closeRect);
824 _DrawClose(decoratorTab, true, decoratorTab->closeRect);
997 tab->closeRect.OffsetBy(offset);
H A DDefaultDecorator.cpp535 const BRect& closeRect = tab->closeRect; local
551 titlePos.x = closeRect.IsValid() ? closeRect.right + tab->textOffset
H A DDecorator.h41 BRect closeRect; member in struct:Decorator::Tab
/haiku/src/apps/webpositive/
H A DBrowserWindow.cpp283 BRect closeRect(frame.InsetByCopy(4, 4));
299 closeRect.OffsetBy(1, 1);
310 StrokeLine(closeRect.LeftTop(), closeRect.RightBottom());
311 StrokeLine(closeRect.LeftBottom(), closeRect.RightTop());
/haiku/src/add-ons/decorators/BeDecorator/
H A DBeDecorator.cpp670 const BRect& closeRect = tab->closeRect; local
687 titlePos.x = closeRect.IsValid() ? closeRect.right + tab->textOffset

Completed in 62 milliseconds