/haiku/src/tests/kits/interface/picture/ |
H A D | PictureTest.cpp | 177 BRect rect(pictureWindow->Bounds()); 178 rect.right -= (rect.Width() + 1) / 2; 179 OriginalView *testView = new OriginalView(rect); 181 rect.OffsetBy(rect.Width() + 1, 0); 182 PictureView *pictureView = new PictureView(rect);
|
/haiku/src/servers/app/ |
H A D | View.cpp | 373 BRect rect(fFrame.left, fFrame.top, fFrame.right, fFrame.bottom); 376 Parent()->ConvertToScreen(&rect); 377 if (!rect.Contains(where)) 380 engine->StrokeRect(rect, (rgb_color){level * 30, level * 30, level * 30}); 396 rect.InsetBy(1, 1); 398 engine->StrokeRect(rect, color); 399 rect.InsetBy(1, 1); 400 engine->StrokeRect(rect, color); 871 // move src rect to destination here for efficiency reasons 878 // copy children in the source rect an 1079 BRect rect = fBitmapDestination; local [all...] |
/haiku/src/tests/servers/app/unit_tests/ |
H A D | SimpleTransformTest.cpp | 45 BRect rect(5.0, 10.0, 15.0, 20.0); 48 specimen.Apply(&rect); 49 CPPUNIT_ASSERT(rect == BRect(15.0, 20.0, 25.0, 30.0)); 52 specimen.Apply(&rect); 53 CPPUNIT_ASSERT(rect == BRect(47.5, 60.0, 72.5, 85.0)); 60 IntRect rect(5, 10, 15, 20); 63 specimen.Apply(&rect); 64 CPPUNIT_ASSERT(rect == IntRect(15, 20, 25, 30)); 67 specimen.Apply(&rect); 68 CPPUNIT_ASSERT(rect [all...] |
/haiku/src/kits/interface/ |
H A D | ScrollView.cpp | 243 BRect rect(Bounds()); 254 be_control_look->DrawScrollViewFrame(this, rect, updateRect, 321 BRect rect = bounds; local 322 rect.left += fPreviousWidth - border; 323 rect.right--; 324 Invalidate(rect); 327 BRect rect = bounds; local 328 rect.left = rect.right - border; 329 Invalidate(rect); 336 BRect rect = bounds; local 342 BRect rect = bounds; local 871 BRect rect = targetFrame; local 890 BRect rect = targetFrame; local [all...] |
/haiku/src/add-ons/decorators/BeDecorator/ |
H A D | BeDecorator.cpp | 137 BeDecorAddOn::_AllocateDecorator(DesktopSettings& settings, BRect rect, argument 140 return new (std::nothrow)BeDecorator(settings, rect, desktop); 149 BeDecorator::BeDecorator(DesktopSettings& settings, BRect rect, argument 152 SATDecorator(settings, rect, desktop), 157 rect.left, rect.top, rect.right, rect.bottom)); 716 \param rect The area of the button to update. 719 BeDecorator::_DrawClose(Decorator::Tab* _tab, bool direct, BRect rect) argument 748 _DrawZoom(Decorator::Tab* _tab, bool direct, BRect rect) argument 770 _DrawMinimize(Decorator::Tab* tab, bool direct, BRect rect) argument 801 _DrawBevelRect(DrawingEngine* engine, const BRect rect, bool down, rgb_color light, rgb_color shadow) argument 842 _DrawBlendedRect(DrawingEngine* engine, const BRect rect, bool down, rgb_color colorA, rgb_color colorB, rgb_color colorC, rgb_color colorD) argument 867 _DrawButtonBitmap(ServerBitmap* bitmap, bool direct, BRect rect) argument [all...] |
/haiku/src/preferences/keymap/ |
H A D | KeyboardLayoutView.cpp | 462 BRect rect = frame; local 463 rect.right--; 464 rect.bottom--; 465 BBitmap* bitmap = new BBitmap(rect, B_RGBA32, true); 468 BView* view = new BView(rect, "drag", B_FOLLOW_NONE, 0); 696 KeyboardLayoutView::_DrawKeyButton(BView* view, BRect& rect, BRect updateRect, argument 701 be_control_look->DrawButtonFrame(view, rect, updateRect, 4.0f, base, 703 be_control_look->DrawButtonBackground(view, rect, updateRect, 4.0f, 710 BRect rect, bool pressed) 741 _DrawKeyButton(view, rect, updateRec 709 _DrawKey(BView* view, BRect updateRect, const Key* key, BRect rect, bool pressed) argument 827 _DrawIndicator(BView* view, BRect updateRect, const Indicator* indicator, BRect rect, bool lit) argument 988 _GetAbbreviatedKeyLabelIfNeeded(BView* view, BRect rect, const Key* key, char* text, size_t textSize) argument 1222 BRect rect; local [all...] |
/haiku/src/apps/showimage/ |
H A D | ShowImageView.cpp | 486 ShowImageView::ConstrainToImage(BRect& rect) const 488 rect = rect & fBitmap->Bounds(); 580 BRect rect(fBitmap->Bounds()); 583 float bitmapWidth = rect.Width() + 1; 584 float bitmapHeight = rect.Height() + 1; 591 return rect; 594 rect.right = floorf(bitmapWidth * fZoom) - 1; 595 rect.bottom = floorf(bitmapHeight * fZoom) - 1; 598 bitmapWidth = rect 628 _LayoutCaption(BFont& font, BPoint& pos, BRect& rect) argument 654 BRect rect; local 680 BRect rect; local 693 _DrawImage(BRect rect) argument 716 BRect rect = _AlignBitmap(); local [all...] |
/haiku/src/apps/bootmanager/ |
H A D | FileSelectionPage.cpp | 95 BRect rect(Bounds()); 97 fDescription = CreateDescription(rect, "description", description); 105 fSelect = new BButton(rect, "select", 111 float selectLeft = rect.right - fSelect->Bounds().Width(); 112 rect.right = selectLeft - kSpacing; 113 fFile = new BTextControl(rect, "file",
|
/haiku/src/apps/pulse/ |
H A D | PrefsWindow.cpp | 48 BRect rect = fTabView->ContainerView()->Bounds(); local 49 rect.InsetBy(5, 5); 51 ConfigView *normalView = new ConfigView(rect, B_TRANSLATE("Normal mode"), 55 ConfigView *miniView = new ConfigView(rect, B_TRANSLATE("Mini mode"), 59 ConfigView *deskbarView = new ConfigView(rect, B_TRANSLATE("Deskbar mode"), 74 BButton *okButton = new BButton(rect, "ok", B_TRANSLATE("OK"),
|
H A D | PulseView.h | 21 PulseView(BRect rect, const char *name);
|
/haiku/src/tests/add-ons/print/ppd/test/ |
H A D | PPDConfigApplication.cpp | 15 BRect rect = BRect(0, 0, aRect.Width(), aRect.Height()); local 16 fMenuBar = new BMenuBar(rect, "menu_bar"); 28 float right = rect.right - 3;
|
/haiku/src/tests/servers/app/async_drawing/ |
H A D | main.cpp | 30 message.AddRect("rect", region.RectAt(i)); 93 BRect rect; local 95 message->FindRect("rect", i, &rect) == B_OK; i++) 96 region.Include(rect);
|
/haiku/src/tests/servers/app/cursor_test/ |
H A D | CursorTest.cpp | 23 View(BRect rect); 47 View::View(BRect rect) argument 48 : BView(rect, "desktop view", B_FOLLOW_ALL, B_WILL_DRAW)
|
/haiku/src/apps/serialconnect/libvterm/include/ |
H A D | vterm.h | 33 /* true if the rect contains the point */ 40 /* move a rect */ 41 static inline void vterm_rect_move(VTermRect *rect, int row_delta, int col_delta) argument 43 rect->start_row += row_delta; rect->end_row += row_delta; 44 rect->start_col += col_delta; rect->end_col += col_delta; 184 int (*scrollrect)(VTermRect rect, int downward, int rightward, void *user); 186 int (*erase)(VTermRect rect, int selective, void *user); 233 int (*damage)(VTermRect rect, voi [all...] |
/haiku/src/tests/kits/interface/ |
H A D | StatusBarTest.cpp | 38 BRect rect(20, 10, 400, 30); 39 fStatusBar = new BStatusBar(rect, NULL, "label", "trailing label"); 44 fStatusBar->ResizeTo(rect.Width(), height);
|
/haiku/headers/os/interface/ |
H A D | PrintJob.h | 48 virtual void DrawView(BView* view, BRect rect, 77 BPicture* picture, BRect rect); 87 void _AddPicture(BPicture& picture, BRect& rect,
|
/haiku/src/add-ons/network_settings/dialup/ |
H A D | InterfaceUtils.cpp | 21 center_on_screen(BRect rect, BWindow *window) argument 24 BPoint point((screenFrame.Width() - rect.Width()) / 2.0, 25 (screenFrame.Height() - rect.Height()) / 2.0);
|
/haiku/src/tests/servers/app/tiled_bitmap_test/ |
H A D | TiledBitmapTest.cpp | 24 View(BRect rect); 31 View::View(BRect rect) argument 32 : BView(rect, "tiledBitmaps", B_FOLLOW_ALL, B_WILL_DRAW)
|
/haiku/src/add-ons/media/media-add-ons/usb_webcam/ |
H A D | CamColorSpaceTransform.h | 22 virtual status_t SetVideoFrame(BRect rect);
|
/haiku/src/apps/musiccollection/ |
H A D | MusicCollectionWindow.h | 22 MusicCollectionWindow(BRect rect,
|
/haiku/src/apps/soundrecorder/ |
H A D | UpDownButton.h | 18 UpDownButton(BRect rect, BMessage *msg, uint32 resizeFlags = 0);
|
/haiku/src/servers/app/drawing/ |
H A D | UpdateQueue.h | 26 void AddRect(const BRect& rect);
|
/haiku/src/tests/add-ons/print/ppd/ui/ |
H A D | PrinterSelection.h | 41 PrinterSelectionView(BRect rect, const char *name, uint32 resizeMask, uint32 flags);
|
/haiku/src/tests/servers/app/newerClipping/ |
H A D | ViewLayer.h | 58 void ConvertToParent(BRect* rect) const; 62 void ConvertFromParent(BRect* rect) const; 66 void ConvertToTop(BRect* rect) const; 70 void ConvertFromTop(BRect* rect) const;
|
/haiku/src/tests/kits/device/stickit_BJoystick/ |
H A D | StickItWindow.h | 19 StickItWindow(BRect rect);
|