/haiku/src/preferences/appearance/ |
H A D | ColorWhichListView.cpp | 66 BRect rect(0.0f, 0.0f, roundf(itemHeight * M_PHI) - 1, itemHeight - 1); 68 BBitmap* bitmap = new BBitmap(rect, B_RGB32, true); 70 BView* view = new BView(rect, "", B_FOLLOW_NONE, B_WILL_DRAW); 76 ++rect.top; 77 ++rect.left; 80 view->FillRect(rect); 81 rect.OffsetBy(-1.0f, -1.0f); 86 view->StrokeRect(rect); 88 ++rect.left; 89 ++rect [all...] |
H A D | ColorPreview.cpp | 154 BRect rect = Bounds().InsetByCopy(2.0f, 2.0f); local 155 rect.top = roundf(rect.bottom / 2.0f + 1); 157 if (rect.Contains(where)) { 241 BRect rect(0.0f, 0.0f, 20.0f, 20.0f); 243 BBitmap* bitmap = new BBitmap(rect, B_RGB32, true); 245 BView* view = new BView(rect, "", B_FOLLOW_NONE, B_WILL_DRAW); 251 ++rect.top; 252 ++rect.left; 255 view->FillRect(rect); [all...] |
/haiku/src/apps/terminal/ |
H A D | ColorListView.cpp | 66 BRect rect(0.0f, 0.0f, roundf(itemHeight * M_PHI) - 1, itemHeight - 1); 68 BBitmap* bitmap = new BBitmap(rect, B_RGB32, true); 70 BView* view = new BView(rect, "", B_FOLLOW_NONE, B_WILL_DRAW); 76 ++rect.top; 77 ++rect.left; 80 view->FillRect(rect); 81 rect.OffsetBy(-1.0f, -1.0f); 86 view->StrokeRect(rect); 88 ++rect.left; 89 ++rect [all...] |
H A D | ColorPreview.cpp | 154 BRect rect = Bounds().InsetByCopy(2.0f, 2.0f); local 155 rect.top = roundf(rect.bottom / 2.0f + 1); 157 if (rect.Contains(where)) { 241 BRect rect(0.0f, 0.0f, 20.0f, 20.0f); 243 BBitmap* bitmap = new BBitmap(rect, B_RGB32, true); 245 BView* view = new BView(rect, "", B_FOLLOW_NONE, B_WILL_DRAW); 251 ++rect.top; 252 ++rect.left; 255 view->FillRect(rect); [all...] |
/haiku/src/add-ons/decorators/FlatDecorator/ |
H A D | FlatDecorator.h | 32 BRect rect, Desktop* desktop); 48 virtual void _DrawFrame(BRect rect); 53 BRect rect); 55 BRect rect); 57 BRect rect); 61 bool direct, BRect rect); 63 const BRect rect, bool down,
|
/haiku/src/kits/interface/ |
H A D | AbstractSpinner.cpp | 189 SpinnerTextView(BRect rect, BRect textRect); 342 BRect rect(Bounds()); 343 if (!rect.IsValid() || !rect.Intersects(updateRect)) 384 be_control_look->DrawButtonFrame(this, rect, updateRect, 386 be_control_look->DrawButtonBackground(this, rect, updateRect, 396 rect.InsetBy(0.0f, 1.0f); 397 be_control_look->DrawArrowShape(this, rect, updateRect, bgColor, 408 rect.InsetBy(0.0f, 1.0f); 409 be_control_look->DrawArrowShape(this, rect, updateRec 526 SpinnerTextView(BRect rect, BRect textRect) argument 1023 BRect rect = bounds; local 1029 BRect rect = bounds; local 1038 BRect rect = bounds; local 1048 BRect rect = bounds; local 1467 BRect rect = fTextView->Frame(); local 1534 BRect rect; local [all...] |
H A D | Point.cpp | 25 BPoint::ConstrainTo(BRect rect) argument 27 x = std::max(std::min(x, rect.right), rect.left); 28 y = std::max(std::min(y, rect.bottom), rect.top);
|
/haiku/src/add-ons/control_look/BeControlLook/ |
H A D | BeControlLook.h | 33 virtual void DrawButtonFrame(BView* view, BRect& rect, 39 virtual void DrawButtonFrame(BView* view, BRect& rect, 45 virtual void DrawButtonFrame(BView* view, BRect& rect, 53 virtual void DrawButtonBackground(BView* view, BRect& rect, 59 virtual void DrawButtonBackground(BView* view, BRect& rect, 64 virtual void DrawButtonBackground(BView* view, BRect& rect, 71 virtual void DrawCheckBox(BView* view, BRect& rect, 76 virtual void DrawRadioButton(BView* view, BRect& rect, 82 BRect rect, const BRect& updateRect, 86 BRect rect, cons [all...] |
/haiku/src/tests/servers/app/look_and_feel/ |
H A D | LookAndFeel.cpp | 57 BRect rect(Bounds()); 58 BView *view = new BView(rect, NULL, B_FOLLOW_ALL, B_WILL_DRAW); 84 rect.InsetBy(10, 10); 85 BMenuField* menuField = new BMenuField(rect, "look", "Look:", menu); 113 rect.OffsetBy(0, menuField->Bounds().Height() + 10); 114 menuField = new BMenuField(rect, "feel", "Feel:", menu); 142 rect.OffsetBy(0, menuField->Bounds().Height() + 10); 143 fFlagsField = new BMenuField(rect, "flags", "Flags:", menu); 150 rect.OffsetBy(0, menuField->Bounds().Height() + 10); 151 BButton* button = new BButton(rect, "norma [all...] |
/haiku/src/preferences/screen/ |
H A D | RefreshSlider.cpp | 58 BRect rect(ThumbFrame()); 61 rect.InsetBy(2.0, 2.0); 62 rect.right--; 63 rect.bottom--; 66 view->StrokeRect(rect);
|
/haiku/src/tests/kits/app/bmessage/ |
H A D | MessageBRectItemTest.h | 68 std::ostream& operator<<(std::ostream& os, const BRect& rect) argument 72 os << "rect" 73 << "(l:" << rect.left 74 << " t:" << rect.top 75 << " r:" << rect.right 76 << " b:" << rect.bottom
|
/haiku/src/tests/kits/interface/ |
H A D | PulseTest.cpp | 18 PulseView(BRect rect, const char *name, uint32 resizeMode, uint32 flags) argument 19 : BView(rect, name, resizeMode, flags) 32 BRect rect = fRight; local 35 rect = fLeft; 37 FillRect(rect, B_SOLID_HIGH);
|
/haiku/src/apps/processcontroller/ |
H A D | MemoryBarMenuItem.cpp | 79 BRect rect = bar_rect(frame, &font); local 93 menu->StrokeRect(rect); 96 rect.InsetBy(1, 1); 97 BRect r = rect; 98 double grenze1 = rect.left + (rect.right - rect.left) * float(fWriteMemory) 100 double grenze2 = rect.left + (rect.right - rect [all...] |
/haiku/src/add-ons/decorators/WinDecorator/ |
H A D | WinDecorator.cpp | 46 WinDecorAddOn::_AllocateDecorator(DesktopSettings& settings, BRect rect, argument 49 return new (std::nothrow)WinDecorator(settings, rect, desktop); 272 WinDecorator::_DrawFrame(BRect rect) argument 324 \param rect The area of the \a tab to update. 327 WinDecorator::_DrawTab(Decorator::Tab* tab, BRect rect) argument 332 if (!tabRect.IsValid() || !rect.Intersects(tabRect) 337 fDrawingEngine->FillRect(tabRect & rect, fTabColor); 343 _DrawButtons(tab, rect); 355 \param rect area of the title to update. 358 WinDecorator::_DrawTitle(Decorator::Tab* tab, BRect rect) argument 421 _DrawMinimize(Decorator::Tab* tab, bool direct, BRect rect) argument 447 _DrawZoom(Decorator::Tab* tab, bool direct, BRect rect) argument 479 _DrawClose(Decorator::Tab* tab, bool direct, BRect rect) argument 512 BRect rect = TabRect(tab); local [all...] |
/haiku/src/apps/tv/ |
H A D | MainApp.cpp | 73 BRect rect(200, 200, 750, 300); 74 rect.OffsetBy(i * 25, i * 25); 76 BWindow *win = new MainWin(rect);
|
/haiku/src/apps/resedit/ |
H A D | ResFields.cpp | 45 BitmapPreviewField::DrawField(BRect rect, BView *parent) argument 49 BRect drawrect(fBitmap->Bounds().OffsetToCopy(rect.LeftTop())); 50 if (drawrect.Height() > rect.Height()) { 51 drawrect = rect; 54 (rect.Height() / fBitmap->Bounds().Height())); 66 BRect stringrect = rect; 98 IntegerPreviewField::DrawField(BRect rect, BView *parent) argument 100 BPoint point(rect.LeftBottom()); 105 parent->TruncateString(&string, B_TRUNCATE_MIDDLE, rect.Width() - 14); 149 StringPreviewField::DrawField(BRect rect, BVie argument [all...] |
H A D | ResWindow.cpp | 17 ResWindow::ResWindow(const BRect &rect, const entry_ref *ref) argument 18 : BWindow(rect, "", B_DOCUMENT_WINDOW, B_ASYNCHRONOUS_CONTROLS)
|
/haiku/headers/os/interface/ |
H A D | ControlLook.h | 109 virtual void DrawButtonFrame(BView* view, BRect& rect, 115 virtual void DrawButtonFrame(BView* view, BRect& rect, 122 virtual void DrawButtonFrame(BView* view, BRect& rect, 133 virtual void DrawButtonBackground(BView* view, BRect& rect, 139 virtual void DrawButtonBackground(BView* view, BRect& rect, 146 virtual void DrawButtonBackground(BView* view, BRect& rect, 157 virtual void DrawMenuBarBackground(BView* view, BRect& rect, 163 virtual void DrawMenuFieldFrame(BView* view, BRect& rect, 169 virtual void DrawMenuFieldFrame(BView* view, BRect& rect, 176 virtual void DrawMenuFieldFrame(BView* view, BRect& rect, [all...] |
H A D | Region.h | 17 /* Integer rect used to define a clipping rectangle. All bounds are inclusive. */ 31 BRegion(const BRect rect); 37 void Set(BRect rect); 51 bool Intersects(BRect rect) const; 67 void Include(BRect rect); 71 void Exclude(BRect rect); 93 clipping_rect _Convert(const BRect& rect) const; 94 clipping_rect _ConvertToInternal(const BRect& rect) const; 96 const clipping_rect& rect) const;
|
/haiku/src/apps/debuganalyzer/gui/table/ |
H A D | TableColumn.cpp | 36 TableColumn::DrawTitle(BRect rect, BView* targetView) argument 42 TableColumn::DrawValue(const BVariant& value, BRect rect, BView* targetView) argument
|
/haiku/src/apps/pulse/ |
H A D | ProgressBar.h | 18 BRect rect; member in struct:__anon1 27 virtual void Draw(BRect rect);
|
H A D | NormalPulseView.h | 21 NormalPulseView(BRect rect); 24 virtual void Draw(BRect rect);
|
H A D | ConfigView.cpp | 56 ConfigView::ConfigView(BRect rect, const char *name, uint32 mode, BMessenger& target, argument 58 : BBox(rect, name, B_FOLLOW_NONE, B_WILL_DRAW), 78 rect = fColorControl->Frame(); 79 rect.top = rect.bottom + 10.0f; 80 rect.bottom = rect.top + 15.0f; 85 fFadeCheckBox = new BCheckBox(rect, "FadeColors", 95 fActiveButton = new BRadioButton(rect, "ActiveColor", 101 rect [all...] |
/haiku/src/apps/sudoku/ |
H A D | ProgressWindow.cpp | 34 BRect rect = Bounds(); local 36 BView *view = new BView(rect, NULL, B_FOLLOW_ALL, B_WILL_DRAW); 40 rect = view->Bounds().InsetByCopy(8, 8); 41 fStatusBar = new BStatusBar(rect, "status", NULL, NULL); 44 fStatusBar->ResizeTo(rect.Width(), height); 49 rect.top += height + 8; 50 BButton* button = new BButton(rect, "abort", B_TRANSLATE("Abort"), 53 button->MoveBy((rect.Width() - button->Bounds().Width()) / 2, 0);
|
/haiku/src/servers/app/decorator/ |
H A D | DefaultDecorator.cpp | 74 DefaultDecorator::DefaultDecorator(DesktopSettings& settings, BRect rect, argument 77 TabDecorator(settings, rect, desktop) 84 rect.left, rect.top, rect.right, rect.bottom)); 195 DefaultDecorator::_DrawFrame(BRect rect) argument 197 STRACE(("_DrawFrame(%f,%f,%f,%f)\n", rect.left, rect.top, 198 rect 439 _DrawResizeKnob(BRect rect, bool full, const ComponentColors& colors) argument 573 _DrawTitle(Decorator::Tab* _tab, BRect rect) argument 627 _DrawClose(Decorator::Tab* _tab, bool direct, BRect rect) argument 656 _DrawZoom(Decorator::Tab* _tab, bool direct, BRect rect) argument 678 _DrawMinimize(Decorator::Tab* tab, bool direct, BRect rect) argument 688 _DrawButtonBitmap(ServerBitmap* bitmap, bool direct, BRect rect) argument 711 _DrawBlendedRect(DrawingEngine* engine, const BRect rect, bool down, const ComponentColors& colors) argument [all...] |