/haiku/src/apps/terminal/ |
H A D | ColorPreview.cpp | 69 BRect bounds(Bounds()); 99 FillRect(Bounds()); 107 FillEllipse(Bounds()); 110 StrokeEllipse(Bounds(), B_SOLID_LOW); 154 BRect rect = Bounds().InsetByCopy(2.0f, 2.0f); 249 view->FillRect(view->Bounds());
|
/haiku/src/kits/interface/ |
H A D | BMCPrivate.cpp | 175 fPreviousWidth = Bounds().Width(); 186 ResizeTo(fMenuField->_MenuBarWidth(), Bounds().Height()); 195 ResizeTo(std::min(Bounds().Width(), fMenuField->_MenuBarWidth()), 200 BRect rect(Bounds()); 223 BRect dirty(fMenuField->Bounds()); 343 top = ceilf((Bounds().Height() - ceilf(fontHeight.ascent)
|
H A D | RadioButton.cpp | 33 if (Bounds().Height() < minHeight) 34 ResizeTo(Bounds().Width(), minHeight); 106 BRect labelRect(Bounds()); 133 BRect bounds = Bounds(); 260 + icon->Bounds().Width() + 1; 261 height = std::max(height, icon->Bounds().Height()); 313 fOutlined = Bounds().Contains(where); 334 bool inside = Bounds().Contains(where); 530 BRect bounds(Bounds());
|
/haiku/src/kits/tracker/ |
H A D | CountView.cpp | 142 BRect result = Bounds(); 175 BRect result = Bounds(); 200 BRect bounds(Bounds()); 266 ? fBarberPoleMap->Bounds() : BRect(0, 0, 0, 0)); 302 BPoint point = Bounds().LeftBottom(); 305 BRect clickToOpenRect(Bounds());
|
/haiku/src/apps/showimage/ |
H A D | ShowImageView.cpp | 123 uint32 width = result->Bounds().IntegerWidth() + 1; 124 uint32 height = result->Bounds().IntegerHeight() + 1; 245 fSelectionBox.Draw(this, Bounds()); 256 if (Bounds().Contains(mousePos)) { 295 msg.AddInt32("width", fBitmap->Bounds().IntegerWidth() + 1); 296 msg.AddInt32("height", fBitmap->Bounds().IntegerHeight() + 1); 314 fSelectionBox.Bounds().Width() + 1.0, 315 fSelectionBox.Bounds().Height() + 1.0); 481 point.ConstrainTo(fBitmap->Bounds()); 488 rect = rect & fBitmap->Bounds(); [all...] |
H A D | Filter.cpp | 363 srcW = src->Bounds().IntegerWidth(); 364 srcH = src->Bounds().IntegerHeight(); 365 destW = dest->Bounds().IntegerWidth(); 366 destH = dest->Bounds().IntegerHeight(); 499 srcW = src->Bounds().IntegerWidth(); 500 srcH = src->Bounds().IntegerHeight(); 501 destW = dest->Bounds().IntegerWidth(); 502 destH = dest->Bounds().IntegerHeight(); 659 srcW = src->Bounds().IntegerWidth(); 660 srcH = src->Bounds() [all...] |
/haiku/src/apps/resedit/ |
H A D | BitmapView.cpp | 89 float yoffset = (Bounds().Height() - 10 - (totalheight * 4)) / 2; 90 fNoPhotoOffsets[0].Set((Bounds().Width() - fNoPhotoWidths[0]) / 2, totalheight + yoffset); 91 fNoPhotoOffsets[1].Set((Bounds().Width() - fNoPhotoWidths[1]) / 2, 93 fNoPhotoOffsets[2].Set((Bounds().Width() - fNoPhotoWidths[2]) / 2, 95 fNoPhotoOffsets[3].Set((Bounds().Width() - fNoPhotoWidths[3]) / 2, 282 DrawBitmap(fBitmap, fBitmap->Bounds(), fBitmapRect); 298 StrokeRect(Bounds().InsetByCopy(2, 2)); 302 BRect r(Bounds()); 397 fBitmapRect = Bounds().InsetByCopy(1, 1); 403 BRect r(Bounds()); [all...] |
/haiku/src/apps/mediaplayer/ |
H A D | VideoView.cpp | 30 fVideoFrame(Bounds()), 41 fSubtitleMaxButtom(Bounds().bottom), 186 status_t ret = SetViewOverlay(bitmap, bitmap->Bounds(), 211 SetViewOverlay(bitmap, bitmap->Bounds(), fVideoFrame, 291 FillRect(Bounds()); 398 DrawBitmapAsync(bitmap, bitmap->Bounds(), fVideoFrame, options); 462 fSubtitleFrame = subtitleBitmap->Bounds();
|
/haiku/src/apps/cortex/ParameterView/ |
H A D | ParameterWindow.cpp | 100 BMenuBar *menuBar = new BMenuBar(Bounds(), "ParameterWindow MenuBar"); 242 m_manualSize = Bounds(); 263 m_manualSize = Bounds().OffsetToCopy(0.0, 0.0); 300 m_idealSize = m_parameters->Bounds(); 304 m_parameters->MoveTo(0.0, menuBar->Bounds().bottom + 1.0); 305 m_idealSize.bottom += menuBar->Bounds().bottom + 1.0; 322 BRect paramRect = m_parameters->Bounds();
|
/haiku/src/apps/icon-o-matic/generic/gui/ |
H A D | IconButton.cpp | 82 BRect r(Bounds()); 127 float width = Bounds().Width(); 128 float height = Bounds().Height(); 132 float x = floorf((width - bitmap->Bounds().Width()) / 2.0 + 0.5); 133 float y = floorf((height - bitmap->Bounds().Height()) / 2.0 + 0.5); 146 region.Exclude(bitmap->Bounds().OffsetByCopy(point)); 158 float y = Bounds().bottom - 4.0; 171 if (Bounds().Contains(where)) { 187 if (_HasFlags(STATE_ENABLED) && _HasFlags(STATE_PRESSED) && Bounds().Contains(where)) 189 else if (Bounds() [all...] |
H A D | SwatchView.cpp | 69 BRect r(Bounds()); 150 if (Bounds().Contains(where)) 158 if (Bounds().Contains(where) && Bounds().Contains(fTrackingStart)) 175 if (Bounds().Contains(fTrackingStart)) {
|
/haiku/src/kits/tracker/infowindow/ |
H A D | GeneralInfoView.cpp | 141 TrackingView* trackingView = new TrackingView(window->Bounds(), 310 BRect drawBounds(Bounds()); 411 BRect drawBounds(Bounds()); 515 Invalidate(Bounds()); 587 float maxWidth = (Bounds().Width() 823 FillRect(Bounds()); 859 > (Bounds().Width() - (fDivider + sBorderMargin))) { 862 Bounds().Width() - (fDivider + sBorderMargin)); 915 if (StringWidth(fPathStr.String()) > (Bounds().Width() 919 Bounds() [all...] |
/haiku/src/add-ons/screen_savers/simpleclock/ |
H A D | SimpleClock.cpp | 77 BBitmap bufferBitmap(view->Bounds(), screenView.ColorSpace(), true); 78 BView offscreenView(view->Bounds(), NULL, 0, 0); 82 float width = view->Bounds().Width(); 83 float height = view->Bounds().Height(); 96 offscreenView.FillRect(offscreenView.Bounds());
|
/haiku/src/add-ons/screen_savers/ifs/ |
H A D | IFSSaver.cpp | 79 BRect bounds = view->Bounds(); 91 bounds.bottom -= fAdditiveCB->Bounds().Height() * 2.0f; 106 bounds.bottom -= fSpeedS->Bounds().Height() + 15.0f; 159 _Init(view->Bounds()); 204 view->FillRect(view->Bounds());
|
/haiku/src/apps/tv/ |
H A D | VideoView.cpp | 119 BBitmap *tmp = new BBitmap(bmp->Bounds(), 0, B_RGB32); 122 DrawBitmap(tmp, Bounds()); 143 DrawBitmap(bmp, Bounds()); 144 SetViewOverlay(bmp, bmp->Bounds(), Bounds(), &fOverlayKeyColor, 211 DrawBitmap(bmp, bmp->Bounds(), Bounds(), B_FILTER_BITMAP_BILINEAR); 246 SetViewOverlay(bmp, bmp->Bounds(), Bounds(), &fOverlayKeyColor, 278 BRect bnd = Bounds(); [all...] |
/haiku/src/servers/mail/ |
H A D | ErrorLogWindow.cpp | 27 *width = Bounds().Width(); 38 add_next_at += ChildAt(i)->Bounds().Height(); 56 rect = Bounds(); 79 Error *newError = new Error(BRect(0, panel->add_next_at, panel->Bounds().right, 84 panel->add_next_at += newError->Bounds().Height();
|
/haiku/src/apps/pulse/ |
H A D | CPUButton.cpp | 77 BRect rect(Bounds()); 95 FillRect(Bounds(), B_SOLID_LOW); 98 BRect bounds = Bounds(); 219 if (Bounds().Contains(point)) 306 Draw(Bounds());
|
H A D | DeskbarPulseView.cpp | 156 ResizeTo(width - 1, Bounds().Height()); 157 Draw(Bounds()); 162 Draw(Bounds());
|
H A D | PulseWindow.cpp | 38 BRect bounds = Bounds(); 56 BRect r = fNormalPulseView->Bounds(); 134 BRect r = fNormalPulseView->Bounds();
|
/haiku/src/add-ons/input_server/devices/keyboard/ |
H A D | TeamListItem.cpp | 89 iconFrame.left + fMiniIcon.Bounds().Width(), 90 iconFrame.top + fMiniIcon.Bounds().Height() + 1); 96 frame.left += fMiniIcon.Bounds().Width(); 109 owner->MovePenTo(frame.left + (fMiniIcon.Bounds().Width() / 2), 124 return fMiniIcon.Bounds().IntegerHeight() +
|
/haiku/src/apps/icon-o-matic/generic/gui/popup_control/ |
H A D | PopupControl.cpp | 87 leftLocation = ConvertToScreen(Bounds().LeftTop()); 90 float totalWidth = Bounds().Width() + fPopupWindow->Frame().Width(); 91 float totalHeight = Bounds().Height() + fPopupWindow->Frame().Height();
|
/haiku/src/apps/icon-o-matic/generic/property/view/specific_properties/ |
H A D | OptionValueView.cpp | 43 BRect b(Bounds()); 95 float centerX = floorf(Bounds().left + width / 2.0); 96 float centerY = floorf(Bounds().top + height / 2.0); 204 BRect b(Bounds()); 222 BRect b(Bounds());
|
/haiku/src/tests/servers/app/archived_view/ |
H A D | main.cpp | 46 BRect r = Bounds(); 99 BRect r(Bounds()); 165 view = new TestView(window->Bounds(), "test", B_FOLLOW_ALL, B_WILL_DRAW);
|
/haiku/src/tools/translation/inspector/ |
H A D | ImageView.cpp | 103 fpbitmap->Bounds().Width() + BORDER_WIDTH + PEN_SIZE, 104 fpbitmap->Bounds().Height() + BORDER_HEIGHT + PEN_SIZE)); 114 Draw(Bounds()); 151 DragMessage(&msg, Bounds()); 220 BRect rctview = Bounds(), rctbitmap(0, 0, 0, 0); 222 rctbitmap = fpbitmap->Bounds(); 406 sprintf(str2, "%ld", fpbitmap->Bounds().IntegerWidth() + 1); 409 sprintf(str2, "%ld", fpbitmap->Bounds().IntegerHeight() + 1); 601 width = fpbitmap->Bounds().Width() + B_V_SCROLL_BAR_WIDTH + (BORDER_WIDTH * 2); 602 height = fpbitmap->Bounds() [all...] |
/haiku/src/servers/app/ |
H A D | Canvas.cpp | 250 BRect destination = layerBitmap->Bounds(); 267 GetDrawingEngine()->DrawBitmap(layerBitmap, layerBitmap->Bounds(), 314 OffscreenCanvas::Bounds() const function in class:OffscreenCanvas
|