Searched refs:iconBounds (Results 1 - 4 of 4) sorted by relevance
/haiku/src/tests/kits/interface/menu/menuworld/ |
H A D | TestMenuBuilder.cpp | 108 BRect iconBounds(0,0,0,0); 121 iconBounds.right = kLargeIconWidth - 1; // 0 counts as a pixel! 122 iconBounds.bottom = kLargeIconHeight - 1; 127 iconBounds.right = kMiniIconWidth - 1; 128 iconBounds.bottom = kMiniIconHeight - 1; 132 pBitmap = new BBitmap(iconBounds, iconColorSpace);
|
/haiku/src/apps/deskbar/ |
H A D | TeamMenuItem.cpp | 292 BRect iconBounds = fIcon->Bounds(); local 293 BRect updateRect = iconBounds; 300 || (fBarView->Vertical() && iconBounds.Width() > large)) { 303 + floorf((frame.Width() - iconBounds.Width()) / 2); 312 drawLocation.y = frame.top + sVPad + iconBounds.Height() + sVPad; 317 floorf((frame.Height() - iconBounds.Height()) / 2); 324 drawLocation.x += iconBounds.Width() + sLabelOffset;
|
/haiku/src/apps/webpositive/tabview/ |
H A D | TabManager.cpp | 503 BRect iconBounds(0, 0, kIconSize - 1, kIconSize - 1); 505 if (iconBounds.Contains(fIcon->Bounds())) 506 iconBounds = fIcon->Bounds(); 517 iconBounds.right = (fIcon->Bounds().Width() + 1) / scale - 1; 518 iconBounds.bottom = (fIcon->Bounds().Height() + 1) / scale - 1; 524 frame.top + floorf((frame.Height() - iconBounds.Height()) / 2)); 525 iconBounds.OffsetTo(iconPos); 528 owner->DrawBitmap(fIcon, fIcon->Bounds(), iconBounds,
|
/haiku/src/apps/webpositive/ |
H A D | URLInputGroup.cpp | 522 BRect iconBounds(0, 0, 15, 15); 523 iconBounds.OffsetTo( 525 - (iconBounds.left + iconBounds.right)) / 2 + 0.5f), 527 - (iconBounds.top + iconBounds.bottom)) / 2 + 0.5f)); 528 DrawBitmap(fIcon, fIcon->Bounds(), iconBounds,
|
Completed in 40 milliseconds