/haiku/src/kits/tracker/ |
H A D | StatusWindow.cpp | 248 ResizeTo(Bounds().Width(), view->Frame().bottom); 359 ResizeTo(Bounds().Width(), Bounds().Height() - height); 513 fStatusBar->ResizeTo(fStatusBar->Frame().Width(), height); 523 ResizeTo(Bounds().Width(), f.top + f.Height() + fh.leading + fh.ascent 640 - fBitmap->Bounds().Width()) / 2; 663 float availableSpace = fStatusBar->Frame().Width();
|
H A D | TitleView.cpp | 469 bounds.right = bounds.left + fColumn->Width() + kTitleColumnExtraMargin; 501 bounds.Width() - kTitleColumnExtraMargin); 511 titleLocation.x = bounds.left + (bounds.Width() / 2) 614 fInitialTrackOffset((title->fColumn->Offset() + title->fColumn->Width()) 629 return newWidth != fTitle->fColumn->Width(); 643 //bool shrink = (newWidth < fTitle->fColumn->Width()); 779 + fTitle->Bounds().Width())) {
|
/haiku/src/kits/interface/ |
H A D | Menu.cpp | 2581 size.width = Bounds().Width() - fPad.right; 2583 size.width = Parent()->Frame().Width(); 2585 size.width = Window()->Frame().Width(); 2587 size.width = Bounds().Width(); 2589 size.width = frame.Width(); 2666 += BPrivate::MenuPrivate::MenuItemCommand()->Bounds().Width() + 1; 2670 += BPrivate::MenuPrivate::MenuItemControl()->Bounds().Width() + 1; 2674 += BPrivate::MenuPrivate::MenuItemOption()->Bounds().Width() + 1; 2678 += BPrivate::MenuPrivate::MenuItemShift()->Bounds().Width() + 1; 2828 frame.OffsetBy(-superItem->Frame().Width() [all...] |
H A D | Alert.cpp | 453 result.x = screenFrame.left + (screenFrame.Width() / 2.0) - (width / 2.0); 725 *_width += fIconBitmap->Bounds().Width(); 727 *_width += be_control_look->ComposeIconSize(B_LARGE_ICON).Width();
|
H A D | CheckBox.cpp | 41 ResizeTo(Bounds().Width(), minHeight); 527 + icon->Bounds().Width() + 1;
|
H A D | RadioButton.cpp | 34 ResizeTo(Bounds().Width(), minHeight); 260 + icon->Bounds().Width() + 1;
|
/haiku/src/servers/app/drawing/ |
H A D | DrawingEngine.cpp | 726 float xRadius = r.Width() / 2.0; 750 float xRadius = r.Width() / 2.0; 967 && frame.Width() * frame.Height() > 100) { 1015 if ((r.Width() + 1) * (r.Height() + 1) > 100.0) { 1482 BRect clip(0, 0, buffer->Width() - 1, buffer->Height() - 1); 1496 int32 cursorWidth = cursor->Width(); 1543 BRect clip(0, 0, buffer->Width() - 1, buffer->Height() - 1);
|
/haiku/src/servers/app/drawing/interface/local/ |
H A D | AccelerantHWInterface.cpp | 683 / fFrontBuffer->Width()) << 3; 688 fFrontBuffer->Width(), fFrontBuffer->Height(), 701 || fBackBuffer->Width() != fFrontBuffer->Width() 729 fFrontBuffer->Width(), fFrontBuffer->Height())); 1421 uint16 width = (uint16)cursor->Bounds().Width(); 1744 if (fFrontBuffer->Width() > fFrontBuffer->BytesPerRow()) {
|
/haiku/src/apps/deskcalc/ |
H A D | CalcView.cpp | 276 FrameResized(frame.Width(), frame.Height()); 502 iconPos.x = expressionRect.right - (expressionRect.Width() 503 + fCalcIcon->Bounds().Width()) / 2.0; 542 float sizeCol = (keypadRect.Width() + 1) / (float)fColumns; 615 bounds.left = bounds.right - fCalcIcon->Bounds().Width(); 745 expressionRect.right -= ceilf(fCalcIcon->Bounds().Width() * 1.5); 750 fExpressionTextView->ResizeTo(expressionRect.Width(), expressionRect.Height());
|
/haiku/src/add-ons/decorators/MacDecorator/ |
H A D | MacDecorator.cpp | 245 tab->zoomRect.OffsetBy(0 - (tab->zoomRect.Width() + 4), 0); 804 fOldMovingTab.OffsetBy(toTab->tabRect.Width(), 0); 805 toTab->tabRect.OffsetBy(-fOldMovingTab.Width(), 0); 807 fOldMovingTab.OffsetBy(-toTab->tabRect.Width(), 0); 808 toTab->tabRect.OffsetBy(fOldMovingTab.Width(), 0);
|
/haiku/src/apps/processcontroller/ |
H A D | ProcessController.cpp | 611 if (gCPUcount <= 4 && bounds.Width() == 15) { 618 barGap = ((bounds.Width() + 1) / gCPUcount) > 3 ? 1 : 0; 619 barWidth = floorf((bounds.Width() - 1 - memWidth - barGap * gCPUcount) 624 float leftMem = bounds.Width() - memWidth; 677 float rightMem = bounds.Width() - 1;
|
/haiku/src/servers/app/decorator/ |
H A D | DefaultWindowBehaviour.cpp | 355 + neighbourTab->tabRect.Width() / 2) { 359 if (location + movingTab->tabRect.Width() < neighbourTab->tabOffset 360 + neighbourTab->tabRect.Width() / 2) { 686 if (frame.Width() + 1 == 0 || frame.Height() + 1 == 0) 690 / (frame.Width() + 1);
|
/haiku/src/apps/cortex/MediaRoutingView/ |
H A D | MediaJack.cpp | 217 return BPoint(Frame().left + Frame().Width() / 2.0, Frame().top - 1.0); 221 return BPoint(Frame().left + Frame().Width() / 2.0, Frame().bottom + 1.0); 381 moveTo(BPoint(rightBottomBoundary - Frame().Width(), offset), updateRegion); 614 p.Set(Frame().Width() / 2.0 - 2.0, 0.0); 673 p.Set(Frame().Width() / 2.0 - 2.0, targetRect.bottom - 4.0);
|
/haiku/src/apps/cortex/TipManager/ |
H A D | TipManagerImpl.cpp | 978 p.x -= m_tipWindow->Frame().Width(); 984 p.x -= m_tipWindow->Frame().Width(); 999 tipR.left = screenR.right - tipR.Width();
|
/haiku/src/apps/people/ |
H A D | PictureView.cpp | 278 float pictureAspect = srcRect.Height() / srcRect.Width(); 282 size.width = srcRect.Width() * size.height / srcRect.Height(); 284 size.height = srcRect.Height() * size.width / srcRect.Width();
|
/haiku/src/apps/mediaplayer/playlist/ |
H A D | PlaylistListView.cpp | 150 frame.Width() - playbackMarkSize - textOffset); 158 frame.Width() - playbackMarkSize - textOffset - truncatedWidth); 627 FrameResized(Bounds().Width(), Bounds().Height());
|
/haiku/src/apps/haikudepot/ui/ |
H A D | FeaturedPackagesView.cpp | 549 float maxTextWidth = bounds.Width() - X_POSITION_SUMMARY - PADDING; 622 return BRect(0, y, Bounds().Width(), y + HEIGHT_PACKAGE); 772 fScrollView->FrameResized(fScrollView->Frame().Width(),
|
/haiku/src/apps/deskbar/ |
H A D | BarWindow.cpp | 687 BWindow::SetSizeLimits(screenFrame.Width(), screenFrame.Width(), 719 minWidth = maxWidth = screenFrame.Width();
|
/haiku/src/apps/icon-o-matic/generic/property/view/ |
H A D | PropertyListView.cpp | 652 float width = Bounds().Width(); 675 float width = Bounds().Width(); 681 item->FrameResized(item->Bounds().Width(),
|
/haiku/src/apps/diskprobe/ |
H A D | DataView.cpp | 849 point.x = frame.right - bounds.Width(); 961 float delta = width - Bounds().Width(); 966 bar->SetSteps(fCharWidth, Bounds().Width()); 967 bar->SetProportion(Bounds().Width() / width); 1406 FrameResized(Bounds().Width(), Bounds().Height()); 1429 *_width = bounds.Width();
|
/haiku/src/apps/drivesetup/ |
H A D | MainWindow.cpp | 506 ResizeTo(frame.Width(), frame.Height()); 528 float windowWidth = Frame().Width(); 532 - fListView->Bounds().Width(); 541 if (windowWidth > screen.Frame().Width() - 20.0f) 542 windowWidth = screen.Frame().Width() - 20.0f; 1464 maxWidth += column->Width();
|
/haiku/src/preferences/filetypes/ |
H A D | AttributeWindow.cpp | 176 snprintf(text, sizeof(text), "%" B_PRId32, fAttribute.Width()); 177 fWidthControl = new BTextControl(B_TRANSLATE_COMMENT("Width:", 458 newAttributes.AddInt32("attr:width", item->Width());
|
/haiku/src/preferences/datatranslations/ |
H A D | DataTranslationsWindow.cpp | 182 - fTranslatorListView->Frame().Width(), B_SIZE_UNSET)); 225 - fTranslatorListView->Frame().Width(),
|
/haiku/src/apps/midiplayer/ |
H A D | MidiPlayerWindow.cpp | 41 #define _W(a) (a->Frame().Width()) 250 BSize(fScopeView->Frame().Width(), B_SIZE_UNSET));
|
/haiku/src/add-ons/network_settings/dialup/ |
H A D | GeneralAddon.cpp | 310 *width = rect.Width(); 375 fDeviceBox->Bounds().Width() - 10); // FIXME: remove
|