Searched refs:Bounds (Results 51 - 75 of 643) sorted by relevance

1234567891011>>

/haiku/src/apps/cortex/ParameterView/
H A DParameterContainerView.cpp61 m_boundsRect(Bounds()),
67 m_target->Bounds(), 0, B_FOLLOW_ALL_SIDES, B_WILL_DRAW|B_FRAME_EVENTS);
142 m_boundsRect = Bounds();
155 float height = Bounds().Height() - B_H_SCROLL_BAR_HEIGHT;
171 float width = Bounds().Width() - B_V_SCROLL_BAR_WIDTH;
/haiku/src/kits/tracker/
H A DDraggableContainerIcon.cpp125 + fontHeight.leading + 2 + Bounds().Height() + 8);
127 BRect rect(0, 0, std::max(Bounds().Width(),
132 BView* view = new BView(dragBitmap->Bounds(), "", B_FOLLOW_NONE, 0);
135 BRect clipRect(view->Bounds());
142 view->FillRect(view->Bounds());
152 float hIconOffset = (rect.Width() - Bounds().Width()) / 2;
165 - Bounds().Width()) / 2;
166 view->MovePenTo(BPoint(hIconOffset - leftText + 2, Bounds().Height()
203 BRect rect(Bounds());
213 float iconOffsetX = (Bounds()
[all...]
H A DThumbnails.cpp66 if ((icon->Bounds().Width() / icon->Bounds().Height()) == aspectRatio)
67 return icon->Bounds();
71 thumbBounds = BRect(0, 0, icon->Bounds().IntegerWidth() - 1,
72 floorf((icon->Bounds().IntegerHeight() - 1) / aspectRatio));
73 thumbBounds.OffsetBySelf(0, floorf((icon->Bounds().IntegerHeight()
77 thumbBounds = BRect(0, 0, floorf((icon->Bounds().IntegerWidth() - 1)
78 * aspectRatio), icon->Bounds().IntegerHeight() - 1);
79 thumbBounds.OffsetBySelf(floorf((icon->Bounds().IntegerWidth()
83 thumbBounds = icon->Bounds();
[all...]
/haiku/src/tests/servers/app/following/
H A Dmain.cpp60 BRect r(Bounds());
63 StrokeLine(r.RightTop(), BPoint(r.right, Bounds().bottom));
64 StrokeLine(r.LeftBottom(), BPoint(Bounds().right, r.bottom));
71 BRect r(Bounds());
130 BView* view = new TestView(window->Bounds(), "test 1", B_FOLLOW_ALL,
135 BRect bounds = view->Bounds();
141 bounds = view1->Bounds();
/haiku/src/tests/kits/interface/balert/alert_manual_test/
H A DAlertTestWindow.cpp44 fTitleView = new BStringView(BRect(10, 10, Bounds().Width() - 10, 30),
115 pAlert->Bounds().Width(), pAlert->Bounds().Height());
126 strLabel.String(), pTextView->Bounds().Width(),
127 pTextView->Bounds().Height(), pt.x, pt.y);
141 strLabel.String(), pb->Bounds().Width(),
142 pb->Bounds().Height(), pt.x, pt.y,
/haiku/src/add-ons/tracker/zipomatic/
H A DZipOMaticActivity.cpp46 FrameResized(Bounds().Width(), Bounds().Height());
116 BRect viewRect = Bounds();
117 BRect bitmapRect = fBitmap->Bounds();
134 BRect bounds = fBitmap->Bounds();
181 BRect rect = Bounds();
183 fBitmapView = new BView(Bounds(), "buffer", B_FOLLOW_NONE, 0);
/haiku/src/apps/resedit/
H A DResFields.cpp49 BRect drawrect(fBitmap->Bounds().OffsetToCopy(rect.LeftTop()));
53 (fBitmap->Bounds().Width() *
54 (rect.Height() / fBitmap->Bounds().Height()));
58 parent->DrawBitmap(fBitmap, fBitmap->Bounds(), drawrect);
63 fBitmap->Bounds().IntegerWidth(), fBitmap->Bounds().IntegerHeight(),
64 (int32(fBitmap->BytesPerRow() / fBitmap->Bounds().Width()) * 8));
/haiku/src/tests/servers/app/playground/
H A DObjectView.cpp122 BRect r(Bounds());
333 BView* helper = new BView(dragBitmap->Bounds(),
339 BRect r(helper->Bounds());
363 BRect before = fState->Bounds();
367 BRect after = fState->Bounds();
396 Invalidate(fState->Bounds());
403 Invalidate(fState->Bounds());
441 Invalidate(state->Bounds());
484 Invalidate(fState->Bounds());
498 Invalidate(fState->Bounds());
[all...]
/haiku/src/apps/login/
H A DLoginView.cpp54 r.Set(CSEP, CSEP, LW, Bounds().Height() - 3 * CSEP - BH);
62 r.Set(LW + 30, Bounds().top + CSEP,
63 Bounds().right - CSEP, Bounds().top + CSEP + CSEP);
81 float buttonWidth = BW; //(Bounds().Width() - 4 * CSEP) / 3;
82 BRect buttonRect(0, Bounds().bottom - BH,
83 buttonWidth, Bounds().bottom);
101 buttonRect.OffsetToSelf(Bounds().Width() - CSEP - buttonWidth,
102 Bounds().Height() - CSEP - BH);
137 BRect bounds = Window()->Bounds();
[all...]
/haiku/src/apps/soundrecorder/
H A DVolumeSlider.cpp33 fRight = Bounds().right - 15;
106 if (!fSoundPlayer || !Bounds().InsetBySelf(2, 2).Contains(point))
116 if (!fSoundPlayer || !Bounds().InsetBySelf(2, 2).Contains(point))
130 if (fSoundPlayer && Bounds().InsetBySelf(2, 2).Contains(point)) {
136 Draw(Bounds());
147 Draw(Bounds());
/haiku/src/apps/switcher/
H A DPanelWindow.cpp109 + (screenFrame.Height() - Bounds().Height()) / 2.f;
115 + (screenFrame.Width() - Bounds().Width()) / 2.f;
122 from.x = screenFrame.left - Bounds().Width();
127 to.x = screenFrame.right - Bounds().Width();
130 from.y = screenFrame.top - Bounds().Height();
135 to.y = screenFrame.bottom - Bounds().Height();
/haiku/src/apps/expander/
H A DPasswordAlert.cpp57 TAlertView* masterView = new TAlertView(Bounds());
63 Bounds().right - 5, Bounds().bottom);
76 point.x = screenFrame.Width() / 2 - Bounds().Width() / 2;
77 point.y = screenFrame.Height() / 2 - Bounds().Height() / 2;
208 BRect stripeRect = Bounds();
/haiku/src/apps/showimage/
H A DShowImageStatusView.cpp72 if (Bounds().Width() > width)
73 width = Bounds().Width();
86 BRect bounds(Bounds());
91 BRect bounds(Bounds());
133 BPoint point = Bounds().LeftBottom();
136 BRect clickToOpenRect(Bounds());
/haiku/src/tests/kits/interface/
H A DClippingPlusRedraw.cpp71 FillRect(Bounds(), B_SOLID_HIGH);
95 FillRect(Bounds(), B_SOLID_HIGH);
101 FillRect(Bounds(), B_SOLID_HIGH);
/haiku/src/tests/servers/app/async_drawing/
H A Dmain.cpp41 FillRect(Bounds());
46 FillRect(Bounds());
64 fView = new View(window->Bounds(), 255, 80, 155, 128);
/haiku/src/tests/servers/app/newClipping/
H A DWinBorder.cpp63 set_decorator_region(Bounds());
67 BRect screenFrame(Bounds());
72 BRegion screenReg(GetRootLayer()->Bounds());
/haiku/src/servers/input/
H A DBottomlineWindow.cpp24 BRect textRect = Bounds();
27 fTextView = new BTextView(Bounds(), "", textRect, be_plain_font,
36 pt.y = screenFrame.Height()*2/3 - Bounds().Height()/2;
/haiku/src/apps/bootmanager/
H A DWizardPageView.cpp105 view->SetTextRect(view->Bounds());
108 float width = view->Bounds().Width();
111 view->SetTextRect(view->Bounds());
/haiku/src/tests/servers/app/hide_and_show/
H A DHideAndShow.cpp38 BRect rect(Bounds());
43 BTextView* view = new BTextView(Bounds(), "", rect, B_FOLLOW_ALL,
86 BRect rect = Bounds();
/haiku/src/add-ons/screen_savers/debugnow/
H A DDebugNow.cpp61 float viewWidth = view->Bounds().Width();
62 float viewHeight = view->Bounds().Height();
98 view->FillRect(view->Bounds());
/haiku/src/kits/interface/
H A DMenuWindow.cpp115 float middle = Bounds().right / 2;
125 FillRect(Bounds(), B_SOLID_LOW);
148 BRect frame = Bounds();
159 float middle = Bounds().right / 2;
186 ResizeTo(Window()->Bounds().Width(), Window()->Bounds().Height());
207 BRect rect(Bounds());
224 (Bounds().Width() - fMenu->StringWidth(kEmptyMenuLabel)) / 2,
301 BRect frame = Bounds();
302 float newLimit = fMenu->Bounds()
[all...]
/haiku/src/servers/app/drawing/
H A DBitmapDrawingEngine.cpp45 && fBitmap->Bounds().IntegerWidth() >= newWidth
46 && fBitmap->Bounds().IntegerHeight() >= newHeight) {
75 fClipping.Set(fBitmap->Bounds());
/haiku/src/apps/icon-o-matic/transformable/
H A DTransformGradientBox.cpp65 BRect r = Bounds();
69 BRect dirty(r | Bounds());
103 fView->Invalidate(Bounds());
/haiku/src/apps/haiku3d/
H A DMainWindow.cpp22 fRenderView = new RenderView(Bounds());
/haiku/src/apps/icon-o-matic/generic/gui/scrollview/
H A DScrollableView.cpp32 BRect bounds(view->Bounds());

Completed in 108 milliseconds

1234567891011>>