Searched refs:bounds (Results 1 - 25 of 293) sorted by last modified time

1234567891011>>

/haiku/src/servers/app/
H A DServerApp.cpp736 // 1) BRect bounds
3427 BRect bounds; local
3428 link.Read<BRect>(&bounds);
3436 drawCursor, bounds) == B_OK;
H A DBitmapManager.cpp78 \param bounds Size of the bitmap
87 HWInterface& hwInterface, BRect bounds, color_space space, uint32 flags,
97 if (!hwInterface.CheckOverlayRestrictions(bounds.IntegerWidth() + 1,
98 bounds.IntegerHeight() + 1, space))
108 ServerBitmap* bitmap = new(std::nothrow) ServerBitmap(bounds, space, flags,
195 BRect bounds, color_space space, uint32 flags, int32 bytesPerRow)
200 BReference<ServerBitmap> bitmap(new(std::nothrow) ServerBitmap(bounds, space, flags,
86 CreateBitmap(ClientMemoryAllocator* allocator, HWInterface& hwInterface, BRect bounds, color_space space, uint32 flags, int32 bytesPerRow, int32 screen, uint8* _allocationFlags) argument
194 CloneFromClient(area_id clientArea, int32 areaOffset, BRect bounds, color_space space, uint32 flags, int32 bytesPerRow) argument
/haiku/src/apps/stylededit/
H A DStatusView.cpp125 BRect bounds(Bounds());
127 bounds, updateRect, ViewColor());
130 BRect bounds(Bounds());
132 StrokeLine(bounds.LeftTop(), bounds.RightTop());
134 float x = bounds.left;
137 StrokeLine(BPoint(x, bounds.top + 3), BPoint(x, bounds.bottom - 3));
146 x = bounds.left;
147 float y = (bounds
[all...]
/haiku/src/apps/mediaplayer/
H A DController.cpp1284 Controller::NotifyVideoBoundsChanged(BRect bounds) const
/haiku/src/apps/installer/
H A DInstallerWindow.cpp111 BRect bounds(Bounds());
113 FillRect(bounds, B_SOLID_LOW);
119 placement.x = (bounds.left + bounds.right - fLogo->Bounds().Width()) / 2;
120 placement.y = (bounds.top + bounds.bottom - fLogo->Bounds().Height()) / 2;
/haiku/src/apps/drivesetup/
H A DDiskView.cpp522 BRect bounds(Bounds());
527 FillRect(bounds, kStripes);
539 BRect messageBounds(bounds);
540 messageBounds.InsetBy((bounds.Width() - width - fh.ascent * 2) / 2.0,
541 (bounds.Height() - (fh.ascent + fh.descent) * 2) / 2.0);
/haiku/src/apps/aboutsystem/
H A DAboutSystem.cpp480 BRect bounds(Bounds());
482 FillRect(bounds, B_SOLID_LOW);
484 DrawBitmap(fLogo, BPoint((bounds.Width() - fLogo->Bounds().Width()) / 2, 0));
/haiku/src/apps/showimage/
H A DShowImageWindow.cpp1154 BRect bounds = fImageView->Bitmap()->Bounds(); local
1155 fNumberFormat.Format(width, bounds.IntegerWidth() + 1);
1156 fNumberFormat.Format(height, bounds.IntegerHeight() + 1);
1546 BRect bounds(bitmap->Bounds());
1547 printJob.DrawView(fImageView, bounds, BPoint(0, 0));
1633 BRect bounds = fImageView->Bitmap()->Bounds();
1634 int32 width = bounds.IntegerWidth() + 1;
1635 int32 height = bounds.IntegerHeight() + 1;
H A DShowImageStatusView.cpp86 BRect bounds(Bounds());
88 bounds, updateRect, ViewColor());
91 BRect bounds(Bounds());
95 StrokeLine(bounds.LeftTop(), bounds.RightTop());
97 float x = bounds.left;
100 StrokeLine(BPoint(x, bounds.top + 3), BPoint(x, bounds.bottom - 3));
109 x = bounds.left;
110 float y = (bounds
[all...]
/haiku/src/apps/terminal/
H A DTermViewStates.cpp610 BRect bounds(fView->Bounds());
611 if (where.y > bounds.bottom) {
613 fView->fAutoScrollSpeed = where.y - bounds.bottom;
614 where.x = bounds.right;
615 where.y = bounds.bottom;
/haiku/src/servers/app/font/
H A DFontCacheEntry.cpp98 uint32 dataSize, glyph_data_type dataType, const agg::rect_i& bounds,
107 bounds, advanceX, advanceY, preciseAdvanceX, preciseAdvanceY,
114 // TODO: The HashTable grows without bounds. We should cleanup
97 CacheGlyph(uint32 glyphIndex, uint32 dataSize, glyph_data_type dataType, const agg::rect_i& bounds, float advanceX, float advanceY, float preciseAdvanceX, float preciseAdvanceY, float insetLeft, float insetRight) argument
/haiku/src/kits/tracker/
H A DTextWidget.cpp255 StartEdit(fParams.bounds, fParams.poseView, fParams.pose);
273 BTextWidget::MouseUp(BRect bounds, BPoseView* view, BPose* pose, BPoint) argument
298 fParams.bounds = bounds;
437 BTextWidget::StartEdit(BRect bounds, BPoseView* view, BPose* pose) argument
447 BRect rect(bounds);
H A DUtilities.cpp429 OffscreenBitmap::NewBitmap(BRect bounds) argument
432 fBitmap = new(std::nothrow) BBitmap(bounds, B_RGB32, true);
665 FlickerFreeStringView::FlickerFreeStringView(BRect bounds, const char* name, argument
668 BStringView(bounds, name, text, resizingMode, flags),
677 FlickerFreeStringView::FlickerFreeStringView(BRect bounds, const char* name, argument
680 BStringView(bounds, name, text, resizingMode, flags),
698 BRect bounds(Bounds());
702 BView* offscreen = fBitmap->BeginUsing(bounds);
719 offscreen->DrawBitmap(fOriginalBitmap, Frame(), bounds);
721 offscreen->FillRect(bounds, B_SOLID_LO
[all...]
H A DPoseView.h194 // make sure pose fits the screen and/or window bounds if needed
239 // the bottom right of bounds
645 void FinishPendingScroll(float&listViewScrollBy, BRect bounds);
H A DPoseView.cpp1683 BRect bounds(Bounds());
1686 if (bounds.top > lastItemTop)
1687 BView::ScrollTo(bounds.left, std::max(lastItemTop, 0.0f));
1818 // Simple optimization: if the new pose bounds is completely below
1819 // the current view bounds, we do not need to draw.
1860 // if new pose above current view bounds, cache up
1912 // were we passed the bounds of the view?
2124 BRect bounds(Bounds());
2128 srcRect = srcRect & bounds;
2132 if (srcRect.Intersects(bounds) || destRec
3482 BRect bounds = Bounds(); local
5728 BRect bounds = Bounds(); local
5920 BRect bounds = Bounds(); local
10444 BRect bounds = Bounds(); local
[all...]
H A DUtilities.h194 OffscreenBitmap(BRect bounds);
198 BView* BeginUsing(BRect bounds);
222 FlickerFreeStringView(BRect bounds, const char* name,
225 FlickerFreeStringView(BRect bounds, const char* name,
331 virtual void Draw(BRect bounds);
H A DTitleView.cpp218 BRect bounds(Bounds());
223 BRect frame(bounds);
228 view->SetOrigin(-bounds.left, 0);
238 view->StrokeLine(bounds.LeftBottom(), bounds.RightBottom());
239 bounds.bottom--;
242 be_control_look->DrawButtonBackground(view, bounds, bounds, baseColor, 0,
246 float minx = bounds.right;
247 float maxx = bounds
[all...]
/haiku/src/apps/webpositive/
H A DURLInputGroup.cpp521 BRect bounds(Bounds());
524 floorf((bounds.left + bounds.right
526 floorf((bounds.top + bounds.bottom
704 BRect bounds(Bounds());
709 be_control_look->DrawTextControlBorder(this, bounds, updateRect, base,
/haiku/src/apps/deskcalc/
H A DCalcView.cpp614 BRect bounds(Bounds());
615 bounds.left = bounds.right - fCalcIcon->Bounds().Width();
616 if (bounds.Contains(point)) {
/haiku/src/apps/deskbar/
H A DSwitcher.cpp74 void Draw(BView* view, BRect bounds, bool main);
205 TBox(BRect bounds, TSwitchManager* manager,
369 TTeamGroup::Draw(BView* view, BRect bounds, bool main) argument
372 largeRect.OffsetTo(bounds.LeftTop());
373 int32 offset = (bounds.IntegerWidth()
1230 TBox::TBox(BRect bounds, TSwitchManager* manager, TSwitcherWindow* window, argument
1233 BBox(bounds, "top", B_FOLLOW_ALL, B_WILL_DRAW, B_NO_BORDER),
1268 BRect bounds = Bounds(); local
1286 BRect rhit(frame.right, frame.top, bounds.right, frame.bottom);
1337 BRect bounds local
1909 BRect bounds = Bounds(); local
2247 BRect bounds = Bounds(); local
[all...]
/haiku/src/kits/interface/
H A DMenu.cpp1571 BRect bounds; local
1573 && archive->FindRect("_i_frames", i, &bounds) == B_OK)
1574 AddItem(item, bounds);
2091 // pointer goes out of the submenu's bounds, or because
2554 // In that case, just give up on getting the supermenu bounds
2789 BRect bounds = Bounds(); local
2790 BRect frame = bounds.OffsetToCopy(where);
2989 // bounds, bail out immediately
H A DScrollView.cpp200 BRect bounds = ConvertToScreen(Bounds()); local
203 if (bounds.right - _BorderSize() != windowBounds.right
204 || bounds.bottom - _BorderSize() != windowBounds.bottom) {
272 const BRect bounds = Bounds(); local
278 float delta = size.Width() - bounds.Width(),
279 proportion = bounds.Width() / size.Width();
285 bounds.Width());
289 float delta = size.Height() - bounds.Height(),
290 proportion = bounds.Height() / size.Height();
296 bounds
569 BRect bounds = Bounds(); local
[all...]
/haiku/src/bin/desklink/
H A DDeskButton.cpp65 BRect bounds; local
66 message->FindRect("bounds", &bounds);
68 fSegments = new BBitmap(bounds, B_RGBA32);
103 data->AddRect("bounds", fSegments->Bounds());
/haiku/src/apps/networkstatus/
H A DWirelessNetworkMenuItem.cpp92 BRect bounds = Frame(); local
93 bounds.left = bounds.right - 4 - bounds.Height();
94 bounds.right -= 4;
95 bounds.bottom -= 2;
97 RadioView::Draw(Menu(), bounds, fNetwork.signal_strength, local
/haiku/src/apps/powerstatus/
H A DExtendedInfoWindow.cpp267 BRect bounds(Bounds());
276 return BRect(offset + index * width, bounds.bottom - height,
277 offset + index * width + width, bounds.bottom);
282 return BRect(bounds.right - height, offset + index * width,
283 bounds.right, offset + index * width + width);

Completed in 156 milliseconds

1234567891011>>